i have added a new module, MMM-SleepWake, which supports external devices (like a webcam) for motion detection...
I added the approach to the code from MMM-voice and migrated those changes to your enhancement.
I made two changes really..
I added a config option for the exec dpms command, this way you can change it by config, instead of having to modify the code (mode=PI (default for MMM-voice), DPMS (your change), HIDE (for energystar monitors like my TV))
i don't want the screen hidden on MMM startup, so I made that configurable too.. (startHidden)
MMM-voice now communicates with MMM-SleepWake so we have an integrated sleep/wake via voice and motion.
Hey!
I'm not even going to look at the changes. I'll accept the PR as it is. If there are any issues regarding the changes then I'll let you know and you can take care of them, agreed?
i have added a new module, MMM-SleepWake, which supports external devices (like a webcam) for motion detection...
I added the approach to the code from MMM-voice and migrated those changes to your enhancement. I made two changes really..
I added a config option for the exec dpms command, this way you can change it by config, instead of having to modify the code (mode=PI (default for MMM-voice), DPMS (your change), HIDE (for energystar monitors like my TV))
i don't want the screen hidden on MMM startup, so I made that configurable too.. (startHidden)
MMM-voice now communicates with MMM-SleepWake so we have an integrated sleep/wake via voice and motion.