A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • 0 Votes
    7 Posts
    2k Views
    H
    @hesspoint Update: There is actually a custom HA integration that is awesome: https://github.com/sindrebroch/ha-magicmirror So I switched form the REST API to that integration and it is even better
  • LIRC AUTOMATION

    Development automation coding gpio lirc pir python sensor
    4
    0 Votes
    4 Posts
    792 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
OSZAR »