node-red-contrib / node-red-contrib-renault-ze

node-red extension to fetch the status from your renault connected car
Apache License 2.0
19 stars 6 forks source link

Mileage not working anymore #106

Closed JapieG closed 1 month ago

JapieG commented 2 months ago

since 12:00 today mileage is not retrieving anymore. (/cockpit endpoint)

It gives me this message back:

message: "you should not be there but well done for the effort"

Any ideas?

JapieG commented 2 months ago

https://github.com/hacf-fr/renault-api/issues/1135

JapieG commented 2 months ago

https://tweakers.net/i/_cjZywu5Df-hGipXXDfp2j5M3eU=/full-fit-in/4920x3264/filters:max_bytes(3145728):no_upscale():strip_icc():fill(white):strip_exif()/f/image/a7zJHmf6J0LP7rFKQEpO2jYe.jpg?f=user_large

comment the line as shown in the picture to force v1 of the API endpoint and it works again.

Edit: So this line needs to be deleted from the code: https://github.com/node-red-contrib/node-red-contrib-renault-ze/blob/18d30eb593ca2aaadca9b0651fab49d491fc2a72/src/ZEServices.ts#L449

tetti-de commented 2 months ago

Many thanks to JapieG, the change worked.

JapieG commented 2 months ago

Many thanks to JapieG, the change worked.

The credits go to @eltoro0815. I only re-implemented it in the nodes code 😉

konne commented 1 month ago

@JapieG @tetti-de @eltoro0815 thanks for highlighting and pointing to the issue. This is fixed in the newest version: 1.4.3