MMM-PIR
MMM-PIR copied to clipboard
Turn screen of using relay
Can the module be used to turn off a screen via relay, connected over another GPIO port? I added a relay, but I think the screen is only turned off killing the HDMI signal...
Yes, this is possible. You can change the ~/MagicMirror/modules/MMM-PIR/callbackScripts/default/turnOn.sh and turnOff.sh to toggle the relay as well as the HDMI output (or only one).
Take a look at this guide I am currently working on. I used this module to turn off HDMI and a relay.