Page 2 of 15
Re: Energy Dashboard (Build in)
Posted: Tuesday 11 June 2024 9:40
by gizmocuz
New beta version (16055)
- More language translations (not all are already translated on Transifex yet except for Dutch)
- Configured Currency sign is now also being used in the web interface (Settings->Location, default set to €)
- Fixed an issue when the flow was not displayed as lines and a battery was being charged from the grid
- When the dashboard has not been configured yet, a message is displayed
- Text spacing has been adjusted for the 3 custom widgets, should now display correctly 3 lines of text when applicable
- Now possible to use a kWh sensor for the Grid Widget
Re: Energy Dashboard (Build in)
Posted: Tuesday 11 June 2024 9:42
by waltervl
gizmocuz wrote: ↑Tuesday 11 June 2024 8:23
waltervl wrote: ↑Monday 10 June 2024 9:47
psubiaco wrote: ↑Monday 10 June 2024 9:33
Also, I suggest to enable not only P1 meters. Grid power/energy can be a Electric (Instant+Counter) device.
I agree, that is also my situation (negative values are return to grid).
Not sure how this goes well.... and what you are measuring....
When you deliver power back to the grid, the kWh counter is decrementing?
And how do you get an overview of the total Usage / Delivery per day/month/year?
Would it not be much better to use a P1 sensor for this? You could program this in dzVents.
Just update Usage1/Delivery1 (T1/R1) and keep the other values zero
I will see if I can add a kWh sensor as Grid meter in the dashboard, this makes sense for users without solar panels and smart meter.
But when you do have solar panels and no smart meter, I would definitely go the P1 way
My General, Kwh meter in Domoticz It is decrementing indeed, costs are also decrementing, it is working perfectly in Domoticz (now also with the graphs). A Solar Panel installation has nothing to do with it. We do not all have Smart meters.....
Re: Energy Dashboard (Build in)
Posted: Tuesday 11 June 2024 9:43
by waltervl
gizmocuz wrote: ↑Tuesday 11 June 2024 9:40
New beta version (16055)
- More language translations (not all are already translated on Transifex yet except for Dutch)
- Configured Currency sign is now also being used in the web interface (Settings->Location, default set to €)
- Fixed an issue when the flow was not displayed as lines and a battery was being charged from the grid
- When the dashboard has not been configured yet, a message is displayed
- Text spacing has been adjusted for the 3 custom widgets, should now display correctly 3 lines of text when applicable
- Now possible to use a kWh sensor for the Grid Widget
Great!
Re: Energy Dashboard (Build in)
Posted: Tuesday 11 June 2024 9:54
by eddieb
gizmocuz wrote: ↑Tuesday 11 June 2024 9:22
@rezzalex, I was talking about the Grid widget in the Energy Dashboard not the Solar widget.
@eddieb, see a few posts up from Walter, you have to set the correct values for electricity, water and gas if you are not using enever or have a dynamic energy sensor. Next select your dynamic price sensor (or set this to internal to use the manual configured values) in the same setup screen (meters)
I missed the dynamic sensors part ... Did set them to internal now but still the amout stays on zero ...
the values below where there all the time

- Screenshot 2024-06-11 at 09.40.38.png (91.05 KiB) Viewed 1819 times
Re: Energy Dashboard (Build in)
Posted: Tuesday 11 June 2024 9:59
by waltervl
It will take some time to display this.
Re: Energy Dashboard (Build in)
Posted: Tuesday 11 June 2024 11:14
by psubiaco
Virtual P1 meter (showing import and export energy)
For those (as me) who use a general kWh meter to measure the power/energy from grid, I've just written a
LUA script that updates a virtual P1 meter (that you have to create from Domoticz -> Setup -> Hardware)
from an existing general kWh meter.
Just fetch the file
script_device_power2p1.lua from
https://github.com/CreasolTech/domoticz_lua_scripts and edit the first 4 variables in the begin of file.
For any suggestions to improve the script, feel free to write me with a personal message or a GitHub issue.
Re: Energy Dashboard (Build in)
Posted: Tuesday 11 June 2024 11:32
by waltervl
psubiaco wrote: ↑Tuesday 11 June 2024 11:14
Virtual P1 meter (showing import and export energy)
For those (as me) who use a general kWh meter to measure the power/energy from grid, I've just written a
LUA script that updates a virtual P1 meter (that you have to create from Domoticz -> Setup -> Hardware)
from an existing general kWh meter.
Just fetch the file
script_device_power2p1.lua from
https://github.com/CreasolTech/domoticz_lua_scripts and edit the first 4 variables in the begin of file.
For any suggestions to improve the script, feel free to write me with a personal message or a GitHub issue.
Not needed anymore because the energy dashboard can now handle a general kWh device....
Re: Energy Dashboard (Build in)
Posted: Tuesday 11 June 2024 11:48
by psubiaco
waltervl wrote: ↑Tuesday 11 June 2024 11:32
Not needed anymore because the energy dashboard can now handle a general kWh device....
Script is needed if you want to see imported and exported energy separately. This is good for those who have solar panels or other generator.
In any case, for those who don't have photovoltaic, it's very good that Energy Dashboard now manages general kWh meter!!!!
EDIT: also, the
script is able to sum the power from 2 or more generators (e.g. photovoltaic on the roof, photovoltaic in the garden, wind turbine, cogenerator, ...)
into a single virtual meter, that can be used in the Energy Dashboard.
https://github.com/CreasolTech/domoticz_lua_scripts
Re: Energy Dashboard (Build in)
Posted: Tuesday 11 June 2024 12:35
by HansieNL
gizmocuz wrote: ↑Tuesday 11 June 2024 9:40
New beta version (16055)
On the download website the version is 2024.
3.16055 ?? Should this not be 2024.
4.16055?
Same for stable version.
Re: Energy Dashboard (Build in)
Posted: Tuesday 11 June 2024 14:18
by Kedi
Installed the last version 16055 I have 3 zigbee plug which I would like to have it the custom widgets.
All 3 zigbee plugs use the General / kWh widget in Domoticz and work ok for years.
This the graphic result, only the first (upper) displays ok. What am I doing wrong?

