[CounterToday] => -672.254 kWh

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

[CounterToday] => -672.254 kWh

Post by ropske »

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
ropske
Posts: 483
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi / ODroid
Domoticz version: V3_8394
Location: Rumbeke,Belgium
Contact:

Re: [CounterToday] => -672.254 kWh

Post by ropske »

please?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: [CounterToday] => -672.254 kWh

Post by waaren »

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:

Code: Select all

sudo grep -Rl CounterToday *
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
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest