Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When 'Keep charger on' is selected the 'Charging' status stays active while charging is finished #295

Open
CasparTheBridge opened this issue Jul 21, 2024 · 2 comments

Comments

@CasparTheBridge
Copy link

At the moment I use a granny charger for charging my car. I like the feature to keep the charger powered when finished charging but it now doesn't work in the right way.

When I the 'EV Target SOC entity' to 80% the charge cycle is starting correctly. The switch.ev_smart_charging_keep_charger_on gets activated and using the sensor.ev_smart_charging_charging entity I start the charge cycle with my car integration. Using the examples when the sensor.ev_smart_charging_charging goes from on to off I can use my car integration to stop charging but this is not working. The entity sensor.ev_smart_charging_charging keeps active as long as the car is connected. This results in the car keeps on charging and stops at 100% instead of the selected target SOC of 80%.

Can you turn off the sensor.ev_smart_charging_charging and keep the charger activated? I think this should be the case in the status 'Keeping charger on' so sensor.ev_smart_charging_charging to OFF and the entity selected to 'Charger control switch' keep on ON.

Version of the custom_component

Version v1.11.0

Configuration

image

Describe the bug

There is no clear entity to stop the integration of the car to stop charging

Debug log

n/a

@jonasbkarlsson
Copy link
Owner

The entity sensor.ev_smart_charging_charging is intended to be used to turn on and off charging. In your case, you use this to control the charging via a car integration.

How do you want the charger to be controlled? Can you have it always active (since you control the charging via the car)?

@CasparTheBridge
Copy link
Author

At the moment I use a power outlet which is located close at the street, I control this outlet with a Shelly relay. Ideally I would like the outlet turn on when the charging starts (this works fine - controlled by EV smart charging) and turn off when I unplug my car (this also works fine - controlled by EV smart charging).
But when I have set the input_number.car_smart_charging_soc_target to 80% my car is just continuing to charge. The sensor.ev_smart_charging_charging stays active so it won't trigger to the car to stop charging.

So when switch.ev_smart_charging_keep_charger_on is active the sensor.ev_smart_charging_charging is not controlling the charging stop, it stays active when it reached the SOC target and the status will change to keeping_charger_on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants