Motion sensor node to always report not tripped state to reset controller value
-
Hi,
i am running a pro mini 3.3v at 1mhz with panasonic motion sensor and rfm69 radio. I would really like to use the nodemanager but the following case is not working.I have set the mode to CHANGE to make sure that the controller is reset when the LOW interrupt is called. This is also working fine, but means that the sensor is spamming the gateway because it wakes up every time.
motion.setInterruptMode(CHANGE);Then i tried to use the wait after interrupt, which works, the sensor does not wake up the next 30 seconds. The issue is that the LOW state is never triggered, due to the wait statement.
motion.setWaitAfterInterrupt(30000);
My requirement is that the sensor should always send a motion (0) event after a motion (1) event, to make sure that the home assistant sensor is also reset to no motion.
How could i accomplish that or should i instead forget about nodemanager?
Suggested Topics
-
Sensors db
My Project • 16 Apr 2014, 07:06 • Dvbit 16 Apr 2014, 17:37 -
Nrf5x on NodeManager
NodeManager • 9 Apr 2019, 14:26 • nullos 6 Nov 2020, 09:28 -
Help needed with connecting MySensors node to Home Assistant
NodeManager • 16 May 2024, 09:59 • HJ_SK 19 May 2024, 15:01 -
SI7021 with Nodemanager
NodeManager • 30 Dec 2020, 14:15 • xlibor 1 Jan 2021, 20:20 -
DS18B20 ESP32 nodemanager problem
NodeManager • 13 Sept 2022, 10:59 • A3V 15 Sept 2022, 22:11 -
Battery Level
NodeManager • 7 Aug 2022, 21:11 • bbastos 7 Aug 2022, 21:11