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

Enyaq: Charging State=Cable Disconnected while Charger Connected=Plugged in #137

Open
AMajland opened this issue Oct 26, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@AMajland
Copy link

AMajland commented Oct 26, 2024

I use HA to charge when the price are lowesst. So i plug the car in and the easee home charger is paused by setting dynamic max = 0 until it is time to charge.

That is the cable is plugged in, the charger is ready with the status PAUSED/AWAITING START

MySkoda shows correctly that Charger Connected=Plugged in but the Charging State=Cable Disconnected
I do not now whether it just an bad translation or something less obvious

The old skoda connect interface shows

Charging cable connected = Plugged in
Charging cable locked = Locked
External power = Off <<< Maybe that is similar to the Charging state in MySkoda ?

When the cars start to charge it changes to
Charging State = Charging (Myskoda)
External Power = On (Skoda Connect)

Here from the small test:
image

Set dynamic on charger set > 6A to start charging and back to zero 8 minutes later

@AMajland AMajland added the bug Something isn't working label Oct 26, 2024
@AMajland
Copy link
Author

And from the Skoda Connect integration
image

@WebSpider
Copy link
Contributor

Thanks for this report!

It's very useful for us to better interpret the values we get from the car in this way.

Would you mind enabling debug logging in HA while you are going through these steps, so we can see what MySkoda responds?

@AMajland
Copy link
Author

AMajland commented Oct 26, 2024

logfile.zip
Hope there is something usefull in this.

image

@WebSpider
Copy link
Contributor

Yes, there is.

When you stop charging, the car sends us an event where it indicates it's notReadyForCharging:

'{"version":1,"traceId":"XXX","timestamp":"2024-10-26T20:48:02Z","producer":"SKODA_MHUB","name":"change-charge-mode","data":{"mode":"off","state":"notReadyForCharging","soc":"28","chargedRange":"118","timeToFinish":"null","userId":"YOURUID","vin":"YOURVIN"}

We currently interpret this as "Well, your cable must be disconnected", since that's in fact what the car says when the cable is disconnected as well.

We could add another state here, that says "Not Ready", but i dont think that solves it.

@dtmichel
Copy link

In the UI this does indeed look strange. Reporting the "Charging State" as "Not ready" would make sense to me.
I see this strange state always when I plug my car and the charger is set to not deliver power. Which in general is between 10AM and 8:30PM.

image

@ChristophCaina
Copy link

I agree - charger disconnect should show if the cable is connected or not - charging state should only indicate "not ready" or "Not charging" and "ready" or "charging".

@dvx76
Copy link
Member

dvx76 commented Nov 7, 2024

I need to look into this in more detail but in general I would prefer to stay as close as possible to what the API reports and/or how the MySkoda app presents things. I can test this tomorrow but in case you have a screenshot already, what does the app show when in this state (cable connected, charger not active)?

But I do agree that reporting Cable Disconnected when the cable is, in fact, connected, is not good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants