-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Stopped loading #23
Comments
Good morning, also just wanted to open a ticket for the same reason. I stumbled upon incorrect data (car location was still 'home' but in fact my wife is using it). |
Looks like the API has changed. Just having a look to see if its something simple. For reference the response that comes back includes:
Makes me think its just the client ID thats changed |
I've had a play around with it but haven't got anywhere yet. Looks like I'll need to decompile the APK rather than just changing some constants. I won't have any time today but should get a chance to look at it tomorrow/over the weekend. @Tobiaswk looks like this is affecting the My Leaf app too (I did base the API client here on dartnissanconnect after all). Have you had any luck with these API changes yet? |
May be coincidence, but my Ohme android app hasn't been able to get my Nissan's soc for eight hours. I tried reconnecting my Ohme app to the Nissan system and the login to Nissan now fails. Perhaps Nissan didn't tell other suppliers of an API change or this is an 'unexpected event'. |
Same here. Ariya not updating! Arggg |
@dan-r Yes, I've been looking at it. They've changed the I've just pushed the changes to dartnissanconnect; Tobiaswk/dartnissanconnect@e030199 I'm not sure if other changes have been made. I haven't had time to look at it all but authentication works again. |
Interestingly it seems that whoever is responsible for the NissanConnect app on Android has changed quite a lot in app. They've obfuscated some of the "secrets" so they cannot as easily be decompiled and read directly any longer. It's still fairly easy though ;) |
Thanks @Tobiaswk I appreciate you sharing that - had a brief look at the strings from the apk earlier but couldn't get anything working. I'll give it a go later on - I must admit my decompilation skills are a bit rusty! 🤣 |
For what it's worth I can confirm that changing the values in settings_map in kamereon.py to the ones provided by @Tobiaswk and restarting HA fixes the integration. |
Great idea, I did the same and it is also working for me. |
And working now - this is the section I updated. |
Thanks all for the testing - I've just released v0.5.1 with these changes and everything is working again for me now. |
What happened?
Restarted HA and got the error that Nissan Connect was unable to setup. Had been working fine prior to this.
Log Output
Home Assistant Version
2024.5.3
Integration Version
1.0.0
The text was updated successfully, but these errors were encountered: