A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
PIR with a relay module
-
So, as in this thread I am trying to use a PIR sensor that powers off my screen via a relay. I’ve had no luck so far. The module MMM-PIR-sensor works nicely as it should, as long as I don’t use
relayPIN
in the config.js. I also tried doing that via external python scripts, but somehow the relay doesn’t get triggered. Well, it clicks extactly once and that’s it.Has anyone managed to use a PIR sensor with a relay on a Raspberry Pi 3 B? If so, how did you do that?
Edit: Btw,
gpio -g write 27 0
orgpio -g write 27 1
do absoloutly nothing. Wiringpi v 2.44 is installed.