Hi guys,
since a few days, my Grunbeck water consumption is not updated in the energy dashboard. I used basically the following approach:
and it worked like a charm. Since the last HA update, the Sensor is not updated (or only once a day, maybe when something restarts) anymore. So in ioBroker the values are correct, but the MQTT addon does not get the info in HA. I doubleChecked if the retrain flag is “true” - it is. The debug log gives me two values, one retain:yes, one retain:false - that feels a bit weird. Anyone else has problems?
Sensor Configuration:
mqtt:
sensor:
- name: Grünbeck Weichwassermenge
unique_id: gruenbeck_weichwassermenge
state_topic: "gruenbeck/0/softliQ/D/BS50020745/Stream/mcountwater1"
unit_of_measurement: L
state_class: total_increasing
device_class: water
Debug-Info MQTT Addon:
"mqtt_debug_info": {
"entities": [
{
"entity_id": "sensor.grunbeck_weichwassermenge",
"subscriptions": [
{
"topic": "gruenbeck/0/softliQ/D/BS50020745/Stream/mcountwater1",
"messages": [
{
"payload": "11370",
"qos": 0,
"retain": 0,
"time": "2023-06-15T09:51:02.149635+00:00",
"topic": "gruenbeck/0/softliQ/D/BS50020745/Stream/mcountwater1"
},
{
"payload": "11370",
"qos": 0,
"retain": 1,
"time": "2023-06-15T09:51:03.901483+00:00",
"topic": "gruenbeck/0/softliQ/D/BS50020745/Stream/mcountwater1"
}
]
}
],
"discovery_data": {
"topic": "",
"payload": ""
},
"transmitted": []
},
BR and thanks
Jonas