added CO2 and VOC sensor

This commit is contained in:
2021-07-26 16:37:49 +02:00
parent 618eaec73d
commit 9dfcbf0484
12 changed files with 347 additions and 53 deletions

View File

@@ -137,6 +137,11 @@ void handleMQTT(void)
if (!client.connected())
{
reconnectMqtt();
if(!client.connected())
{
Serial.print("OK");
}
Serial.println("");
}
}
client.loop(); // Process any outstanding MQTT messages