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
relayPINin 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?
gpio -g write 27 0or
gpio -g write 27 1do absoloutly nothing. Wiringpi v 2.44 is installed.