Energy costs do not work (stay always at € 0.00)

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
User avatar
andrehj
Posts: 54
Joined: Sunday 06 January 2019 14:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: NL
Contact:

Energy costs do not work (stay always at € 0.00)

Post by andrehj »

I cannot get the energy costs to work. The costs always stay at € 0.00, both in the energy devices and the Energy Dashboard, no matter what I do.
I used to work only with a fixed low/high tariff (which didn't work), and today I added an Enever device with Tibber prices. The two price devices created by the Enever plugin work nicely (current electricity price is shown as € 0.3454), but the costs in other devices stay at 0.00.
Can anybody give me an idea about what I'm doing wrong?
These are my settings:
2025-09-19 Domoticz Counter Setup.png
2025-09-19 Domoticz Counter Setup.png (23.29 KiB) Viewed 147 times
And the resulting energy dashboard:
2025-09-19 Domoticz Energy Dashboard.png
2025-09-19 Domoticz Energy Dashboard.png (58.25 KiB) Viewed 147 times
And the P1 smart meter without costs:
2025-09-19 Domoticz P1 meter.png
2025-09-19 Domoticz P1 meter.png (19.65 KiB) Viewed 147 times
The other energy meters devices have the same issue. Costs can be selected, but are 0.00 (or not shown). What is wrong?
User avatar
waltervl
Posts: 6676
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Energy costs do not work (stay always at € 0.00)

Post by waltervl »

You probably have to wait a day to get it visible.
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
andrehj
Posts: 54
Joined: Sunday 06 January 2019 14:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: NL
Contact:

Re: Energy costs do not work (stay always at € 0.00)

Post by andrehj »

@waltervl,
You were right. Costs graphs now appear, and are using the dynamic energy prices from the Enever device.
Still do not understand why this never worked in the last years with the fixed prices that I entered in settings. Will do some experimenting with that later.

I do run into another issue: I wanted these dynamic costs in Domoticz so I can calculate the costs of a future dynamic energy contract (and can compare it with a fixed contract). This however does not work, since the energy returned to the grid is deducted from the costs total with the same energy price. That is however no the case in reality (even more when the Dutch "salderingsregeling" ends), since we have a large tax on the energy that we use from the grid.

So I just created my own incremental counter which uses the prices from Enever and only takes usage from the grid into account. Returned energy is (for now) omitted.
User avatar
jjnh
Posts: 42
Joined: Sunday 09 December 2018 14:06
Target OS: Linux
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Energy costs do not work (stay always at € 0.00)

Post by jjnh »

My energy costs still stay on 0.00€ in the Energy Dashboard and in the graphs.
I have upgraded to 2025.2 about a week ago.

The energy cost is shown correct in the reports.

Any idea what might be wrong?
Odroid N2+ 4GB, Finally updated to 2025.2, with an RfxTrx433E, Zigbee2MQTT with Slaesh's CC2652RB, Zwave-JS-UI, SolarEdge, iRobot and P1 connected.
User avatar
waltervl
Posts: 6676
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Energy costs do not work (stay always at € 0.00)

Post by waltervl »

jjnh wrote: Wednesday 17 December 2025 14:21 My energy costs still stay on 0.00€ in the Energy Dashboard and in the graphs.
I have upgraded to 2025.2 about a week ago.

The energy cost is shown correct in the reports.

Any idea what might be wrong?
What are your dynamic price calculation settings in menu setup- settings- tab counters
https://wiki.domoticz.com/Application_S ... alculation
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
jjnh
Posts: 42
Joined: Sunday 09 December 2018 14:06
Target OS: Linux
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Energy costs do not work (stay always at € 0.00)

Post by jjnh »

This is my configuration:
2025-12-18 08_59_05-Clipboard.jpg
2025-12-18 08_59_05-Clipboard.jpg (62.41 KiB) Viewed 76 times
I do not have dynamic pricing.

This is my energy dashboard:
2025-12-18 09_01_18-Clipboard.jpg
2025-12-18 09_01_18-Clipboard.jpg (65.29 KiB) Viewed 76 times

I noticed that water is showing a cost.
Odroid N2+ 4GB, Finally updated to 2025.2, with an RfxTrx433E, Zigbee2MQTT with Slaesh's CC2652RB, Zwave-JS-UI, SolarEdge, iRobot and P1 connected.
User avatar
waltervl
Posts: 6676
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Energy costs do not work (stay always at € 0.00)

Post by waltervl »

You should set energy Price device to internal meter and then costs are calculated on the settings in Domoticz.
And when you change the tariff it will be calculated from then on with the new tariff.
With your current settings all history costs are calculated with your current tarifs.
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
jjnh
Posts: 42
Joined: Sunday 09 December 2018 14:06
Target OS: Linux
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Energy costs do not work (stay always at € 0.00)

Post by jjnh »

Perfect!!

That did it. Thanks!
Odroid N2+ 4GB, Finally updated to 2025.2, with an RfxTrx433E, Zigbee2MQTT with Slaesh's CC2652RB, Zwave-JS-UI, SolarEdge, iRobot and P1 connected.
Post Reply

Who is online

Users browsing this forum: Amazon [Bot], heggink and 1 guest