Read the statement by Michael Teeuw here.
New PIR sensor problem
-
I just noticed that my PIR sensor (MMM-NewPIR from bugsounet) stopped working and I got a notification that this module has reached end-of-life. I have been using this module for quite awhile now, and have been happy with the performance. It was simple and reliable. I decided to install the older EXT-Screen module from bugsounet.
Everything appears to install ok, but now I cannot get my PIR sensor to work. I normally see the countdown timer begin at 2 minutes and it will countdown. Any detected movement will reset the clock to 2 minutes again. Here is my old configuration:
// {
// module: ‘MMM-NewPIR’,
// position: ‘bottom_left’,
// configDeepMerge: true,
// config: {
// screen: {
// delay: 2 * 60 * 1000,
// mode: 4,
// text: “Auto Turn Off”,
// displayLastPresence: false
// },
// pir: {
// gpio: 21
// },
// }
// },and here is the new configuration:
{
module: ‘EXT-Screen’,
position: ‘bottom_left’,
configDeepMerge: true,
config: {
screen: {
delay: 2 * 60 * 1000,
mode: 4,
displayStyle: “Text”,
displayLastPresence: false,
gpio: 21
},
}
},The parameters are pretty much identical, so I cannot determine why the sensor is not being recognized. My PIR sensor is wired with an LED, so that whenever it senses movement, the LED will light up. That works still.
However, when I observe the countdown timer, it does not reset to the 2 minute countdown now. It just simply counts down from 2 minutes and turns off the monitor. So, it is acting as if the sensor is not even present (but I have not changed any wiring, and the LED is still working on it). I know that there may be a suggestion to move the sensor GPIO pin, but I don’t understand why that would make a difference, if it has been working properly for months on GPIO 21.
Please let me know if you have any ideas. Thanks.
-
@mz-ber
Yes, that did it! I didn’t install the EXT-Pir module. Fixed. Thanks very much! -
@freddy_boy you missed to install the second extension. I had the same problem.
-
@mz-ber
Yes, that did it! I didn’t install the EXT-Pir module. Fixed. Thanks very much! -
@Freddy_boy Would you mind sharing your config.js? I am trying to figure this out also and using a PIR for the first time. Did you have to install mmm-google assistant first?
-
@MMKF EXT-… require GA…
-
@sdetweil it can be used with or without GA