This post is deleted!
@Bugsounet this looks pretty cool! My next project to work on is setting up motion detection using PIR. This looks like it is on the right track as to what I’m looking for. I don’t know anything about PIR yet and interfacing with pi so I need to get caught up with functionality first. What I do know is that I will be adding multiple PIR sensors (one on each side and a front facing one).
Is it possible you could adapt this to allow multiple sensorPins that you monitor for?
If not, whenever I get to buying the PIR’s and working with them I may just submit a merge request with that functionality change at that time if you’re open to contributions.
Thanks for this module, it works great!
Is there a way to make the countdown show only minute:second?
I tried shortening counter.textContent inside MMM-NewPIR.js but that didn’t help. Any other way to make it show only 00:00 format? Maybe some config or css trick?