Read the statement by Michael Teeuw here.
PIR-Sensor - put your mirror to sleep if not used
-
@Bangee Wait! That’s just all modules logging they received the notification, thats probably the same message over and over again logged by different modules.
-
@paviro will there be any chance to log what information the sensor is returning?
I’m not sure why my screen is alway going on and off, but i’ll get nervous… -
@Bangee Sure in the
node_helper.js
find the commentDetected movement
and addconsole.log()
so that it looks like the following:gpio.wiringPiISR(this.config.sensorPIN, gpio.INT_EDGE_BOTH, function(delta) { console.log(gpio.digitalRead(self.config.sensorPIN)) .... }
-
@paviro I dug out a junk-box PIR sensor. Everything is installed and no white-screen problems, but this sensor only puts out an “on” signal for about a second after motion is detected. Any way to make the mirror stay awake for some time (say 2-5 minutes) with that timer being reset on any motion signal? Then if nobody is in front of the mirror for awhile it goes off. Currently mine flickers off and on, not the ideal behavior.
-
@jrleeman you should be able to change that by modifying the PIR-Sensor mine has the possibility to exactly adjust that :)
-
For the record: node 6.1.0 is supported.
-
@MichMich is it? Not sure I think one dependencies of THIS plugin does not support it, yet :/
-
@paviro ah sorry. Throught you were talking about mm2 in general.
-
@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 :)