Skip to content
This repository has been archived by the owner on Mar 6, 2022. It is now read-only.

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

Open
Kugelfang666 opened this issue Apr 4, 2019 · 4 comments

Comments

@Kugelfang666
Copy link

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…

@ghost
Copy link

ghost commented Apr 14, 2019

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.

@Kugelfang666
Copy link
Author

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

@ghost
Copy link

ghost commented Apr 15, 2019

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

@pixxelfriend
Copy link

pixxelfriend commented Jul 24, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants