Page 8 of 15
Re: Energy Dashboard (Build in)
Posted: Tuesday 16 July 2024 17:46
by imautohuttraeger
[/quote]
You have to enable (Dynamic) price calculation. Select a specific sensor with dynamic price information or use the fixed "internal (meter settings)"
[/quote]
I did, but the dashboard still shows Zero. I guess I am too dull witted here ...
Re: Energy Dashboard (Build in)
Posted: Tuesday 16 July 2024 17:59
by imautohuttraeger
Dummy P1 meter shows the costs correctly.
Re: Energy Dashboard (Build in)
Posted: Tuesday 16 July 2024 18:49
by imautohuttraeger
OK, now it is visible. Sorry, I should have read page 2 of this post, where @waltervl already explained to another user, that it lasts a while until something is visible (and maybe strange data on the first day)
Re: Energy Dashboard (Build in)
Posted: Wednesday 17 July 2024 21:18
by 1kke
Is this stored somewhere for the history graphics?
Re: Energy Dashboard (Build in)
Posted: Wednesday 17 July 2024 21:42
by waltervl
1kke wrote: ↑Wednesday 17 July 2024 21:18
Is this stored somewhere for the history graphics?
No, it is a calculated value.
Re: Energy Dashboard (Build in)
Posted: Wednesday 17 July 2024 23:00
by 1kke
Okay, thanks
Re: Energy Dashboard (Build in)
Posted: Thursday 18 July 2024 11:07
by Hzuu
After updating Domoticz I am not able to select 'Internal (Meter Settings)'.
I do have a P1 Smart Meter but only 'Disabled' is selectable.
Does anybody have any idea what could be wrong here?

- (Dynamic) Price Calculation.jpg (228.53 KiB) Viewed 1733 times

- P1 Meter.jpg (183.5 KiB) Viewed 1733 times

