Dear all,
I have a problem with mqtt items from my DSRM meter monitor program. It pushes the current power usage from my electricity meter to my mqtt broker.
I have configured these items in my config files:
- platform: mqtt
state_topic: "dsmr/reading/electricity_currently_returned"
unit_of_measurement: "KW"
name: DSMR Returned
device_class: power
- platform: mqtt
state_topic: "dsmr/reading/electricity_currently_delivered"
unit_of_measurement: "KW"
name: DSMR Delivered
device_class: power
The problem is that a value of 0 does not work? If I restart home assistant and it connects it uses values bigger than 0 immediately, but topics that have a value of 0 stay on unknow until it changes and then the sensor picks it up.
Also, if my installation is returning power to the grid (for example 1KW). And i put something on like a electric heater, the delivered value shoots up. And in MQTT returned goes immediately to 0. But the sensor does not pick the 0 up and thus stays on 1KW returning while the other sensor says 2KW delivered for instance.
Could this be a problem in my home assistant config, or the way my dsmr monitor pushed values to MQTT?
Many thanks for any hint.
Best regards,
Wouter