MMM-PIR-Sensor activates automatically without inputs after 60 seconds
Opened this issue · 0 comments
Hi there,
I have a standard PIR sensor connected to pin 27 of a Rpi3 (but the problem persists in any other pin) with a very standard config:
{
module: 'MMM-PIR-Sensor',
position: "top_center", // Remove this line to avoid having an visible indicator
config: {
sensorPin: 27,
powerSavingDelay: 60,
preventHDMITimeout: 4,
supportCEC: true,
presenceIndicator: "fa-eye",
presenceOffIndicator: "fa-eye",
presenceIndicatorColor: "#f51d16",
presenceOffIndicatorColor: "#2b271c"
}
},
If I move in front of the sensor, looks like it works fine. However, it gets activated again in loops of 60 seconds, i.e. at every second 36 (indicated on the MMM) unless I reboot the RPi, where it may change the second at which activates.
The weird thing is that if I try to monitor the input pin, by attaching a parallel led, everything works well and the MMM doesn't read false positives.
I've tried to put a pull-down resistor on the input pin, but doesn't work. The PIR is being powered at 5V, but the input pin of the RPi will read 3.3V as a result of a voltage divider that I placed (however i tried as well reading the raw 5V output from the sensor and didn't work neither)
Thanks in advance and best regards,
Note: I am using the MagicMirror v2.14.0