-
Notifications
You must be signed in to change notification settings - Fork 23
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
Charging Connection Status is always disconnected #59
Comments
Same here C40 |
Jep, you are right. Same for me. But this seems to be the Volvo API.. They changed something yesterday. This endpoint seems to be broken for now. I will take a closer look at this day. But I'm pretty sure that there is nothing I can do... |
This is the API response:
Volvo returns "disconnected". Hopefully they will fix this soon. |
I tried communicating with them in the past, I wouldn’t advise that. They won’t answer or they may answer and before you know you’re talking to one of their lawyers. I had this actually happen to me, when I requested some information about their Canbus implementation. I got a useful answer, spied an error in the documentation, sent my findings and got a letter from their lawyer demanding I destroy all documentation I had. Since we are using a reverse engineered authorisation code to keep it working, I’m afraid we might tip them off. |
Yep, maybe just wait... For me this worked until today, 6:45 am. This is really strange... |
Another idea.... Do you already installed 2.10 ? I installed mine today. With 2.9 my connection status worked. |
That could be it, it stopped working right after the upgrade. Could be that an api change is coming when most cars have upgraded to 2.10. |
What needs to be reverse engineered? The endpoints are published and it is possible to get your own API keys here. |
If you look in the code, there is also an authorisation key. Without it, your API key will only work for one hour. Also, Volvo has a habit of cracking down on initiatives using the Volvo logo and brandname (they make you use something else). |
The authentication is undocumented and the same as the app uses. |
The Energy API docs says the endpoint is
but the call I see in the debug log above is
Could that be it? |
No, this endpoint returns all of the energy API data. The |
Ok, I see that now, but is there anything that prevents registering an app, given that a Oauth2 flow is implemented? Except for the time we need to invest? :D "The use of the Connected Vehicle API, Energy API, Location API and/or Extended Vehicle API is offered free of charge." |
Ok, thanks for doing all this for us HA+Volvo users! |
No, nothing special. But time :D |
This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
I cannot stop shaking my head about policies like that of Volvo (and other car manufacturers). They are so hidebound, so 20th century... When a company responds to their customers making their products even more comfortable to use, by throwing their lawyers at them, something's terribly wrong in the heads of those who make such decisions, if you ask me. Terribly wrong. Especially in cases where the customers actually help improving the product. In my opinion their reaction is borderline paranoid. At the very least it is stupidity paired with cowardice and stubbornness. It's so utterly ridiculous... it would be funny if it wasn't all so sad. /my two cents |
No, sorry. There is no endpoint for this. Maybe they will add this later. The app is using another API. |
Since yesterday evening the Charging Connection Status is always reported as disconnected, even when it is "Connected AC"
To Reproduce:
Steps to reproduce the behavior:
Version info:
1.7.5
Logs:
The text was updated successfully, but these errors were encountered: