From 5f81b8f9446055b95feae90b427cff775d57b1b4 Mon Sep 17 00:00:00 2001 From: Matthias Prinke <83612361+matthias-bs@users.noreply.github.com> Date: Sun, 9 Jul 2023 09:01:49 +0200 Subject: [PATCH] Added startup flag in 5-in-1 --- examples/BresserWeatherSensorMQTTCustom/src/WeatherSensor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/BresserWeatherSensorMQTTCustom/src/WeatherSensor.cpp b/examples/BresserWeatherSensorMQTTCustom/src/WeatherSensor.cpp index ff4b4d99..0d5c4577 100644 --- a/examples/BresserWeatherSensorMQTTCustom/src/WeatherSensor.cpp +++ b/examples/BresserWeatherSensorMQTTCustom/src/WeatherSensor.cpp @@ -518,6 +518,7 @@ DecodeStatus WeatherSensor::decodeBresser5In1Payload(uint8_t *msg, uint8_t msgSi sensor[slot].sensor_id = id_tmp; sensor[slot].s_type = type_tmp; + sensor[slot].startup = false; // To Do int temp_raw = (msg[20] & 0x0f) + ((msg[20] & 0xf0) >> 4) * 10 + (msg[21] &0x0f) * 100; if (msg[25] & 0x0f) {