Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!
phrazelle last edited by
This is a modification of the MM-Hide-All module (https://github.com/masters1222/mm-hide-all) by masters1222. It requires the MMM-PIR-Sensor module (https://github.com/paviro/MMM-PIR-Sensor) by paviro to be installed as well, as the hiding/unhiding is triggered by the “USER_PRESENCE” notification sent.
This was created by Josh Mclaughlin to circumvent an issue with the MMM-PIR-Sensor module where a TV doesn’t have power saving settings and killing the HDMI signal from the RPi forces the TV to shut off automatically.
This essentially brings up a black box to cover the screen after a set amount of time that disappears upon a USER_PRESENCE notification from the MMM-PIR-Sensor module.
Atheose last edited by
@phrazelle As someone who is having trouble with the MMM-PIR-Sensor module, this is a lifesaver! Going to give it a try today.
Nususu last edited by
Great addition to the PIR-Sensor module. I’ve got it working on my mirror, but the only issue is that when the sensor detects movement, the screen only stays active for about a second, then goes to sleep again. Is there a line in your code that I could modify so that when movement is detected, the mirror stays on for a set duration (maybe 4 minutes)? I’ve been looking at the code but I’m new to this so I don’t really know where to start.
lolobyte last edited by lolobyte
I think this is not a software problem.
On your Sensor are two variable resistors.
One for the sensitivity and one for the delay time.
Take a screwdriver and adjust the delay time.
Nususu last edited by Nususu
@lolobyte thanks for your reply. I am actually not using a PIR sensor, but a microwave radar sensor as I wanted to put the sensor behind the glass. After looking into it, I found that I can install a resistor on the sensor to set delay to 30 seconds.
If I want more than 30 seconds, would placing a higher resistance resistor on it work?
lolobyte last edited by
Please send me all your information what you have because i want to build and test it by my mirror.
phrazelle last edited by
Agreed, I think altering the delay on the sensor would fix the issue.
That being said, the microwave radar sensor sounds awesome! I’d like to see it in action as well.
Oliver_Tooth last edited by
I’m struggling to get this working, i’m just receiving a black screen that doesn’t want to exit. I’ve tested the PIR sensor with a simple python script and it works fine, i’m just having trouble getting it to integrate with the mirror. Any advice?
magicR last edited by
I did some changes because of the fading-effect.
All Modules fades now In and Out correctly.
Here is my repo: https://github.com/s72817/MMM-PIR-Fade-HIDE