- 11.06.2024_14.12.03_REC.png (33.43 KiB) Viewed 1750 times
EDIT: Sorry found it in the settings, field was wrong.

Re: Energy Dashboard (Build in)
Posted: Tuesday 11 June 2024 16:14
by rezzalex
Hello. The battery usage from Enphase plugin appears inverted in the energy dashboard.
80 watts on the sensors is interpreted by the new dashboard as "the battery is charging 80 watts, except this is the opposite, it "supply" 80 watts to Home.
Where the fix should be done : On dashboard side or Enphase plugin side ?
Re: Energy Dashboard (Build in)
Posted: Tuesday 11 June 2024 17:51
by gizmocuz
@rezzalex, This might have to be done in the plugin... On a Victron system, when you set the setpoint to 1000 Watt it takes 1000 Watt from the Grid. When you set the Setpoint to -1000 Watt, it returns to the Grid.
Is this with the build in Enphase hardware?
It is also mentioned in the enphase code:
The current power charging/discharging the battery, in watts. Positive values indicate charging, negative values indicate discharging.
But I don't see the value being used.. There is a Watt sensor being made, but this holds the total charge of the battery
The value 'real_power_w' is not send to Domoticz which should contain the setpoint (current power)
Best to open an issue on github or send me a message on slack
Re: Energy Dashboard (Build in)
Posted: Tuesday 11 June 2024 19:47
by DiaDomo
waltervl wrote: ↑Tuesday 11 June 2024 9:59
It will take some time to display this.
How long? Everything is working fine, except for the prices (still 0.00 €)
Settings:
Re: Energy Dashboard (Build in)
Posted: Tuesday 11 June 2024 23:37
by waltervl
As soon as there is a notable change in usage/production.
The costs will be calculated from the time you enabled this function. So probably showing wrong total values the first day. The next day it will start showing correct values.
Re: Energy Dashboard (Build in)
Posted: Wednesday 12 June 2024 11:44
by DiaDomo
waltervl wrote: ↑Tuesday 11 June 2024 23:37
As soon as there is a notable change in usage/production.
The costs will be calculated from the time you enabled this function. So probably showing wrong total values the first day. The next day it will start showing correct values.
Thanks, it is working now!

Re: Energy Dashboard (Build in)
Posted: Wednesday 12 June 2024 14:13
by ravaoo
Wow! nice dashboard. I have also a price problem. I have dynamic electricity and the usages costs are nicely presented in the dashboard. My gas contract is a fixed price. This is entered in the meter settings. Did not work. Now i have made a generic dummy device and have put the price in de value. I selected it to be a dynamic price voor my gas. This also gives my no gas costs. I waited a day and my gas is running (bad weather and kids in the shower

)
So i think there is some bug or my settings are not right
link to image of my settings
https://1drv.ms/i/s!AqRX0CZqiFeel50DX5j ... A?e=ag58Yd
Re: Energy Dashboard (Build in)
Posted: Wednesday 12 June 2024 14:26
by ravaoo
A question: If i use dynamic usage electric prices is the return price still the fixed price? Because thats the case by me.
Re: Energy Dashboard (Build in)
Posted: Wednesday 12 June 2024 16:19
by waltervl
Check the device log page. It should also show the costs (in the monthly graph)
Re: Energy Dashboard (Build in)
Posted: Wednesday 12 June 2024 17:26
by JuanUil
nice, good work
Re: Energy Dashboard (Build in)
Posted: Thursday 13 June 2024 10:24
by hjzwiers
I like the introduction of an energy board!
I have the solaredge modbustcp installed.
Only my total solar production I have calculated from the inverter + battery:
solar = inverter + to_battery
home = solar - (export - import) - to_battery
When I fill the values in the settings sheet the battery displays well, but the and the home values which are calculated by domoticz are too low, it ignores the Solar total value that I calculate.
I check these values with the solaredge monitor (have installed batter + in and export meter)