Page 5 of 6
Re: Energy Dashboard - Template
Posted: Thursday 06 June 2024 9:15
by gizmocuz
New version (1.6)
- fixed issue when using a battery that was powering the house (did not add to home usage)
- Removed all blocking remote queries
- Real-time updates (Requires Domoticz version 16032 or higher)
- Added costs to grid widget (needs dynamic energy prices configured in Domoticz meter settings)
This version is now using web sockets and does update in real-time.
It's no longer needed to call up to 6 blocking http queries each 5 seconds
For the initial call an update to Domoticz was required.
Re: Energy Dashboard - Template
Posted: Thursday 06 June 2024 12:47
by gizmocuz
New version (1.7)
- Added 3 extra widgets
It 'might' be possible to have a fixed few (max 5) icons to choose from for them.

- EnergyDashboardBatt.png (171.83 KiB) Viewed 1968 times
Re: Energy Dashboard - Template
Posted: Thursday 06 June 2024 17:31
by HvdW
Great @gizmocuz!
Could you consider adding a heat pump as well?
Air/air or hybrid.
I'm using a S0 pulse meter for metering car charger and heatpump.
How meneer Klaas his idea has grown.
Re: Energy Dashboard - Template
Posted: Friday 07 June 2024 5:55
by gizmocuz
@HvdW, not sure what you mean ... I added a heater icon... you want a different icon?
If you mean integrate them, you can already do that by using one of the three extra widgets
You should also have no issues adding your S0 pulse meter in one of the three widgets
(You can put almost anything in there)
Re: Energy Dashboard - Template
Posted: Friday 07 June 2024 8:12
by gizmocuz
v1.8 2024-06-07
- Option to choose 5 different icons for the 3 extra widgets
- Using styles for icon/text colors
- Optimized SVG/Code
Re: Energy Dashboard - Template
Posted: Friday 07 June 2024 8:23
by eddieb
Great work !
are there plans to get this code in github ?
If the config part was in a separate file upgrading would be a lot easier
Re: Energy Dashboard - Template
Posted: Friday 07 June 2024 8:31
by eddieb
btw, no walking line between solar and home on 1.8 ...
Re: Energy Dashboard - Template
Posted: Friday 07 June 2024 9:14
by Kedi
Works good now. 1 minor issue, the text does not completely fit. (Text from Buienradar.)

- 07.06.2024_08.00.34_REC.png (12.27 KiB) Viewed 1862 times

- 07.06.2024_08.01.54_REC.png (2.49 KiB) Viewed 1862 times
I am using Enever hardware, and I wonder which widget should be used for dynamic prices, because my Euro' are still on 0 (zero).
Re: Energy Dashboard - Template
Posted: Friday 07 June 2024 13:30
by Kedi
B.t.w. Where do you get the right size icons from, because I would like to replace 'other' with an 'airco' icon.
Re: Energy Dashboard - Template
Posted: Friday 07 June 2024 16:36
by gizmocuz
@kedi, that is a very long text line.. there is a mask so it does not overwrite the widgets.
(See the SVG inside the template)
You cannot replace icons! There are 5 icons you can pick from.
This template is the base for when I am building it natively into Domoticz.
One user wants a garden hose, the other wants a bbq icon... not going to happen...
These extra icons are for heavy users, car, heatpump, and 'other'.
Re: Energy Dashboard - Template
Posted: Friday 07 June 2024 16:43
by gizmocuz
@eddieb, Sorry about that, new version here that solves it
v1.9 2024-06-07
- Fixed Solar to Home
Re: Energy Dashboard - Template
Posted: Friday 07 June 2024 16:48
by gizmocuz
eddieb wrote: ↑Friday 07 June 2024 8:23
Great work !
are there plans to get this code in github ?
If the config part was in a separate file upgrading would be a lot easier
Yes, eventually it will be build directly into Domoticz where you can configure it from the Settings.
(Maybe Sunday...)
For now, best to copy/paste your config in a file that you can replace back when an new version uploaded here
Re: Energy Dashboard - Template
Posted: Friday 07 June 2024 16:50
by eddieb
tnx, the floating line works again
somewhere between 1.5 and 1.7 the idTextObj stopped working ...
on 1.5 it displayed the status of my solar and from 1.7 on it is not visible
never mind, on 1.9 that works again too
Re: Energy Dashboard - Template
Posted: Friday 07 June 2024 16:58
by heggink
gizmocuz wrote: ↑Friday 07 June 2024 16:36
@kedi, that is a very long text line.. there is a mask so it does not overwrite the widgets.
(See the SVG inside the template)
You cannot replace icons! There are 5 icons you can pick from.
This template is the base for when I am building it natively into Domoticz.
One user wants a garden hose, the other wants a bbq icon... not going to happen...
These extra icons are for heavy users, car, heatpump, and 'other'.
Heavy users ey? So you will have to add a jacuzzi, sauna, personal gym, illegal weed plantation...

Re: Energy Dashboard - Template
Posted: Friday 07 June 2024 17:05
by gizmocuz

Well for the Jacuzzi, Sauna and Pool I added the 'Wave' icon (which is 'water'), so that's covered!
For the weed plantation.... Maybe I need to add a garden hose after all
I could add one or two icons, but I wish to keep the template small. The icon should be black and consist of a single path object
This can be checked here:
https://www.svgviewer.dev/
And preferable small and good looking
Re: Energy Dashboard - Template
Posted: Saturday 08 June 2024 12:46
by gizmocuz
History:
v1.10 2024-06-08
- It is now also possible to use a kWh sensor for idBattSetpoint
- Added prices for Water/Gas and custom widgets
- Decreased font size of custom widgets a little bit
Re: Energy Dashboard - Template
Posted: Saturday 08 June 2024 15:12
by Kedi
Tnx, after the last commit the prices for Elec and Gas are working with Enever.

Re: Energy Dashboard - Template
Posted: Saturday 08 June 2024 20:03
by MeneerKlaas
I was on holidays for a couple of weeks and what a nice surprise. Gizmocuz went berserk with my code. I really like this great progress!
Re: Energy Dashboard - Template
Posted: Saturday 08 June 2024 22:45
by Kedi
Negative value from my Solar panels are not taken in to account.
Negative values because the converter takes 2-3 Watts when there is no sun.
Re: Energy Dashboard - Template
Posted: Sunday 09 June 2024 21:58
by McMelloW
@Gizmocuz
The latest update 16046 has the Energy Dasboard implemented. Is that correct? That is great !!!
Do I have to do anything to make it working on my Domoticz after the ./updatebeta?