wmbusmeters
wmbusmeters copied to clipboard
Qundis Q heat 5.5 R mismatch of value and unit of measurement in Home Assistant
When I analyze the telegram (see link below), it shows the correct value in kWh (2651.5), which corresponds to ~9.5 GJ, which is what the physical display of the meter shows. In Home Assistant, the value of total_energy_consumption shows up with unit of measurement kWh, but the value is ~9500 which would be correct if it was MJ. Changing the unit of measurement in Home Assistant does not fix the problem, because the value is also converted to ~34000.
https://wmbusmeters.org/analyze/41449344533743674637725337436793444604620000200c0d545409004c0d36840300426cdf2ccc080d37330900c2086cff2a02fd170000326cffff046d130Be72B
I do not have the latest telegram, but here is what Home Assistant currently sees for the sensor (the captured telegram is also quite fresh):
This issue is stale because it has been open for 2 month with no activity. Remove stale label or comment or this will be closed in 1 month.
This issue is still present. I imagine it should be easy to fix. Let me know if I can do something to help. Thanks.
This issue is stale because it has been open for 2 month with no activity. Remove stale label or comment or this will be closed in 1 month.
Bump
This issue is stale because it has been open for 2 month with no activity. Remove stale label or comment or this will be closed in 1 month.
Strange, I am looking at the ./wmbusmeters-ha-addon/mqtt_discovery/qheat.json file. I am not an expert, but it looks ok.
Do you have some extra setting in the wmbusmeters.conf or HA-addon. Such a big problem should have been seen by others.
I did not change anything from the defaults. This is how I have the meter configured:
I can get another entity with the correct value by manually setting it up in my configuration.yaml
:
mqtt:
sensor:
- state_topic: "wmbusmeters/Heating"
json_attributes_topic: "wmbusmeters/Heating"
unit_of_measurement: "MJ"
state_class: total_increasing
device_class: energy
value_template: "{{ value_json.total_energy_consumption_kwh }}"
name: Heating
icon: "mdi:radiator"
unique_id: heating
This basically takes the value that is supposedly in kWh (which is wrong) and interprets it as MJ (which is what I described in the OP of this issue).