Read the statement by Michael Teeuw here.
Cron Job Question
-
@plainbroke autoreconfig?
u don’t have to build motion, they have binaries (on every platform I’ve tried so far)
my script (launched by something outside mm)
creates an empty file in a known folder for each motion eventdetected
endedmy module node_helper watches for those files to be created, and then sends notification to my module side to signal sleep or wake depending on the config.
the default folder is ‘motion’ inside the MMM-SleepWake folder
the script locates the running mm instance, and uses it’s path to locate the module folder and this it’s motion folder
the script assumes the path includes the username mm is running under and that username is used to set file permissions, so the module can remove them after processing the detection
-
If I understand you correctly the dimmer is dimming the modules, but the monitor is still giving off light. A cron job set to turn on/off the monitor at specific times is what you’re looking for.
-
@Nneuland however, in many cases u cannot turn off the actual monitor… only HDMI port… which then puts up a NO INPUT message, til it powers off (energy star compliant)
I cannot turn off any of mine, so I hide modules instead, but get a glow… (my nightlight)
-
This post is deleted! -
-
This post is deleted! -
@Nneuland
Exactly and I have dimmer max set to 1 which should in my understanding blank the screen. It used to but since my reinstall of MagicMirror and all modules it does not seem to work correctly. I am in the process of removing it and reinstalling the dimmer module, to see if that is my problem… It also starts dimming 2 hours early but changing the dim timer has no effect. The reason for removal and reinstall today… -
@plainbroke yes logitech USB webcam.
just works
I fiddled w delay, and some light flash settings but thing else…
-
@sdetweil
Ok that is what I was wondering. I am playing with it now. I WILL figure it out. I like the idea of it being blank we have enough ambient light from out side. (night time porch lights, I live out in the sticks.) for security lighting… -
@sdetweil said in Cron Job Question:
@plainbroke autoreconfig?
u don’t have to build motion, they have binaries (on every platform I’ve tried so far)
my script (launched by something outside mm)
creates an empty file in a known folder for each motion eventdetected
endedmy module node_helper watches for those files to be created, and then sends notification to my module side to signal sleep or wake depending on the config.
the default folder is ‘motion’ inside the MMM-SleepWake folder
the script locates the running mm instance, and uses it’s path to locate the module folder and this it’s motion folder
the script assumes the path includes the username mm is running under and that username is used to set file permissions, so the module can remove them after processing the detection
So if I send a empty file ended to the motion folder in MMM-SleepWake that triggers the timer in config.js to blank screen?
and then in the morning send empty file detected to the same motion folder in MMM-SleepWake it should turn the modules back on.
Have I got this correct in my head or am I still wondering at sea?