mykle1 / Hello-Lucy

Hide/Show pages, all or individual modules. Improved and more user friendly
MIT License
44 stars 11 forks source link

add support for different sleep modes and communcation with MMM-SleepWake #6

Closed sdetweil closed 6 years ago

sdetweil commented 6 years ago

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

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

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

mykle1 commented 6 years ago

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?

sdetweil commented 6 years ago

Ok