jonasbkarlsson / ev_smart_charging

Electric vehicle smart charging for Home Assistant.
MIT License
140 stars 19 forks source link

Add support solar (or green) power, home battery, charging modes, nordpool_diff #165

Closed MrOzzOnline closed 11 months ago

MrOzzOnline commented 1 year ago

I've been using a similar automation to control my charging schedule using entso-e pricing. More info see: https://community.home-assistant.io/t/ev-charging-scheduling-solution-with-solar-power-and-a-home-battery/482225

To be fair a in my opinion a few essential things are missing from your integration:

I use the following options:

Small note: I have a Polestar 2 which doesn't have a SOC available. To be fair, you don't need it to run efficiëntly.

The result: image image

jonasbkarlsson commented 1 year ago

Thanks for sharing. To support home batteries is already on my to-do list, so that will probably be added. To do even more advanced control is something I need to think about.

stejo388 commented 1 year ago

Hi, I also love to have support for soar energy, in my case which don´t have batteries I would like to use the solar energy as long it´s available. That´s is In´m producing more energy that I´m using and then using the lowest price.

A question, could I use manually start and stop the charging to use the solar energy during the day, will it then automatically recalculate the hours it should charge after I stop with the manually charging?

woopstar commented 1 year ago

Hi, I also love to have support for soar energy, in my case which don´t have batteries I would like to use the solar energy as long it´s available. That´s is In´m producing more energy that I´m using and then using the lowest price.

A question, could I use manually start and stop the charging to use the solar energy during the day, will it then automatically recalculate the hours it should charge after I stop with the manually charging?

Create an automation that triggers when you have excess power from solar energy and force start the charger. You need to create a sensor that measures the excess power you have from solar and counts the power you put into your EV.

Adding solar support etc. is something I think should be seriously reconsidered. Is it really the purpose of this integration? There are so many ways to add solar/battery support automation in HA, that could trigger this integration, which currently has the main focus of "charge your EV when the electricity price is low".

jonasbkarlsson commented 1 year ago

A question, could I use manually start and stop the charging to use the solar energy during the day, will it then automatically recalculate the hours it should charge after I stop with the manually charging?

I would recommend to make an automation that when you want to manually start charging does

and another automation that when you want to manually stop charging does

This will ensure that integration will recalculate the planned charging when you manually stop charging.

stejo388 commented 1 year ago

A question, could I use manually start and stop the charging to use the solar energy during the day, will it then automatically recalculate the hours it should charge after I stop with the manually charging?

I would recommend to make an automation that when you want to manually start charging does

* Start charging

* Turn `switch.ev_smart_charging_smart_charging_activated` off

and another automation that when you want to manually stop charging does

* Stop charging

* Turn `switch.ev_smart_charging_smart_charging_activated` on

This will ensure that integration will recalculate the planned charging when you manually stop charging.

Great, I will try that. One more question, could you use start/stop manually charging if you have stopped the automatically charging?

jonasbkarlsson commented 1 year ago

Great, I will try that. One more question, could you use start/stop manually charging if you have stopped the automatically charging?

Yes, you can.