Need help with NODEMANAGER_CONDITIONAL_REPORT
NodeManager
3
Posts
2
Posters
629
Views
2
Watching
-
//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