MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. sranj
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 6
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: LIRC AUTOMATION

      @sdetweil I already have the pir module all set and that works well, just want it to trigger the ir transmitter

      posted in Development
      sranjS
      sranj
    • 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)

      posted in Development automation coding gpio lirc pir python sensor
      sranjS
      sranj
    • RE: LIRC Automation using PIR Sensor?

      @sdetweil That could work, big question here though, how would I do that?

      posted in Development
      sranjS
      sranj
    • 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!

      posted in Development
      sranjS
      sranj
    • 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?

      posted in Development
      sranjS
      sranj
    • 1 / 1