diff --git a/ESPGeiger/src/Mqtt/MQTT_Client.cpp b/ESPGeiger/src/Mqtt/MQTT_Client.cpp index d6a48c4..d8e8268 100644 --- a/ESPGeiger/src/Mqtt/MQTT_Client.cpp +++ b/ESPGeiger/src/Mqtt/MQTT_Client.cpp @@ -168,6 +168,11 @@ void MQTT_Client::loop(unsigned long now) status.last_send = millis(); } + + if (status.warmup) { + return; + } + if (gcounter.is_warning() != warnSent) { warnSent = gcounter.is_warning(); int is_warning = 0;