markpurcell
(Mark Purcell)
September 14, 2023, 2:22am
11
Here is a link to an approach I have used to quantify the savings from both my battery and solar, my prices change every 5 minutes so I needed a very dynamic solution.
I have a bit of complexity as my electricity buy/ sell prices changes every five minute.
I calculate this as follows:
Benefit/ saving in $/hr.
[image]
- name: Solar Benefit
unit_of_measurement: $/h
state: >
{{states('sensor.apf_solar2house')|float(0) * states('sensor.amber_general_price')|float(0)/1000
+ states('sensor.apf_solar2batt')|float(0) * states('sensor.amber_feed_in_price')|float(0)/1000
+ states('sensor.apf_solar2grid')|float(0) * states('senso…