allow EVCC as price source
There are many places where you use the existing evcc connection to read and write data.
Please use the /tariff/{type} API to get the grid and the feedin prices, as done similar with the PV Forcast.
+1 to this! For all the peeps using EVCC, some of the sensors could be replaced directly fetching from the EVCC API. However, I guess the main reason probably is that EVCC doesn't provide (yet) historical data, always just live views. For battery price calculation for instance you'd need the HA sensors for history. However:
- since I have excluded the evcc Integrations sensors from the HA recorder, I use EOS connect without history as well and it works fine. --> for this use case it'd be a great simplification
- the history feature in EVCC is currently in development - maybe also accessible via API once ready?
List of sensors that could be read from EVCC afaik:
- Prices (grid import/export)
- battery capacity
- battery SoC
- battery temperature
- load sensors
... long time ... ;-) prices via evcc are now implemented
@nanoBit93 battery could be a new issue/ request to discuss details ... not everything is really reachable at this time load sensors - i can not see at this time in evcc api