@sdetweil I already have the pir module all set and that works well, just want it to trigger the ir transmitter
Read the statement by Michael Teeuw here.
Latest posts made by sranj
-
RE: LIRC AUTOMATION
-
LIRC AUTOMATION
Hi! I’m relatively new to the world of python and I’ve been learning a lot. I’m coding on a raspberry pi and my goal here is to make a PIR Sensor trigger my IR transmitter to turn on a tv. Currently, if I enter the command “irsend SEND_ONCE SAMSUNG_AA59-00600A_POWER KEY_POWER” it triggers the tv to turn on or off. I know it’s a lot to ask but can anyone give me any sort of direction in coding on how to automate this command or something like that so that it is triggered by the motion sensor and then triggered again after 2 minutes?
(PIR Sensor is wired to GPIO 4 and the IR Transmitter is wired to GPIO 8 )
(I posted this recently but felt I did not word it correctly)
-
RE: LIRC Automation using PIR Sensor?
@sdetweil That could work, big question here though, how would I do that?
-
RE: LIRC Automation using PIR Sensor?
@sranj REALIZED MY QUESTION WAS NOT CLEAR I’m at a roadblock right now because I don’t know how to make this happen, if anyone knows what to do to make the PIR trigger the IR, please let me know!
-
RE: LIRC Automation using PIR Sensor?
@sdetweil Just realized I didn’t make my question clear in the post. I’m at a roadblock right now because I don’t know how to make this happen, do you happen to know a way for me to make the PIR trigger the IR?