emhass icon indicating copy to clipboard operation
emhass copied to clipboard

Feature Request: Cost/profit comparison

Open smefa opened this issue 1 year ago • 2 comments

Would it be possible to add a cost value that is calculateed without any battery usage as a comparison? You could use this to see how much you potentially save using battery storage.

smefa avatar Aug 14 '24 12:08 smefa

Yes it can be done and could be interesting. It will need some code tweaking to get it done. I will look into it when I have the time

davidusb-geek avatar Sep 07 '24 06:09 davidusb-geek

I have been doing some work using Riemann sum and utility meters to calculate the savings and cost benefits of both solar and battery.

https://community.home-assistant.io/t/add-solar-cost-saving-option-to-native-energy-dashboard/376143/4?u=markpurcell

purcell-lab avatar Sep 07 '24 09:09 purcell-lab

Yes probably something to do better directly in HA. Closing

davidusb-geek avatar Oct 29 '24 13:10 davidusb-geek

I don't see how you could calculate the projected missed savings, only the outcome. Am I wrong? But anyhow, it's ok to close it since it is a niche request. image

smefa avatar Oct 29 '24 14:10 smefa

I just went to the link provided my Mark and saw that he is able to separetly compute PV saving, Battery saving and PV+battery savings. So the missed savings of adding the battery are just the opposite of the battery savings, right?

davidusb-geek avatar Oct 29 '24 15:10 davidusb-geek

Yes, I guess it would work if you use the battery and show historic values. I don't see how it would work for the prediction. But anyhow, we can drop this since it is not that important.

smefa avatar Oct 29 '24 15:10 smefa

Ok. If you are interested a manual script could also achieve the kind of comparison that you are looking for. For example this script here does just that, compare different use cases (with and without PV and batteries): https://github.com/davidusb-geek/emhass/blob/master/scripts/use_cases_analysis.py

davidusb-geek avatar Oct 29 '24 15:10 davidusb-geek

Thanks

smefa avatar Oct 29 '24 15:10 smefa