Read the statement by Michael Teeuw here.
MMM-Pir-Sensor - Display remains black
-
@Kastore I think the sensor is having trouble.
I would test it outside MagicMirror to insure it’s working correctly.
there are a few python scripts you can use.
a Google search brings up two as the first choices -
@sdetweil
Thanks for the links. I ran the 2nd script and it came back with constant “motion detected” and “motion stopped” while there was I wasnt moving.Which is a bit strange as the only thing i did was reconnect the existing cable to pin 17… (the soldering came off)
-
@Kastore at least you know its not the MagicMirror module…
-
@sdetweil
Just tried it with another pin (pin 20) and the results are completly different. So i am not sure what to make out of the infos i get from the script.Gosh this is such a bummer that the sensor for some reason decided to quit…
Guess i will have to build in a switch or something to turn on the mirror for X minutes and use the existing script for it
-
One question: du u use a pull-down or pull-up resistor?
If not this might be ur problem, the gpio will detect random activation, it really needs a pull-up or pull-down resistor to work properly.
Hope it helps a bit.