NodeManger with motion sensor
-
Hi @user2684 I try to used Nodemanage with a motion sensor. But I only see the on event and not the off event. What do I have to do to see both the events.
Thanks
Francois
-
Hi, SensorMotion set the interrupt to RISING this is why you see an event only. If you want to see both you need to call setInterruptMode(CHANGE) on your instance of SensorMotion somewhere in before() to customize the behavior.
-
HI @user2684 thanks for that is is working now
3 out of 3
Suggested Topics
-
Sensors db
My Project • 16 Apr 2014, 07:06 • Dvbit 16 Apr 2014, 17:37 -
Nodemanager: How to control a local output from a local input?
NodeManager • 30 Jan 2022, 21:01 • A3V 5 Feb 2022, 16:24 -
DS18B20 ESP32 nodemanager problem
NodeManager • 13 Sept 2022, 10:59 • A3V 15 Sept 2022, 22:11 -
Help needed with connecting MySensors node to Home Assistant
NodeManager • 2 Apr 2023, 10:43 • vivek101 2 Apr 2023, 21:21 -
SI7021 with Nodemanager
NodeManager • 30 Dec 2020, 14:15 • xlibor 1 Jan 2021, 20:20 -
Motion sensor node to always report not tripped state to reset controller value
NodeManager • 2 Feb 2022, 19:46 • nero01 2 Feb 2022, 19:46