Page 15 of 16
Re: Energy Dashboard (Build in)
Posted: Sunday 30 March 2025 17:54
by gizmocuz
So you need to enable websocket support for your NGINX proxy manager (that is just a checkbox)
Re: Energy Dashboard (Build in)
Posted: Thursday 17 April 2025 12:19
by sailmich
Newest domoticz beta is running on RPi 4.
I use node red to collect data for a virtual P1 smart meter in domoticz. The values are plausible and correct in the dummy P1 device. I assume the values from my P1 meter should be equal to the values shown in the energy dashboard. For better understanding appendix screenshot.

- Bildschirmfoto vom 2025-04-17 11-29-00.png (121.17 KiB) Viewed 2347 times
PV_total is my solar device in energy dashboard. Actual usage and Actual return sending values to P1 virtuell.
The screenshot is from the same moment as you can see of the value from PV_total. Why I got in the energy dashboard 736 Watt to grid instead of 918 Watt from P1 virtuell?
Re: Energy Dashboard (Build in)
Posted: Thursday 17 April 2025 17:20
by waltervl
-918+182=-736
Re: Energy Dashboard (Build in)
Posted: Thursday 17 April 2025 18:27
by sailmich
waltervl wrote: Thursday 17 April 2025 17:20
-918+182=-736
Hello waltervl,
Thank you for your answer, I understand your calculation but I don't understand why you use it.
I don't have a real P1 smart meter, so I don't know how it's working. From domoticz json/api I understand the last two numbers for P1 are for actual usage and actual return. So I interpret that actual usage is going to my house and actual return is going to the grid. I thought the minus in front of actual return is just an indicate that is going back to grid. 1100W = 182W+918W.
When I watch direct of the counter from my supplier I see 918W not 736W.
Can you tell me what actual usage and return is standing for.
Re: Energy Dashboard (Build in)
Posted: Thursday 17 April 2025 19:35
by waltervl
If you have 3 phase grid connection you can have for example usage from grid on phase 1 and return on phase 2 or 3.
It depends on the connection of your solar production and usage devices per phase.
Your P1 viruell meter shows "182 Watt, -968 Watt" meaning that in total there is on some phases in total 182 Watt usage and on other phases in total -968 Watt return to the grid. So nett over all phases it is 182-968=-736 Watt return. And that is shown in the energy dashboard.
If you do not have a 3 phase connection then it is not possible to have return and usage on the same time and then your P1 integration is not correct.
Re: Energy Dashboard (Build in)
Posted: Thursday 17 April 2025 20:14
by sailmich
waltervl wrote: Thursday 17 April 2025 19:35
If you have 3 phase grid connection you can have for example usage from grid on phase 1 and return on phase 2 or 3.
It depends on the connection of your solar production and usage devices per phase.
Your P1 viruell meter shows "182 Watt, -968 Watt" meaning that in total there is on some phases in total 182 Watt usage and on other phases in total -968 Watt return to the grid. So nett over all phases it is 182-968=-736 Watt return. And that is shown in the energy dashboard.
If you do not have a 3 phase connection then it is not possible to have return and usage on the same time and then your P1 integration is not correct.
Thank you very much for the explanation! I have a 3 phase connection, I just took power total from it and sent it to the P1 smart meter.

