I installed the wmbusmeters addon and want to received datas from my watermeter. The addon sends the received data to mosquitto mqtt. The values shows:
Entitäten
MainWater status burst (binary_sensor.mainwater_status_burst)
MQTT discovery data:
You might have to setup the various information in the payload as sensors manually in configuration.yaml. There seems to be several types of data in the payload. The addon may not be setup correctly or just not recognized by Homeassistant. You have an MQTT payload so you can still use it.
mqtt:
sensor:
- name: "flow temperature"
device_class: "temperature"
state_topic: "homeassistant/binary_sensor/wmbusmeters/76406477_status_burst/config"
value_template: >
{% if value_json is defined and value_json.id == 76406477 %}
{{ (value_json.flow_temperature_c)|round(1) }}
{% else %}
{{ states('sensor.flow_temperature')|round(1) }}
{% endif %}
unit_of_measurement: "°C"
I’ve added your suggestion to the cofiguration.yaml. I had no success. The sensor is shown as unavailable. The mqqt settings are described in the subfolder of the addon. Are the values correct here? here is the setting from the wmbusmeters folder: