MMM-SleepWake does all the MM stuff to turn of hdmi or monitors if you can (I have to hide modules as my TV’s wont’ turn off)
Motion is the thing that reads the webcam and signals events to MMM-SleepWake.
i didn’t want to write code to manage a few hundred different webcams… and settings and … u name it.
motion does all that…
(and if u want video snapshots or little recorded sequences… all handled, or emailed, or…)
I do not know on the camera behind the mirror… that would be something to test out the sensitivity
I started with the webcam as motion detection, cause the 1st mirror app was voice based, so needed a mic…