Read the statement by Michael Teeuw here.
PIR-Sensor - put your mirror to sleep if not used
-
@paviro i’ve added the console.log as you described, but there is no log output in firebug. where can I check this log elsewhere?
-
@Bangee it is node output! You have to check the log of the backend :)
-
@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: