MMM-PIR-Sensor icon indicating copy to clipboard operation
MMM-PIR-Sensor copied to clipboard

MMM-PIR-Sensor not working with latest release - display does not turn off

Open Kugelfang666 opened this issue 5 years ago • 4 comments

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…

Kugelfang666 avatar Apr 04 '19 06:04 Kugelfang666

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.

ghost avatar Apr 14 '19 16:04 ghost

had the same problem. Finally switched to MMM-PIR instead of this module

Kugelfang666 avatar Apr 14 '19 22:04 Kugelfang666

Ok, will give it a try. Need to switch on / off the display using a relay, not sure MMM-PIR can do that

ghost avatar Apr 15 '19 05:04 ghost

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

pixxelfriend avatar Jul 24 '20 18:07 pixxelfriend