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.
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.
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?