evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Sessions: add price/co2 savings

Open naltatis opened this issue 1 year ago • 1 comments

fixes https://github.com/evcc-io/evcc/issues/11160

  • 💰 calculate and persist co2/price savings per session
  • 📊 use average of all currently visible rates as base level (reference)

TODO

  • [ ] fix and add tests
  • [ ] decide on how to combine old savings (global calculation, now = reference) with the new more accurate logic

naltatis avatar May 17 '24 14:05 naltatis

Idea to reconstruct old savings: https://github.com/evcc-io/evcc/issues/11160#issuecomment-2333367132

naltatis avatar Sep 06 '24 07:09 naltatis