Raspberry Pi and IR


#1

Hello everyone,

I want to control my a/c using a raspberry pi and ir. Is this possible to do? If so, what would I need to put this all together?

Thank you,
Ernie.


#2

Hi, you can use an IR led. But before you must be read the ir code of your a/c command.
Post other details.


#3

Hello 0lab,

I’m not a programmer which I’m assuming makes things harder. I just want to power on/off and change the temp. How would I go about recording and reproducing the code my remote makes?


#4

You can try to setup an IR Receiver with your Pi like here (not with Cayenne: https://www.einplatinencomputer.com/raspberry-pi-infrarot-empfaenger-und-fernbedienung-einrichten/

With the receiver you can press the buttons on your remote device an see what it send. Then - back to cayenne and setup an IR LED with the code your received :slight_smile:


#5

Hello tooony,

I have been going through Cayenne but cant seem to figure out how I would reproduce the signal from. Any ideas?


#6

Hello,

i didnt had a look before on cayenne and IR LEDs. I thought they were implemented, but it seems that they are not supported yet :confused:


#7

You can open your ir remote command and use an optocoupler to close the button that you want. after you can set the Cayenne dashboard, with the buttons to close that optocoupler.
http://www.globalspec.com/learnmore/optics_optical_components/optoelectronics/optocouplers