Hi,
I have hassio setup on a larger sailingboat - after updating hassio and zwaveJS mqtt a couple of days ago to latest the counter for energy consumption data over time has gone bananas
yesterday it ended at about 60 GigaWatthours instead of around the regular 40kWh and today it is currently showing 1,651,296.8 kWh
after diving in a little I’ve found the following in sqlite db:
18418 | 2022-01-21 06:00:10.603577 | 2022-01-21 05:00:00.000000 | NULL | NULL | NULL | NULL | 22950.1 | 23077.1 | 14 |
---|---|---|---|---|---|---|---|---|---|
18470 | 2022-01-21 07:00:10.572942 | 2022-01-21 06:00:00.000000 | NULL | NULL | NULL | NULL | 22951.2 | 58809870.20000001 | 14 |
as you can see the increase in state is about 1.1kWh but the sum has gone haywire
Setup:
I’m running hassio supervised on 2 separate Raspberry pi’s
one pi zero 2w running currently with with core-2021.12.10, supervisor-2021.12.2 and Z-Wave JS to MQTT version 0.34.1
and one raspberry pi 3 with a ssd-disk running the same version of hassio and supervisor that connects to port 3000 for zwaveJS on the first host , both have the same issue
the sensor was automatically detected, and is updating every 2 minutes - the only related in the configuration is for setup of a separate utility meter to count the cost :
utility_meter:
daily_energy:
source: sensor.shore_power_electric_consumption_kwh
name: Daily Energy
cycle: daily
tariffs:
- winter
- summer
monthly_energy:
source: sensor.shore_power_electric_consumption_kwh
name: Monthly Energy
cycle: monthly
tariffs:
- winter
- summer
any suggestions as where to look to find the root cause?