I have a script that stores the data from my solar panels in a Dummy Electricity (instant and counter) device.
So my energy dashboard also shows a negative value in today's data.
Anyone have any ideas to solve this?
Every day, yesterday's revenue is entered as negative in the database.Something is ruining my energy Dashboard Topic is solved
Moderators: leecollings, remb0
Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
-
- Posts: 119
- Joined: Saturday 31 August 2013 14:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Eindhoven (NL)
- Contact:
Something is ruining my energy Dashboard
- Attachments
-
- Schermafbeelding 2025-07-27 100548.png (81.67 KiB) Viewed 284 times
-
- Schermafbeelding 2025-07-27 094853.jpg (75.42 KiB) Viewed 284 times
- jvdz
- Posts: 2346
- Joined: Tuesday 30 December 2014 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.107
- Location: Netherlands
- Contact:
Re: Something is ruining my energy Dashboard
So you feed a day-counter value as the total counter, which is reset to 0 each day, as the Counter value of the Dummy Energy device?
When that is the case you need to retrieve "yesterday's" Counter from the database and add the current day counter to it and feed that as the new current counter.
When that is the case you need to retrieve "yesterday's" Counter from the database and add the current day counter to it and feed that as the new current counter.
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
Who is online
Users browsing this forum: No registered users and 1 guest