MagicMirror² v2.4.1 is available! For more information about this release, check out this topic.
Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!

MMM-PIR debouncing implementation?

  • So I am attempting to use a mini-pir sensor with the MMM-PIR module. I am able to successfully use a full size SR-501 PIR sensor but when I try to use the mini SR-505 sensor the sensor triggers a wake cycle every 40 ish seconds regardless of motion. I’m positive this is because the operating range of the smaller sensor is a slightly higher voltage (4.5V minimum to 20V max) and is causing it to have occasional peaks when it is running at only 5V. Is there a way to implement debouncing in this module? I have zero programming experience but have looked into this issue and seen debouncing used in other applications. Any recommendations?