Read the statement by Michael Teeuw here.
Screen turning off
-
@N6NG my MMM-SleepWake
can be triggered by pir(some other module reading pir), or camera
I use camera, didn’t have PIR when I started this journey…
-
@sdetweil Ok Sam… again thanks
Dennis -
@N6NG I have the MMM-SleepWake installed. I have the config.js installed. Now I have to tie it to the MMM-PIR-Sensor-Lite module.
I’ve got the 2lines in the config.js
But what is in place of the /external_motion start and end from the PIR module?on_event_start /home/pi/MagicMirror/modules/MMM-SleepWake/external_motion started
on_event_end /home/pi/MagicMirror/modules/MMM-SleepWake/external_motion ended -
@N6NG I also don’t understand how this would keep the Monitor from turning off after 15 minutes? I need to turn off the auto off somehow.
-
@N6NG no need for external if you use pir
mode is hide( hides all modules or shows all modules.) doesn’t turn off monitor
-
@N6NG the trick is to keep the monitor active enough to fool it into not triggering it’s eco feature.
-
@BKeyport and how would you do that?
-
@N6NG I get an error from the line that looks like this.
on_event_start /home/pi/MagicMirror/modules/MMM-SleepWake/external_motion started
which is line 47 which shows this error.
[ERROR] Line 47 column 19: Parsing error: Unexpected token /
That’s the / in front of the home/pi/MagicMirror…
Can’t see why that would be a problem. -
@N6NG you are not using a camera, so u don’t need that
the PIR module should signal user_presence, true
and then sleep wake will show the modules ,user_presence, false, plus the timeout will hide the modules
-
@sdetweil Thanks Sam… I’ll give it a try…