diff --git a/things/DeviceDht.cpp b/things/DeviceDht.cpp index b2fb9c6..8fbc04a 100644 --- a/things/DeviceDht.cpp +++ b/things/DeviceDht.cpp @@ -35,7 +35,7 @@ void DeviceDht::deviceLoop() { if (!isEqual(humidity, previousHumidity)) { Serial.print("humidity: "); Serial.println(humidity); - if (!Homie.setNodeProperty(humidityNode, "value", String(humidity), true)) { + if (!Homie.setNodeProperty(humidityNode, "value", String(humidity), false)) { Serial.println("Sending failed"); } } else { @@ -45,7 +45,7 @@ void DeviceDht::deviceLoop() { if (!isEqual(temperature, previousTemperature)) { Serial.print("temperature: "); Serial.println(temperature); - if (!Homie.setNodeProperty(temperatureNode, "value", String(temperature), true)) { + if (!Homie.setNodeProperty(temperatureNode, "value", String(temperature), false)) { Serial.println("Sending failed"); } } else { @@ -55,7 +55,7 @@ void DeviceDht::deviceLoop() { if (!isEqual(heatindex, previousHeatindex)) { Serial.print("heatindex: "); Serial.println(heatindex); - if (!Homie.setNodeProperty(heatindexNode, "value", String(heatindex), true)) { + if (!Homie.setNodeProperty(heatindexNode, "value", String(heatindex), false)) { Serial.println("Sending failed"); } } else { diff --git a/things/DeviceLdr.cpp b/things/DeviceLdr.cpp index 12ebd4d..cb3848c 100644 --- a/things/DeviceLdr.cpp +++ b/things/DeviceLdr.cpp @@ -16,7 +16,7 @@ void DeviceLdr::deviceLoop() { float ldr_float = map(ldr, 0, 1023, 0, 10000) / 100.0; Serial.print("LDR: "); Serial.println(ldr_float); - if (!Homie.setNodeProperty(ldrNode, "value", String(ldr_float), true)) { + if (!Homie.setNodeProperty(ldrNode, "value", String(ldr_float), false)) { Serial.println("Sending failed"); } } else {