Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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
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