Read the statement by Michael Teeuw here.
PIR-Sensor - put your mirror to sleep if not used
-
@paviro sorry, i’m still a node noob… how can I check this? ;-)
-
@Bangee how do you start your mirror?
-
pm2 start mm
-
@Bangee in that case read the wiki ;)
-
Funny…
pi@raspberrypi:~ $ tail -f /home/pi/.pm2/logs/mm-out-0.log GIPO Status:1 GIPO Status:0 GIPO Status:1 GIPO Status:0 GIPO Status:1 GIPO Status:0 GIPO Status:1 GIPO Status:0 GIPO Status:1 GIPO Status:0
-
@paviro The sensor I’ve got doesn’t have any adjustments on it. I suppose I can make little timed latch in hardware to add on, but it could be nice to do in software too.
-
@jrleeman feel free to send a pull request! :) the sensor I use cost 3€ do I don’t really see a reason to do it in software of the sensors are that cheap :smiley:
-
@paviro Fair enough. I’ll see which I find easier, code or hardware. :smiley:
-
@paviro
Thanks for making this module. I am experiencing the same issue as @incubik as my screen turns white when I start the MM. My PIR sensor works as I tested it on the R Pi and with some LEDs and my breadboard. I have reinstalled the MM and this module but I can’t seem to get it working. I have also no idea what causes this. Do you have any thought on this?
Thanks -
@sjuulbosmans white and black screens are mostly caused by wrong configuration. Check your web inspector!