Hi all,
I have a modbus tcp energy meter that can measure peak and off peak kWh (always incrementing values).
I can successfully use it in HA but when I use it in the Energy Dashboard, the energy consumption is only displayed for the 1st day after setup but stops working at midnight and never work again.
My config file is the following:
modbus:
- name: Meter
type: tcp
host: 192.168.1.4
port: 502
close_comm_on_error: true
retry_on_empty: true
timeout: 5
sensors:
- name: main_peak
slave: 2
address: 18
input_type: holding
unit_of_measurement: kWh
state_class: measurement
device_class: energy
count: 2
scale: 0.001
offset: 0
precision: 1
data_type: uint32
scan_interval: 60
- name: main_off_peak
slave: 2
address: 30
input_type: holding
unit_of_measurement: kWh
state_class: measurement
device_class: energy
count: 2
scale: 0.001
offset: 0
precision: 1
data_type: uint32
scan_interval: 60
utility_meter:
daily_energy_peak:
source: sensor.main_peak
name: "Energy Peak"
cycle: daily
daily_energy_offpeak:
source: sensor.main_off_peak
name: "Energy Off Peak"
cycle: daily
First day after setup everything works perfectly:
But next days no data are presented and the graphic remains always empty.
Does somebody already faced this issue or know how to solve it?
Many thanks in advance for your help.
Blairy