In Estonia, actually all over Nordic countries, we have a hourly floating electricity price from Nordpool. We even know 24h ahead what the price is, that we can use for scheduling, but this in not a point at the moment.
I use custom integration (https://github.com/custom-components/nordpool) to get the current price. I have a template sensor that adds network fees, vat, etc. to get the total cost of electricity in €/Kwh. I have a sensor (shelly plug at the monent) that measures the power of my EV chanrger outlet.
What i’m struggling with is how to calculate the daily and monthly cost of the power used. It would be easy template sensor calculation if the energy price will be constant during a day, but just to give a better pircture, this is the hourly price for today:
Use the energy dashboard and choose your template sensor as the price entity. Then it will automatically create a sensor that contains your costs based on price and consumption.
I thought I could use it as well, but to my understanding only way to add price component is to define the grid consumption as well. Unfortunately I don’t have a sensor for total meter yet.
I also don’t have a total meter, I just added all the individual devices to the grid consumption.
You’ll then get a list of each device with its associated cost and consumption. Or you can create a template sensor that sums up the consumption of all devices and use this in grid conwumption.
Thanks, that worked. However when my solar system arrives I will add the total power meter and after that separate consumption would not have cost part.
It would be nice if price component can be added to individual devices as well.
Hei! I am also from Estonia, looking for how to use nordpool tariffs with shelly 3em in energy @ home assistant. Have you gone further with your project?
Best regards Peeter