MagicMirror Forum

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

      Python and MagicMirro
      Troubleshooting • magicmirror python troubleshoot • • caxapok

      3
      0
      Votes
      3
      Posts
      485
      Views

      S

      @caxapok I created a module for this

      https://github.com/sdetweil/MMM-PythonPrint.git

    • sranj

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

      4
      0
      Votes
      4
      Posts
      295
      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 motion-sensor python modules • • reallykeene

      6
      0
      Votes
      6
      Posts
      640
      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 • remote control python module • • saifkazi

      3
      0
      Votes
      3
      Posts
      1476
      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