Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Turn screen of using relay #9

Open
ghost opened this issue Apr 28, 2019 · 1 comment
Open

Turn screen of using relay #9

ghost opened this issue Apr 28, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 28, 2019

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

@CaptainDario
Copy link

CaptainDario commented Apr 14, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant