Need help with NODEMANAGER_CONDITIONAL_REPORT
-
Hi all,
Is there anyone that can post an example on how to use the conditional report function in Nodemanager (1.8)?
I want to create a sht21 temperature sensor that reports only when the temperature is changed by 1.5 degrees.
Any help welcome
-
//Switch door.children.get(1)->setDescription("Heizung"); //Lichtsensor ldr.children.get(1)->setValueDelta(1.1); ldr.children.get(1)->setUpdateLastValue(UPDATE_ON_SEND); //Temp Hum dht22.children.get(1)->setValueDelta(0.2); //temp dht22.children.get(1)->setUpdateLastValue(UPDATE_ON_SEND); dht22.children.get(2)->setValueDelta(0.5); //hum dht22.children.get(2)->setUpdateLastValue(UPDATE_ON_SEND);
the lightsensor only reports when the value changed by 1.1
To recognize this, the current value compared to the last reported value = UPDATE_ON_SEND
-
Great thanks a lot!
1 out of 3
Suggested Topics
-
Sensors db
My Project • 16 Apr 2014, 07:06 • Dvbit 16 Apr 2014, 17:37 -
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 -
Compilation error
NodeManager • 19 Sept 2020, 15:41 • htaxil 18 Oct 2020, 09:37 -
Nodemanager: How to control a local output from a local input?
NodeManager • 30 Jan 2022, 21:01 • A3V 5 Feb 2022, 16:24 -
Help needed with connecting MySensors node to Home Assistant
NodeManager • 16 May 2024, 09:59 • HJ_SK 19 May 2024, 15:01