I have a problem that all my kWh meters are showing a negative value for the 'CounterToday'
Does anyone knows how this comes and how to solve this?
Can i delete/change something in the database so it is correct again?
Can someone also point me where this value is 'handled' in the source code please?
Thanks
[CounterToday] => -672.254 kWh
Moderators: leecollings, remb0
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: [CounterToday] => -672.254 kWh
I don't know why you see negative values but counterToday is referred to a couple of times in files in the www directory and in two source files:
Sources:
EventSystem.cpp
WebServer.cpp
www dir
www/app/DashboardController.js
www/app/UtilityController.js
www/templates/custom.example
www/views/frontpage.html
www/views/frontpage_example.html
To delete entries from the database:
see http://www.domoticz.com/forum/viewtopic ... 53#p174553
Code: Select all
sudo grep -Rl CounterToday *
EventSystem.cpp
WebServer.cpp
www dir
www/app/DashboardController.js
www/app/UtilityController.js
www/templates/custom.example
www/views/frontpage.html
www/views/frontpage_example.html
To delete entries from the database:
see http://www.domoticz.com/forum/viewtopic ... 53#p174553
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Who is online
Users browsing this forum: Google [Bot] and 1 guest