Read the statement by Michael Teeuw here.
PIR-Sensor - put your mirror to sleep if not used
-
Hello,
I’ve installed this module and sensor to my pi but I’m facing an issue.
When I start the app, its loading as expected and show everything normally.
After 5 sec. my monitor goes to sleep and says me “no signal” even if I shake may hand front of it.
Then monitor blink a few times and seems like open but nothing to show or said.
After this situation, never comes to live back and can’t close or shut down the app (can’t go back to OS screen). I have to shut the power to reset my pi.Do you have any idea why this happens?
-
Any ETA on when the update will occur for removing the wiring-pi dependency? I wouldn’t like going down to a lower version of Node.js for this to work encase I break the whole thing.
-
Sorry no :/ I just started a new job/school and I do not currently have a mirror setup :( but it should really not be that hard to do so feel free to just try! You can use onoff there is an example which would not need to be changed much to replace wiring Pi in my code :)
If you succeed please send a pull request!Edit: If I find some time this evening I will try to do it but you will have to test as again I don’t have a mirror currently.
-
Double post so you get notified: Done feel free to try :) don’t forget to reinstall the module with
npm install
! -
@paviro So it works with node 6 now?
-
@Mitchfarino if it still works at all yes :)
-
Now it should definitely work :)
-
I have the same issue. Does anybody have a solution for this problem?
-
I´m playing around with PIR and after reinstalling npm it seems to work.
the only problem is that my monitor is switching on and off every couple of seconds.
do you guys have a picture of how your sensor is setup (Poti, Trigger Jumper)?thanks a lot!
-
Hi,
i have some issue with the PIR Module. It worked for testing a couple of month but now under productive operation it doesn’t :(
The Screen is switched off and on correctly but after a unspecified time it doesn’t switch it on anymore, it stays black. Sometimes after an hour sometimes after a couple of minutes.
The PIR itself is working correctly as i discovered, i’m also getting it’s state under FHEM and there i can see the relaible functionality of it. I connected it to the GPIO 21.
As i can see on the screen it doesn’t get any video input anymore. Only rebooting the PI2 will fix it.
I’m not sure where to search :(
Some startup log entrie doesn’t show anything.
> magicmirror@2.0.0 start /home/pi/MagicMirror > electron js/electron.js Loading config ... Loading module helpers ... Initializing new module helper ... Initializing new module helper ... No helper found for module: alert. No helper found for module: clock. Initializing new module helper ... No helper found for module: compliments. No helper found for module: currentweather. No helper found for module: weatherforecast. Initializing new module helper ... All module helpers loaded. Starting server op port 8080 ... Server started ... Connecting socket for: MMM-FHEM Connecting socket for: MMM-PIR-Sensor Connecting socket for: calendar Starting node helper for: calendar Connecting socket for: newsfeed Starting module: newsfeed Sockets connected & modules started ... Launching application.