wmbusmeters icon indicating copy to clipboard operation
wmbusmeters copied to clipboard

Qundis Q heat 5.5 R mismatch of value and unit of measurement in Home Assistant

Open hubikj opened this issue 1 year ago • 7 comments

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): image

hubikj avatar Nov 07 '23 22:11 hubikj

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.

github-actions[bot] avatar Jan 07 '24 02:01 github-actions[bot]

This issue is still present. I imagine it should be easy to fix. Let me know if I can do something to help. Thanks.

hubikj avatar Jan 07 '24 07:01 hubikj

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.

github-actions[bot] avatar Mar 09 '24 01:03 github-actions[bot]

Bump

hubikj avatar Mar 09 '24 07:03 hubikj

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.

github-actions[bot] avatar May 09 '24 02:05 github-actions[bot]

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.

weetmuts avatar May 11 '24 09:05 weetmuts

I did not change anything from the defaults. This is how I have the meter configured: image

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).

hubikj avatar May 15 '24 15:05 hubikj