- Bildschirmfoto vom 2025-04-17 20-05-57.png (8.16 KiB) Viewed 2321 times
So I will have a look on that tomorrow.
Edit:
Spent some hours without success because my devices use plus and minus. I found a lua script from @psubiaco that did it! Thank you very much.
Re: Energy Dashboard (Build in)
Posted: Wednesday 14 May 2025 12:56
by Ctenberge
Hello, I can't find a way to place a new topic and how I have managed to put this, I can't reproduce.
But there is a new problem in my energy dashboard after the new version of Domoticz (Version: 2025.1)
My house does not get any energy as long as the solarpanels produce energy.
Looking at the devices and I see that there is flowing energy (it's obvious of course). in my house
Here are 3 pictures to show
Why has it changed?
Re: Energy Dashboard (Build in)
Posted: Wednesday 14 May 2025 17:14
by waltervl
Seems the dasboard solar production gets the wrong data. Are the settings of the dashboard correct? It could also be a changing issue. What if you open Domoticz energy dashboard in a private/incognito browser session?
Re: Energy Dashboard (Build in)
Posted: Friday 19 September 2025 7:48
by eddieb
Hi,
I am trying to create a graph over the total "real" energy used in my house.
The energy dashboard allready displays this but I can not get it to work in a separate device.
So, I want to have a "device" that contains history of the "home" circle in this graph, is that possible as addition ?
OR, how is it exactly calculated, because I can not get it to work.

- Screenshot 2025-09-19 at 07.43.14.png (367.05 KiB) Viewed 413 times
Re: Energy Dashboard (Build in)
Posted: Friday 19 September 2025 8:55
by imautohuttraeger
You can get the daily total electricity consumption, which is shown in the circle withe the house, by this calculation:
purchased from grid
+ PV yield
- export to grid
I am not shure about what comes from the batterie, but actually the consumption from the battery usually also goes via the inverter, so this should be cumulative.
Re: Energy Dashboard (Build in)
Posted: Friday 19 September 2025 9:00
by eddieb
I actually want just a device graph with real time updates (every minute or every 5 min is fine)
I tried the calculations but none of them work
Code: Select all
newEnergy = P1.actualWatt - P1.usageDelivered + solarEnergy.actualWatt + battery.actualWatt
updateEnergy(usageReal, newEnergy )
newElectricity = P1.usage1 + P1.usage2 - P1.return1 - P1.return2 + solarEnergy.WhTotal + battery.return1 - battery.usage1
updateElectricity(realUsage, ( newElectricity ) , ( newEnergy ) )
these calculations only work if there is no power from or to the battery, somehow the battey counters do not show me what I need BUT in the energy dashboard it works ok
Re: Energy Dashboard (Build in)
Posted: Friday 19 September 2025 9:54
by waltervl
Here is the code were the calculation of the energydashboard is done:
https://github.com/domoticz/domoticz/bl ... er.js#L595
If you click on the parameters you see how they get calculated.
Re: Energy Dashboard (Build in)
Posted: Friday 19 September 2025 11:21
by eddieb
tnx Walter, I will look into the battery communication for a counter ...
Until now I did not find a "inc/decreasing" counter ...
Re: Energy Dashboard (Build in)
Posted: Friday 19 September 2025 11:36
by waltervl
eddieb wrote: Friday 19 September 2025 11:21
tnx Walter, I will look into the battery communication for a counter ...
Until now I did not find a "inc/decreasing" counter ...
There isnt one specific for a battery. You can use a P1 that can monitor delivery and return.
A Electricity (instant and counter) kWh device can also increase/decrease (like the old turning disc energy meter of your home)
Re: Energy Dashboard (Build in)
Posted: Sunday 05 October 2025 11:51
by gvandick
Just an idea.
I used the enegry monitor from april this year. Recently I buy a second plugin battery Homewizard. I added this as a widget to the monitor.
So I wonder if it is possible to added more batteries to the scheme with a flow.
I made a flow scheme. Most battery suppliers plugins have 4 units.

- Schermafbeelding 2025-10-05 114852.png (62.44 KiB) Viewed 360 times
Re: Energy Dashboard (Build in)
Posted: Tuesday 14 October 2025 12:10
by MYXOMOP
How can I invert the colors? A white background looks very ugly in dark themes.
Re: Energy Dashboard (Build in)
Posted: Tuesday 14 October 2025 13:56
by waltervl
Colors are hardcoded in domoticz/www/views/energy_dashboard.html
https://github.com/domoticz/domoticz/bl ... d.html#L79
You can modify the colors on your system, be aware after a domoticz update the colors are reset to default.
Re: Energy Dashboard (Build in)
Posted: Tuesday 21 October 2025 10:22
by MYXOMOP
A completely unattractive image with an unnecessary menu and a complete lack of style.
Re: Energy Dashboard (Build in)
Posted: Tuesday 21 October 2025 11:02
by jvdz
MYXOMOP wrote: Tuesday 21 October 2025 10:22
A completely unattractive image with an unnecessary menu and a complete lack of style.
Sounds like you have some frustration and assume you will "fix" this with a nice PR that will show a shiny new page?
Re: Energy Dashboard (Build in)
Posted: Tuesday 21 October 2025 13:07
by MYXOMOP
jvdz wrote: Tuesday 21 October 2025 11:02
Sounds like you have some frustration and assume you will "fix" this with a nice PR that will show a shiny new page?
I found the source of the design and the white background. These are children's coloring pages.
