Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Tags
    3. python
    Log in to post
    • sranj

      LIRC AUTOMATION
      Development • automation coding gpio lirc pir python sensor • • sranj

      4
      0
      Votes
      4
      Posts
      37
      Views

      S

      @sranj ok, so u receive the trigger in the node_helper, and need to launch/exec/spawn your python pgm

      so you need the child_process library
      https://nodejs.org/en/knowledge/child-processes/how-to-spawn-a-child-process/

      PIR uses the same library to launch the tvservice command, or vgencmd to blank the screen

    • R

      UNSOLVED Pi camera use for turning on mirror
      Troubleshooting • camera modules motion-sensor python • • reallykeene

      6
      0
      Votes
      6
      Posts
      171
      Views

      S

      @reallykeene also, if u look in /var/log/motion.log to see motion events

    • S

      Custom module_data in payload MMM remote control
      General Discussion • module python remote control • • saifkazi

      3
      0
      Votes
      3
      Posts
      1281
      Views

      J

      @ninjabreadman That is indeed not very simple. It was something I wanted to implement too, but it turned out to be a little more complicated than I initially thought, since the MagicMirror project does not directly support this. But it could be done, and if so a PR or even just an initial implementation would be awesome.

    • 1 / 1