- Energie_Gas.jpg (57.18 KiB) Viewed 1713 times
Re: Energy Dashboard (Build in)
Posted: Thursday 18 July 2024 14:16
by imautohuttraeger
Just a small one: When the dashboard is open and the browser runs in the background of your device, then the time is not updated when you bring the browser tab back to the front without manually reloading the page. However, the power and energy figures are updated. Maybe a query can be integrated that compares displayed time and system time every time a power figure changes.
Re: Energy Dashboard (Build in)
Posted: Thursday 18 July 2024 16:36
by waltervl
Hzuu wrote: ↑Thursday 18 July 2024 11:07
After updating Domoticz I am not able to select 'Internal (Meter Settings)'.
I do have a P1 Smart Meter but only 'Disabled' is selectable.
Does anybody have any idea what could be wrong here?
(Dynamic) Price Calculation.jpg
P1 Meter.jpg
Energie_Gas.jpg
You dont seem to run the default template? Perhaps clear browser cache or run the Domoticz session in an private/incognito session.
Re: Energy Dashboard (Build in)
Posted: Friday 19 July 2024 11:46
by rensbr
The new energy display looks very good, but is there a reason why it does not show any values when i try to reach it trough a reverse proxy (nginx proxy server)?
The dashboard works when i reach it trough the IP adres of Domoticz.
Re: Energy Dashboard (Build in)
Posted: Sunday 21 July 2024 8:42
by Hzuu
waltervl wrote: ↑Thursday 18 July 2024 16:36
Hzuu wrote: ↑Thursday 18 July 2024 11:07
After updating Domoticz I am not able to select 'Internal (Meter Settings)'.
I do have a P1 Smart Meter but only 'Disabled' is selectable.
Does anybody have any idea what could be wrong here?
(Dynamic) Price Calculation.jpg
P1 Meter.jpg
Energie_Gas.jpg
You dont seem to run the default template? Perhaps clear browser cache or run the Domoticz session in an private/incognito session.
Done that but doesn't make any difference.
Re: Energy Dashboard (Build in)
Posted: Sunday 21 July 2024 12:24
by wizzman54
This is for me new, i'm just starting with home automatisering. Is it posible to make it for 2 grids? I have a SolarEdge and a Growatt. Can this in de same dashboard?
Re: Energy Dashboard (Build in)
Posted: Sunday 21 July 2024 18:47
by waltervl
wizzman54 wrote: ↑Sunday 21 July 2024 12:24
This is for me new, i'm just starting with home automatisering. Is it posible to make it for 2 grids? I have a SolarEdge and a Growatt. Can this in de same dashboard?
No you have to combine them in a dummy device and use that on the energy dashboard. An example script to combine 2 (or more) solar inverter can be found in this topic here
https://www.domoticz.com/forum/viewtopi ... 34#p317834
Re: Energy Dashboard (Build in)
Posted: Monday 22 July 2024 19:49
by ChriWo
Hi,
I have a P1 and I also get the values in from a IR reading head for Use and Return see picture.
What I not geht ist the calculated watt I can see this value in the device Log but I don't see this value in the Energy Dashboard
Is this normal? What am I doing wrong? Where can I find this value? Can I write a skript?
Thank for the help
Re: Energy Dashboard (Build in)
Posted: Monday 22 July 2024 20:13
by imautohuttraeger
Do you mean 2.4 Watt return that you can see in the log? The screenshot of the log seems to be 40 minutes older than the one of the dashboard ... or am I misunderstanding something here?
Re: Energy Dashboard (Build in)
Posted: Monday 22 July 2024 20:14
by waltervl
How do you get the IR reading into the P1 device? Script? Python Plugin? Is there already a device in Domoticz showing the actual watt?
Re: Energy Dashboard (Build in)
Posted: Monday 22 July 2024 21:17
by ChriWo
Hi,
I'm having a script here you see the updating of the P1 virtual:
local Bezug_W = math.floor(sValue_Bezug_W,0)
local Einspeisung_W = math.floor(sValue_Einspeisung_W,0)
dz.devices('P1 Virtual').updateP1(Bezug_W,0,Einspeisung_W,0,0,0)
I only have this to values, but the P1 is calculating the actuals see picture so how to get this values ?
In this example you have 6.600 Watt this is 6.6 KW if I'm not mistaken.
best regards
Re: Energy Dashboard (Build in)
Posted: Monday 22 July 2024 22:45
by waltervl
Dzvents:
updateP1(usage1, usage2, return1, return2, cons, prod)
where
USAGE1= integer, total cumulative energy usage meter tariff 1 in Wh.
USAGE2= integer, total cumulative energy usage meter tariff 2 in Wh.
RETURN1= integer, total cumulative energy return meter tariff 1 in Wh.
RETURN2= integer, total cumulative energy return meter tariff 2 in Wh.
CONS= actual usage power (Watt)
PROD= actual return power (Watt)
You seem to have mixed up Power (Watt) and Energy (Wh).
Re: Energy Dashboard (Build in)
Posted: Monday 22 July 2024 23:10
by ChriWo
Hi,
No I'm having no USAGE1 at the moment I get all energy out of the battery. So I only have a RETURN1 value for today of 19.220 kW (like in the picture P1 virtual) and a total of the counter 68014.160 kW. and this is ok and the P1 is using this value.
I like to know where are the values for example 6600 W are stored this values are calculated by the P1 device.
Thanks for the help
Re: Energy Dashboard (Build in)
Posted: Tuesday 23 July 2024 0:07
by waltervl
No, Power (watt) is never a calculated value in a Domoticz device. A proper P1 device (smart meter) will send this value to Domoticz.
So in the picture all the Watt values from actual devices (Solar, Battery and P1) are being read from the Domoticz devices. In the dashboard the Home Watt values and the Watt values on the connection lines are calculated.
So as your P1 Virtual Widget shows 0 Watt the dashboard will also show 0 Watt.