-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[renault] Support for MyDacia accounts and Dacia Spring car #14227
Comments
@raulmatei There was a recent PR #14527 that might be of interest to you. It adds the charge pause channel which might work on your car. You should be able to test this with the latest openhab 4.0-snapshot. I can add a line to get the accountType=="MyDacia" if the accountType=="MYRENAULT" does not find anything. I have no way to test this so you would need to test it for me. What is the exact value I need to look for "MyDacia", "myDacia", "MYDACIA"... |
@rouallet Thanks to the test. This will be quite easy to add in a 2nd loop if no MyRenault account is found. I will prepare a PR for including in openHAB 4 as soon as I can. |
PR to close this issues here: #15101 |
PR Merged (#15101) and so we can close this issue. Support for MyDacia accounts will be in OpenHAB 4 |
Your Environment
OpenJDK Runtime Environment (build 11.0.16+8-post-Debian-1deb11u1)
OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Debian-1deb11u1, mixed mode)
Kernel: Linux 5.15.76-v8+
Architecture: arm64
I'm trying to get the Renault Binding to work with MyDacia account and I'm not able to because the account type is hard coded to MYRENAULT account type here:
openhab-addons/bundles/org.openhab.binding.renault/src/main/java/org/openhab/binding/renault/internal/api/MyRenaultHttpSession.java
Line 194 in 0f272d8
Authentication using https://github.com/hacf-fr/renault-api works as expected and I'm able to query the Renault APIs to get the car details, battery-status, location, cockpit, hvac-status. The lock-status is not working, there are some limitations for Dacia Spring cars discussed here: hacf-fr/renault-api#534. I haven't tried the actions yet but I'm willing to do that soon.
I'm not a Java programmer, but I can help with testing if someone gets an update that allows MYDACIA accounts to get registered.
Regards,
Raul.
The text was updated successfully, but these errors were encountered: