The price charged should be the average of all six 5-minute intervals in that half hour, not the just the last 5-minutes.
Hey Mate, one thing to keep in mind is and it may have been answered before, but its not 10kWh per day as such, its 10kWh on “average” over the billing period.
For example, if you are on a monthly billing cycle with 30 days you would get 300kWh at the 15c/kWh rate and the remaining on the 7c/kWh.
Hope that makes sense.
Hey all - thanks for all the info and tips in this thread. I had my solar system installed a week ago and had it all setup with the info here before it was installed ![]()
I have a fronius inverter and smart meter configured at feed in point so all is good. No battery so quite a simple setup.
I am with globird energy and the config was quite simple with 2 x FITs and 2 x TOU tariffs so I have this all working.
I’m hoping someone else has a fronius setup as I am trying to get my head around some of the data. Can anyone help explain the SolarNet API Power entities as they don’t seem to add up and they differ from the smart meter Power entities? I guess it could be DC (SolarNet) vs. AC (Smart Meter) but i’m not sure.
First thing I like to understand is why the solarnet entity for load consumed differs from my calculated power consumed (solar - export + import) - see chart below…
I finally got around to putting together an appdaemon script to handle this, while ive been travelling for work and avoiding colleagues! I used copilot pretty heavily and it confiused peak and demand up on some of the variables, but it seems to be working.
If anyone wants to have a go, its here: GitHub - sh00t2kill/appdaemon-demand-tarrif-tracking
I plan on leaving it run for a couple of days and then review what its doing.
Those who have it working as expected using templates, id be interested to compare the output.
ED: After a day it seems to be doing about what I expect. I intend to make some improvements around making the peak times configurable as they arent the same for all providers; they are current hard coded to 2pm → 8pm as thats what my provider (red energy) does.
ED2: Im pretty sure its not calculating the demand correctly, but ill look at it over the weekend.
I’m sorry to have to ask - please help me workout what I am missing. ![]()
I can’t work out how to make the electricity_total_cost_monthly work. It just returns the same as the daily value.
I love how your code works for the electricity cost. The energy meter graph for peak, shoulder and off-peak works great.
Thank you
