renault-api icon indicating copy to clipboard operation
renault-api copied to clipboard

Charges history no more working

Open jumpjack opened this issue 1 year ago • 4 comments

Using /commerce/v1/accounts/{account_id}/kamereon/kca/car-adapter/v1/cars/{vin}/charges?start=20230101&end=20230201&type=day I get "Not Found: There is no rows charge history for the vin xxxxxxxxxxxxx"

But Renault android app properly returns charges, so what's wrong here?

Instead when using /commerce/v1/accounts/{account_id}/kamereon/kca/car-adapter/v1/cars/{vin}/charge-history I get "message you should not be there but well done for the effort".

What did they change in the API?!?

jumpjack avatar Dec 11 '24 14:12 jumpjack

Am I the only one with this issue?

This command:

renault-api charge sessions --from 10/11/20 --to 11/11/20

raises this error:

There is no rows charge history for the vin

But Renault app shows all my charges history as usual.

jumpjack avatar Dec 17 '24 08:12 jumpjack

Well, I eventually found the "solution": Renault deleted from their server all my charging data before 12/jun/2024. :-( (Car purchased on 2020!!)

Command still works fine after such date.

jumpjack avatar Dec 17 '24 08:12 jumpjack

Instead when using /commerce/v1/accounts/{account_id}/kamereon/kca/car-adapter/v1/cars/{vin}/charge-history I get "message you should not be there but well done for the effort".

Same here!

paulomorgado avatar Dec 18 '24 20:12 paulomorgado

From what I saw using the app, either the charges from more than 10 days are deleted OR only the last 10 charges are remembered. I don't think they changed the API, more likely the retention policy.

The "you should not be there" is likely just a custom 404, since the apps are not gonna make a mistake with the url, only tinkerers will see it.

Ev3rdown avatar Jan 08 '25 16:01 Ev3rdown

There hasn't been any activity on this issue recently. Please make sure to update to the Renault API version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 24 '25 12:04 github-actions[bot]