Energy Dashboard (Build in)

In this subforum you can show projects you have made, or you are busy with. Please create your own topic.

Moderator: leecollings

akamming
Posts: 359
Joined: Friday 17 August 2018 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by akamming »

I think there is still a bug in the cost calculation. This is my current output of the P1 Energy in the energy dashboard:
kosten.jpg
kosten.jpg (17.78 KiB) Viewed 1337 times
In my Settings "Kosten R1" is 0.3048 and "Kosten R2" is 0.3228.

So even if i calculate in the worst case (in this case R1 pricing ) the cost should be a least 1.80 (6kwh delivered to the next x 0.3048 R1 cost). The energy dashboard states 1.60. If i caluclate using kosten R2, the differnce would be even bigger...

EDIT: Did a bit more investigation: in the energy report the output is correct, it states -2.09, where the energy dashboard incorrectly still states -1.60, so i would expect these numbers be the same...
tabel.jpg
tabel.jpg (25.3 KiB) Viewed 1333 times
User avatar
gizmocuz
Posts: 2484
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Energy Dashboard (Build in)

Post by gizmocuz »

akamming wrote: Monday 17 June 2024 8:48
gizmocuz wrote: Sunday 16 June 2024 12:45 I will change it to "(Dynamic) Price calculation" ... maybe that sounds more logical
question, why is the option there? You could also assume that when "not active" is selected, automatically "internal" is assumed...
Yes, BUT... there are users that do not correct these parameters when they install Domoticz... and this will result in bad numbers.
This is more a trigger from '... make sure you got your numbers right'
Quality outlives Quantity!
User avatar
gizmocuz
Posts: 2484
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Energy Dashboard (Build in)

Post by gizmocuz »

akamming wrote: Monday 17 June 2024 14:29 I think there is still a bug in the cost calculation. This is my current output of the P1 Energy in the energy dashboard:
kosten.jpg
That depends...

- Are you using the latest Domoticz beta version from today as there have been some changes to te P1 report.
It will now use/display the internal calculated (dynamic) price instead of a simple multiply
(Also, when you have a dynamic contract, you need to use the latest beta to see the right prices in the report (90% working))

- The internal calculated price (at the moment) was calculated at the end of each hour... so this price is a bit lower than the 'real' price.
I just pushed a new beta that has a 5-minute resolution (beta 16081)

Remember that this is a "Work In Progress"... besides this dashboard, the dynamic price calculation is new as well.
Quality outlives Quantity!
akamming
Posts: 359
Joined: Friday 17 August 2018 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by akamming »

I know it’s bèta, that’s why I give the feedback so you can improve the code :D

I’ll try to upgrade somewhere this week…
User avatar
Sjonnie2017
Posts: 364
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Energy Dashboard (Build in)

Post by Sjonnie2017 »

The intergrated dashboard is working as expected. Build 16081 shows the correct cost estimates based on the values I entered in the settings. Previous versions showed the cost multiplied by thousand which was a bit confusing ;)

Kudos to @Meneer Klaas and @Gizmocus for this excellent addition to Domoticz! :mrgreen:
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
akamming
Posts: 359
Joined: Friday 17 August 2018 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by akamming »

update to 16081 and now indeed cost seems to be correct. Tx @gizmocus (and @meneerklaas)
Martini77
Posts: 23
Joined: Tuesday 28 May 2019 23:08
Target OS: Linux
Domoticz version: 2023.2
Location: NL
Contact:

Re: Energy Dashboard (Build in)

Post by Martini77 »

Nice one this Energy Dashboard!

For the 'Gas' meter, it would be nice to also 'allow' RFX meter devices with a different Type (ie. Custom) to be selected in the settings. Esspecially for the people having District Heat (measured in GJ instead of M3 for Gas) this would be welcome..

I was able to select my RFX meter (Type = Custom) via a workaround and it seems to work properly (except for the costs which are shown as 0.00)
- first change the device type to Gas,
- then select the device in Energy Dashboard settings (it appears now)
- then switch back the device from Type = Gas to Type = Custom (GJ).
Last edited by Martini77 on Wednesday 19 June 2024 21:03, edited 1 time in total.
Running Domoticz:
- Main @ LXC (Proxmox);
- Secondary @ Pi4B (for backup / test / alerts)
- Synology (Docker) for alerts on main
eddieb
Posts: 279
Joined: Wednesday 04 July 2018 7:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Energy Dashboard (Build in)

Post by eddieb »

Did you change the type manually in the database ?
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
Martini77
Posts: 23
Joined: Tuesday 28 May 2019 23:08
Target OS: Linux
Domoticz version: 2023.2
Location: NL
Contact:

Re: Energy Dashboard (Build in)

Post by Martini77 »

No, on the device itself. It's device type 'RFXMeter counter' (created via dummy hardware)
Attachments
Domoticz.png
Domoticz.png (233.75 KiB) Viewed 1155 times
Running Domoticz:
- Main @ LXC (Proxmox);
- Secondary @ Pi4B (for backup / test / alerts)
- Synology (Docker) for alerts on main
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: Energy Dashboard (Build in)

Post by BartSr »

I would say that this energy dashboard is one of the best improvements of Domoticz.
Thanks to the developers.
I would do some suggestions to made it even better.
Currently only one of my PV systems can be selected. Would not it be logic to have the opportunity to add several (3) in my case. I believe HA has this option.
I tried to include via free widget 1 my heatpump. For that I created a P1 device but this does not pop up in the combobox .
Than a small nice to have: as I often use my phone to check things it would appreciate a bigger font for the values. Now, also using my glasses, makes it very difficult to read.
Thanks!
Bart
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
User avatar
waltervl
Posts: 5729
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Energy Dashboard (Build in)

Post by waltervl »

In Domoticz you can easily make a dzvents script for a dummy total PV General kWh device. You have 3 inverters others will have 5... So where will it stop?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: Energy Dashboard (Build in)

Post by BartSr »

Walter, I just checked my test HA. I cannot find a limit in consumers nor power generating systems.
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
User avatar
waltervl
Posts: 5729
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Energy Dashboard (Build in)

Post by waltervl »

Everything can be programmed of course so perhaps Gizmocuz will implement this. In current setup it does not seem to be easy so for you to get a summarize PV in your energy dashboard I would advise you to make a summarize device yourself.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
heggink
Posts: 978
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 12451
Location: NL
Contact:

Re: Energy Dashboard (Build in)

Post by heggink »

For those struggling to read on a phone: switch to desktop mode and you can scale.
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
User avatar
gizmocuz
Posts: 2484
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Energy Dashboard (Build in)

Post by gizmocuz »

In the current beta version (16089) it should now be possible to zoom.
@BartSr, exactly as Walter said, use dzVents to make build a new Watt sensor that adds them all together. Super easy!
Quality outlives Quantity!
BartSr
Posts: 395
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: Energy Dashboard (Build in)

Post by BartSr »

@gizmocus
if it's that easy to create a total P1-consumers device it would be great to include such in the wiki.
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
ravaoo
Posts: 39
Joined: Friday 14 October 2022 10:46
Target OS: NAS (Synology & others)
Domoticz version: 2024-7
Location: Nederland
Contact:

Re: Energy Dashboard (Build in)

Post by ravaoo »

waltervl wrote: Wednesday 12 June 2024 16:19 Check the device log page. It should also show the costs (in the monthly graph)
Thanks Waltervl! This helped finding my problem. I now understand how it works. for gas i selected (internal) and it works (after a day waiting for change in my meter).
Running latest BETA on on Docker (Container Manager) in Synology NAS using zwave_js_ui with mqtt. Getting started with homebridge.

Living in an automated house is a survival but it is worth it
User avatar
waltervl
Posts: 5729
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Energy Dashboard (Build in)

Post by waltervl »

BartSr wrote: Thursday 20 June 2024 8:19 @gizmocus
if it's that easy to create a total P1-consumers device it would be great to include such in the wiki.
Something like this. When more than 2 solar sets you have to add extra Power devices to the calculations.

Code: Select all

return
{
    on =
    {
        timer = { 'every minute' }
},
	
	execute = function(domoticz, item)
	    
	    local Solar1Power = domoticz.devices(2013)     -- Solar set 1, existing General kwh device
	    local Solar2Power = domoticz.devices(2039)     -- Solar set 2, existing General kwh device
	    -- Create manually a dummy kWh, Electricity (instant and counter) device in generation mode
	    local totalPower = domoticz.devices(2037)  -- total, to be used in Energy dashboard configuration
	    
	    
	    totalPower.updateElectricity(
            	Solar1Power.actualWatt + Solar2Power.actualWatt,
            	Solar1Power.WhTotal + Solar2Power.WhTotal
            )
	end
	
}
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Micha123
Posts: 62
Joined: Monday 28 August 2017 16:44
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Energy Dashboard (Build in)

Post by Micha123 »

it would be nice to use an backrdound on the Energy Dashboard,

The dashboard is an verry nice Feature.


the second thing will be fine to have also 2 dashes (if possible) i have an little offgrid (seperated from the home electricity) with own solar panels battery an inverter, wil be verry cool if there wil be more dashboards possible.


but the Dashboard is realy NICE, thats what im always missed, seen it often in Victron systems and now we have it in Domoticz NICE !
User avatar
waltervl
Posts: 5729
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Energy Dashboard (Build in)

Post by waltervl »

There is also a wiki page for the Energy Dashboard
https://www.domoticz.com/wiki/Energy_dashboard

And for the costs an entry in the Settings Wiki: https://www.domoticz.com/wiki/Applicati ... alculation
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest