jonasbkarlsson / ev_smart_charging

Electric vehicle smart charging for Home Assistant.
MIT License
169 stars 25 forks source link

Support for Octopus Agile pricing #183

Closed PhilDye closed 1 month ago

PhilDye commented 1 year ago

Support for half-hourly Octopus Agile would be great; I gather these via the integration at https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy, although this does not appear to expose the next days’ worth of prices as sensors, only a ready-made card.

PhilDye commented 1 year ago

I’ve found that the future prices are available as attributes on the sensor;

IMG_0397

jonasbkarlsson commented 1 year ago

Since the time resolution is different to the price sources currently supported, it will probably be a too large effort to add support to Octopus Agile in short-term. However, to have finer time resolution than one hour is also mentioned in #88, and eventually that needs to be supported.

jonasbkarlsson commented 1 month ago

Template sensor included in v1.11.2. It should be possible to use that to get prices from Octopus Agile. The integration currently only support one price per hour. So if the template sensor would contain two prices per hour, the integration will ignore the second price.

There is a plan to add support for four prices per hour, but it might take some time.