MMM-PIR icon indicating copy to clipboard operation
MMM-PIR copied to clipboard

Turn screen of using relay

Open ghost opened this issue 5 years ago • 1 comments

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...

ghost avatar Apr 28 '19 17:04 ghost

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.

CaptainDario avatar Apr 14 '20 19:04 CaptainDario