jonasbkarlsson / ev_smart_charging

Electric vehicle smart charging for Home Assistant.
MIT License
139 stars 18 forks source link

Support for fixed time based pricing #262

Open gijs007 opened 1 month ago

gijs007 commented 1 month ago

I really like how this integration plans the optimal moment to charge the car, based on SOC, charge speed and the net pricing. Would it be possible to add support for fixed time based prices?

Currently I have a contract similar to below: monday - friday 7:00-23:00 at 0,31 euro per kwh (high), and outside this period its 0,25 euro per kwh (low).

This way I can use the integration to charge from the grid at the optimum time (when required). Which would be ideal as I can charge with excess PV energy the rest of the time.

What would also be neat, is if we can use the actual tariff data from a P1 / DSMR meter (sensor.power_tariff). This sensor reports only the current tariff (high/low), but can be used to detect exceptions such as holidays.