MMM-PIR-Sensor
MMM-PIR-Sensor copied to clipboard
MMM-PIR-Sensor not working with latest release - display does not turn off
Dear all,
I’ve been using MM for over 1,5 years now. Unfortunately my SD card died yesterday so I took the opportunity to start from scratch.
I installed the latest release 2.7.1 on my RBPi 3. using the “Full KMS” OpenGl driver. Unfortunately my PIR Sensor does not work anymore as my display stays on all the time. Interestingly I’m able to turn the display on an off manually via SSH using
cgencmd display_power 0
vcgencmd display_power 1
I already checked the wiring (which I actually did not change from my setup which was working for a long time) and I also checked the signal line of the PIR Sensor. Both are ok.
My configuration looks like this:
{
module: 'MMM-PIR-Sensor',
config: {
sensorPIN: 23,
powerSavingDelay: 15
}
},
It would be great if someone could help me out as I’m clearly missing something…
I'm having a similar issue. Updated the MMM-PIR-Sensor repo, magicmirror software and my raspberry pi, somehow the module now keeps my display dark once started.
Checked my HDMI signal with the tvservice command and it's showing power on it correctly. Also my PIR is receiving input when tested with a separate script.
I commented out the MMM-PIR-Sensor module for now. Once using pm2 restart mm, the screen starts correctly.
had the same problem. Finally switched to MMM-PIR instead of this module
Ok, will give it a try. Need to switch on / off the display using a relay, not sure MMM-PIR can do that
I'm having a similar issue. Updated the MMM-PIR-Sensor repo, magicmirror software and my raspberry pi, somehow the module now keeps my display dark once started.
Checked my HDMI signal with the tvservice command and it's showing power on it correctly. Also my PIR is receiving input when tested with a separate script.
I commented out the MMM-PIR-Sensor module for now. Once using pm2 restart mm, the screen starts correctly.
I had the same problem after MM update. When MM-PIR-Sensor was activated, i just saw a black screen. I solved it by, removing the node_modules
folder from the module itself and running a fresh npm install.
~/MagicMirror/modules/MMM-PIR-Sensor $ rm -R node_modules/
~/MagicMirror/modules/MMM-PIR-Sensor $ npm install