Skip to content

Commit

Permalink
remove unused for
Browse files Browse the repository at this point in the history
  • Loading branch information
softwarecrash committed Nov 21, 2024
1 parent 6b4b748 commit b9852db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ bool sendtoMQTT()
}
mqttclient.publish(topicBuilder(buff, "Pack_Relais"), relaisComparsionResult ? "true" : "false");
mqttclient.publish(topicBuilder(buff, "Pack_Relais_Manual"), (_settings.data.relaisFunction == 4) ? "true" : "false"); // should we keep this? you can check with iobroker etc. if you can even switch the relais using mqtt
if (tempSens.indexExist(tempSens.getSensorsCount() - 1))
/* if (tempSens.indexExist(tempSens.getSensorsCount() - 1))
{
for (size_t i = 0; i < tempSens.getSensorsCount(); i++)
{
Expand All @@ -840,7 +840,7 @@ bool sendtoMQTT()
// mqttclient.publish(topicBuilder(buff, "DS18B20_", itoa((i + 1), msgBuffer, 10)), dtostrf(tempSens.getTemperatureC(i), 4, 2, msgBuffer));
// }
}
}
} */
}
else
{
Expand Down

0 comments on commit b9852db

Please sign in to comment.