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
1 out of 3
Suggested Topics
-
Sensors db
My Project • 16 Apr 2014, 07:06 • Dvbit 16 Apr 2014, 17:37 -
DS18B20 ESP32 nodemanager problem
NodeManager • 13 Sept 2022, 10:59 • A3V 15 Sept 2022, 22:11 -
Nodemanager: How to control a local output from a local input?
NodeManager • 30 Jan 2022, 21:01 • A3V 5 Feb 2022, 16:24 -
Compilation error
NodeManager • 19 Sept 2020, 15:41 • htaxil 18 Oct 2020, 09:37 -
Help needed with connecting MySensors node to Home Assistant
NodeManager • 16 May 2024, 09:59 • HJ_SK 19 May 2024, 15:01 -
Battery Level
NodeManager • 7 Aug 2022, 21:11 • bbastos 7 Aug 2022, 21:11