the problem is "if (switch.state == 'On') then" that not works, write:
if (switch.active) then
or
if (switch.inActive) then
the problem is "if (switch.state == 'On') then" that not works, write:
if (switch.active) then
or
if (switch.inActive) then
Hello,
I have a problem with nodes that switch a relay, after switching the relay, the node is often no longer accessible and thus the relay is no longer switchable the error message is:
2019-02-10 17:01:33.737 Error: MySensors: Command not received by Node !! (node_id: 11, child_id: 4)
I have the problem with several knots independently of each other
MySensor 2.3
components:
//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
hello, I wanted to use the function for FEATURE_CONDITIONAL_REPORT for an LDR sensor but except a value when starting the arduino, no more values are transferred, must be configured for the function specifically something? Node manager 1.8dev