Betatest - Renault ZE Services Binding

Our Zoe is from 2019 and I had a similar problem several weeks ago. It recovered after a week or so without any visible reason.

During the last few weeks I never saw any problems.

Perhaps some migration going on at the Renault backend affecting only parts of the vehicle at a certain time (wild guess)?

It looks like it was a general fix as in the BEV forum other owners also have a working app and api again.

2 Likes

Does anyone else have problems with the odometer?

The car has actually driven 14893 km.
However, the binding shows 7502 km…

I installed the python script linked in the binding documentation to test it and it returns the correct values:

----------------  -------------------------
Battery level     79 %
Last updated      2024-07-22 06:51:55
Range estimate    243 km
Plug state        PlugState.UNPLUGGED
Charging state    ChargeState.NOT_IN_CHARGE
Time remaining    25 min
Charge mode       always_charging
Total mileage     14893.0 km
Fuel autonomy     0.0 km
Fuel quantity     0.0 L
GPS Latitude      xx.48328194444445
GPS Longitude     x.828936666666666
GPS last updated  2024-07-22 06:51:00
HVAC status       off
----------------  -------------------------

It is a bug: [Renault] Cockpit/odometer information no longer retrieved Ā· Issue #16669 Ā· openhab/openhab-addons Ā· GitHub

Update to the latest version of the binding and it should work again.

I’ve seen the fix, but I thought it was also packported to 4.1.3?

Merged to 4.2.0-SNAPSHOT. So go with 4.2 or newer.

ahh, ok, good to know :slight_smile: Thanks!

Hi all, just tried the binding today and bumped into an error message:
cookie value not found!

Checked the login crendentials because of the log, they appear to be ok.
Any suggestions? Many thanks in advance!

OpenHab 4.2.1 on a Pi

17:19:48.657 [WARN ] [ult.internal.api.MyRenaultHttpSession] - Login Error: cookie value not found! Response: {
  "callId": "89021a215c48449fb8b63da7d541909e",
  "errorCode": 403042,
  "errorDetails": "invalid loginID or password",
  "errorMessage": "Invalid LoginID",
  "apiVersion": 2,
  "statusCode": 403,
  "statusReason": "Forbidden",
  "time": "2024-09-15T15:19:48.639Z"
}
17:19:48.660 [WARN ] [nault.internal.handler.RenaultHandler] - Error My Renault Http Session.
org.openhab.binding.renault.internal.api.exceptions.RenaultException: Login Error: cookie value not found in JSON response
	at org.openhab.binding.renault.internal.api.MyRenaultHttpSession.login(MyRenaultHttpSession.java:116) ~[?:?]
	at org.openhab.binding.renault.internal.api.MyRenaultHttpSession.initSesssion(MyRenaultHttpSession.java:78) ~[?:?]
	at org.openhab.binding.renault.internal.handler.RenaultHandler.getStatus(RenaultHandler.java:252) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
	at java.lang.Thread.run(Thread.java:833) [?:?]
17:19:48.669 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'renault:car:ZOE9a811f5aad' changed from UNKNOWN to OFFLINE (COMMUNICATION_ERROR): Login Error: cookie value not found in JSON response
17:19:49.015 [WARN ] [nault.internal.handler.RenaultHandler] - Disabling unsupported HVAC status update.
17:19:49.079 [WARN ] [nault.internal.handler.RenaultHandler] - Disabling unsupported cockpit status update.
17:19:49.128 [WARN ] [nault.internal.handler.RenaultHandler] - Disabling unsupported location update.
17:19:49.193 [WARN ] [nault.internal.handler.RenaultHandler] - Disabling unsupported battery update.
17:19:49.261 [WARN ] [nault.internal.handler.RenaultHandler] - Disabling unsupported lock status update.

Has your online services expired? The online stuff was working for 3 years but then we had to pay for the service in the my Renault website…

He found a typo:

1 Like

Can you add suport for channels from fuel Renault?
When I use this binding with my car (it is Arkana 1.3TCe) i get ex. odometr , location, last update but there is missing or not working - remaining fuel and remaining millage . I need them to see in OH that I need go to the gas station.

Hello, I have installed the Renault binding, the thing is ā€œonlineā€ but none of the items I created to link to the channels are getting updated…

I must be missing something obvious but I’m not able to spot what…

Any advise would be welcome.

Thanks,

Double check your credentials.

What values does the Renault App show?
Are your Online services may be expired?

@thefathefa

If everything @sihui says fails then check the openhab.log Is there an error?

I had the problem yesterday that the data services were deactivated… The error was in the Andriod App, but not the binding… The binding reported: ā€œEnsure the car is paired in your MyRenault Appā€ in the log file.

Thank you @sihui for your answer.

Renault App show the battery% accurately, the remaining range as well… (and not that many other info, but this is more because I believe the app is relatively poor than another type of problem :grinning_face:).

The credentials seem to be ok: I tried removing one letter from the password and the thing turns offline immediately with an explicit error message in Main UI. And the thing goes back online when I fix the password. I thought it might have been the way I entered the VIN but when I change it to something wrong intentionally, I have a very explicit error message + the thing goes offline immediately…

Thanks @Doug_Culnane for chiming in…

In the openhab log, I see only the traditional initializing messages last one being that the thing is ONLINE…

If there is nothing in the openhab.log to indicate an error I am not sure what the issue is. You can set the logging level to debug and post the log output here (removing private info) and maybe that will give us some clues.

Do you still have current subscriptions?

I no longer have one for the navigation system and so the location is no longer updated… :frowning:

Hi, sorry for coming back to you so late… I found the problem : I used the plate number instead of the VIN… The thing became online and there was no error message in the log.
I thought I had tested changing the number (the plate number) to a fake one and got the thing to turn offline, so I thought that this input was ok, but I’m not able to reproduce this, so…

Anyways, entering the proper V.I.N it worked right away.

Thank you for your help.

1 Like

Anyone not getting updates from the car? Do you have this error in your log?

[WARN ] [ault.internal.handler.RenaultHandler] - Error My Renault Http Session.
org.openhab.binding.renault.internal.api.exceptions.RenaultNotImplementedException: Kamereon service not found

I think something has changed on the server side. I will add a catch to try and fix this. Disabling and re-enabling the thing got it working again for me. Any info from users would be helpful.