Energy Dashboard (Build in)
Moderator: leecollings
-
- Posts: 110
- Joined: Saturday 14 March 2020 13:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Energy Dashboard (Build in)
I understand. But honestly: Making kind of static screenshots (even if they are captured frequently) would not reflect the dynamic approach including animation and real-time change of figures.
-
- 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)
@Waltervl
I got it all working now. Meanwhile I cheked the wiki to get information about what is displayed, preferable with some formula's.
Sorry to say but the wiki only shows some input instructions and a screenshot of the dashboard. That's all. In my dashboard I see € values more than in wiki.
Might it be possible to update the wiki in way it makes more sense.
Maybe I'm not that clever but I presume being not the only one
Anyway thanks Walter for pointing me right direction.
I got it all working now. Meanwhile I cheked the wiki to get information about what is displayed, preferable with some formula's.
Sorry to say but the wiki only shows some input instructions and a screenshot of the dashboard. That's all. In my dashboard I see € values more than in wiki.
Might it be possible to update the wiki in way it makes more sense.
Maybe I'm not that clever but I presume being not the only one

Anyway thanks Walter for pointing me right direction.
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Re: Energy Dashboard (Build in)
Hi, I have tried to enter the price of water consumption per m at meters and counters, but when I look in the log of the water meter, the amount is not correct.
E.g. liter price is 0.012, then 67 liters should amount to € 0.804.
But it consistently gives me the same value of 0.0010398 per liter.
What am I doing wrong?
E.g. liter price is 0.012, then 67 liters should amount to € 0.804.
But it consistently gives me the same value of 0.0010398 per liter.
What am I doing wrong?
- FireWizard
- Posts: 1861
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Energy Dashboard (Build in)
No doubt, that the creators/developers has also seen the Energy dashboard in Home Assistant and probably also at other places.
In HA they have a widget, representing the fossil-free Energy, which is connected to the "Grid" circle.
See picture below.
Unfortunately it is only possible to connect an extra "Text" device, that displays the fossil-free Energy.
This information is actually stored in an Electric (Instant + Counter), but cannot be used in the Energy dashboard.
Suggestion: Could this be made possible and connected to the "Grid" circle?
Regards
In HA they have a widget, representing the fossil-free Energy, which is connected to the "Grid" circle.
See picture below.
Unfortunately it is only possible to connect an extra "Text" device, that displays the fossil-free Energy.
This information is actually stored in an Electric (Instant + Counter), but cannot be used in the Energy dashboard.
Suggestion: Could this be made possible and connected to the "Grid" circle?
Regards
- FireWizard
- Posts: 1861
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Energy Dashboard (Build in)
Hi, @NvBgm,
Regards
Do not insert your price in liters but use the price in m3 as indicated on the "Settings ===> Meters/Counters" page.Hi, I have tried to enter the price of water consumption per m at meters and counters, but when I look in the log of the water meter, the amount is not correct.
E.g. liter price is 0.012, then 67 liters should amount to € 0.804.
But it consistently gives me the same value of 0.0010398 per liter.
What am I doing wrong?
Regards
Re: Energy Dashboard (Build in)
Correct i give the price for m3.
If that price is €1,134 then is the price for 1 litre 1,134 / 1000 = 0,001134
If i have used 67 litre then it wil be € 0.075978 or € 0.076 kost.
I can change the the price in m3 as indicated on the "Settings ===> Meters/Counters" page noting happens.
If that price is €1,134 then is the price for 1 litre 1,134 / 1000 = 0,001134
If i have used 67 litre then it wil be € 0.075978 or € 0.076 kost.
I can change the the price in m3 as indicated on the "Settings ===> Meters/Counters" page noting happens.
- FireWizard
- Posts: 1861
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Energy Dashboard (Build in)
@NvBgm,
If you changed the setting today, wait for another day and check tomorrow again.
Regards
If you changed the setting today, wait for another day and check tomorrow again.
Regards
Re: Energy Dashboard (Build in)
Oke thanks i wil check tomorrow.FireWizard wrote: ↑Sunday 11 August 2024 18:52 @NvBgm,
If you changed the setting today, wait for another day and check tomorrow again.
Regards
Re: Energy Dashboard (Build in)
Today I checked whether the price calculation was correct and it was.
But only for water consumption, I do not see a price calculation for electricity and gas. Anyone have an idea where I'm doing it wrong?
Energy Dashboard Settings:
P1/Net: P1 Smart Meter
Gas: Gas meter
Water consumption: Water consumption
But only for water consumption, I do not see a price calculation for electricity and gas. Anyone have an idea where I'm doing it wrong?
Energy Dashboard Settings:
P1/Net: P1 Smart Meter
Gas: Gas meter
Water consumption: Water consumption
- waltervl
- Posts: 5711
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Energy Dashboard (Build in)
You should enable price calculation for Electricity and Gas in settings:
https://www.domoticz.com/wiki/Applicati ... alculation
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
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Re: Energy Dashboard (Build in)
It works perfect!
Is it possible for a user with user rights to see the energy dashboard?
Thanks,
Mark
Is it possible for a user with user rights to see the energy dashboard?
Thanks,
Mark
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
- waltervl
- Posts: 5711
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Energy Dashboard (Build in)
That is implemented only in 2024 Beta last week. So it will be in 2024.8 when released (unknown date).
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Re: Energy Dashboard (Build in)
Thanks, no problem. I will wait for the release.
Domoticz latest stable, Intel NUC, Proxmox, Zigate, RFLink, Kaku switches, Ikea lights, Xiaomi sensors, Honeywell smoke detectors, Yeelight, Shelly, Slave Domoticz PI 3B+, Node-Red, Espeasy.
-
- Posts: 32
- Joined: Wednesday 13 May 2015 9:05
- Target OS: Linux
- Domoticz version: Stable
- Location: Netherlands
- Contact:
Re: Energy Dashboard (Build in)
Is it possible to extract the computed costs from for example P1 or Solar panels and use it to put in another dummy sensor?
Thanks
Thanks
- waltervl
- Posts: 5711
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Energy Dashboard (Build in)
Yes, it is now part of the JSON API call
so it should be possible to put in another device with some dzvents script. It is not a standard dvents function so you need to do a lot of special things.
But why? This is why the energy dashboard also is created, to see also the daily costs....
And if you open the log page of the P1 you also can see the daily costs.
Code: Select all
/json.htm?type=command¶m=getdevices&rid=IDX
But why? This is why the energy dashboard also is created, to see also the daily costs....
And if you open the log page of the P1 you also can see the daily costs.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- winner61
- Posts: 9
- Joined: Friday 02 August 2024 12:13
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.7
- Location: Friesland / NL
- Contact:
Re: Energy Dashboard (Build in)
Hello, first I would like to give a big thanks to all contributors who makes this all possible. Hats off!
I have a question about the built-in dynamic price calculation. I would like to work with NETTO prices because what you get for your kW's it's without the taxes. It's about 0,15 cent here in the Netherlands. Is there a way to add something to the script and how to accomplish that?
I take the prices from 'Zonneplan' from the Enever feed. Thank you!
I have a question about the built-in dynamic price calculation. I would like to work with NETTO prices because what you get for your kW's it's without the taxes. It's about 0,15 cent here in the Netherlands. Is there a way to add something to the script and how to accomplish that?
I take the prices from 'Zonneplan' from the Enever feed. Thank you!
- winner61
- Posts: 9
- Joined: Friday 02 August 2024 12:13
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.7
- Location: Friesland / NL
- Contact:
Re: Energy Dashboard (Build in)
Thank you Waltervl. If you work with dynamic prices based on the feed I assume there is no need to specify prices. These are prices with tax included so seeking a way to substract about 0,148 cent. This is my setting:
Thank you.
edit: propably I answered another post by Waltervl, sorry for that.
Thank you.
edit: propably I answered another post by Waltervl, sorry for that.
- waltervl
- Posts: 5711
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Energy Dashboard (Build in)
I do not think it is possible (yet) to calculate energy costs with different prices for usage and return in Domoticz.
So it will be all with or without Taxes.
To create a cost device without tax create a dummy Custom sensor and have a script reading the enever price device , deduct the tax and put that into the dummy device. Use that dummy device to calculate the energy costs.
So it will be all with or without Taxes.
To create a cost device without tax create a dummy Custom sensor and have a script reading the enever price device , deduct the tax and put that into the dummy device. Use that dummy device to calculate the energy costs.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
- gizmocuz
- Posts: 2471
- 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)
Sure, the implementation in HASS was also taken from other hardware.FireWizard wrote: ↑Sunday 11 August 2024 16:36 No doubt, that the creators/developers has also seen the Energy dashboard in Home Assistant and probably also at other places.
In HA they have a widget, representing the fossil-free Energy, which is connected to the "Grid" circle.
How do you calculate the Fossil usage? Are you taking your countries emission factor into account and is this calculated value per year/month/day?
It could be interesting to have this natively implemented in Domoticz and calculate this for/with electricity,gas,water
Quality outlives Quantity!
- FireWizard
- Posts: 1861
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Energy Dashboard (Build in)
Hello @gizmocuz,
You wrote:
This site is open-source and has a free API. You need an API key, but you can use it for free.
It will give you in fact the origin of the electricity, that you consume from the grid, as well as the Carbon footprint
and
In the second picture you will see the fossilFreePercentage for a specific area.
The site supports over 200 areas. Smaller countries, like The Netherlands or Belgium are one area each, while the real big countries have multiple areas.
I assume that the energy, I consume from the grid, consists of that percentage of fossil-free energy.
Therefore I take the power from the grid and multiply it with the percentage. Next I calculate the energy.
So the MQTT value from the P1 device is sent to (in my case) Node-RED (svalue5), multiply it with the percentage and calculate the energy.
This value is returned in a "Text" sensor.
I first created an "Electricity (Instant + Counter) sensor and let Domoticz do the "Energy" calculation, but unfortunately I could not make that sensor visible in the "Energy Dashboard". Therefore I changed it to a "Text" sensor.
I'm not sure, whether it is better to use the fossilFreePercentage or the renewablePercentage. I took for now the HASS presentation
The difference is that fossilFreePercentage includes the nuclear energy and the renewablePercentage is without the nuclear component.
The Node-RED flow I posted at: https://www.domoticz.com/forum/viewtopic.php?t=42587
In the documentation of the API it is stated :
Water is a different issue. I believe most, if not all, water pumps are electrical pumps. So that is covered by the electricity.
But it would be a good idea to implement in natively in Domoticz. And perhaps, you have some good and interesting ideas as well.
Best Regards
You wrote:
I take the data form this website: https://app.electricitymaps.comHow do you calculate the Fossil usage? Are you taking your countries emission factor into account and is this calculated value per year/month/day?
This site is open-source and has a free API. You need an API key, but you can use it for free.
It will give you in fact the origin of the electricity, that you consume from the grid, as well as the Carbon footprint
and
In the second picture you will see the fossilFreePercentage for a specific area.
The site supports over 200 areas. Smaller countries, like The Netherlands or Belgium are one area each, while the real big countries have multiple areas.
I assume that the energy, I consume from the grid, consists of that percentage of fossil-free energy.
Therefore I take the power from the grid and multiply it with the percentage. Next I calculate the energy.
So the MQTT value from the P1 device is sent to (in my case) Node-RED (svalue5), multiply it with the percentage and calculate the energy.
This value is returned in a "Text" sensor.
I first created an "Electricity (Instant + Counter) sensor and let Domoticz do the "Energy" calculation, but unfortunately I could not make that sensor visible in the "Energy Dashboard". Therefore I changed it to a "Text" sensor.
I'm not sure, whether it is better to use the fossilFreePercentage or the renewablePercentage. I took for now the HASS presentation
The difference is that fossilFreePercentage includes the nuclear energy and the renewablePercentage is without the nuclear component.
The Node-RED flow I posted at: https://www.domoticz.com/forum/viewtopic.php?t=42587
Yes, the emission factor depends on the area, so in this case the country (The Netherlands) and it is calculated hourly.Are you taking your countries emission factor into account and is this calculated value per year/month/day?
In the documentation of the API it is stated :
All endpoints return data with a resolution of 1 hour.
Electricity is quite easy and that is the easiest to calculate. Gas is by definition not fossil-free or renewable.It could be interesting to have this natively implemented in Domoticz and calculate this for/with electricity,gas,water
Water is a different issue. I believe most, if not all, water pumps are electrical pumps. So that is covered by the electricity.
But it would be a good idea to implement in natively in Domoticz. And perhaps, you have some good and interesting ideas as well.
Best Regards
Who is online
Users browsing this forum: No registered users and 1 guest