Remove car from controller #477
Replies: 5 comments 2 replies
-
I'm facing the same problem. I'm thinking about submitting a merge request where the save_cars function checks the config file for blacklisted VINs and skips writing it to the cars.json file on initialization. Blacklisted VINs could be specified on the config file. Any comments, @flobz ? |
Beta Was this translation helpful? Give feedback.
-
Hello,
Did you try to remove your car from MyCitroen website ?
I had a similar issue a while ago, and it was solved by using the
website instead of the app.
Regards.
Le 2023-03-29T17:00:49.000+02:00, nosuchuser
***@***.***> a écrit :
… I'm facing the same problem.
So far, I've tried to contact Citroen's support (no luck, their
first suggestion was to delete the vehicle from the MyCitroen app),
apply for an API key on Stellantis to make the call and remove the
old VIN (still no response on the request) and now I'm looking at
the code to do it myself.
I'm thinking about submitting a merge request where the save_cars
function checks the config file for blacklisted VINs and skips
writing it to the cars.json file on initialization. Blacklisted VINs
could be specified on the config file.
***@***.*** [https://github.com/flobz] ?
—
Reply to this email directly, view it on GitHub
[#477 (comment)],
or unsubscribe
[https://github.com/notifications/unsubscribe-auth/AADEBM6IICVB47TGZAVDX7TW6RFCDANCNFSM6AAAAAAULTVQLU].
You are receiving this because you are subscribed to this
thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
That's a good insight - but it doesn't work. The website works so much better than the mobile app. Having said so, I gave it a go, logged in and the only car that appears is the one I want to keep. The one I deleted does not show - but the VIN is returned via API. So far, I've managed to establish two distinct areas on the PSA car controller code where a carefully crafted "if" clause skips the execution, so the events from the other car are not processed as I originally wanted. I may look into more concise and efficient ways to do this later. Thanks anyway! |
Beta Was this translation helpful? Give feedback.
-
Hi, please, can tell me what file and line? I have a same problem, the old vehicle always exist.... thanks |
Beta Was this translation helpful? Give feedback.
-
Until Stellantis removed, at my request, the VIN from my account (which took a while), I changed get_vehicles on https://github.com/flobz/psa_car_controller/blob/master/psa_car_controller/psacc/application/psa_client.py to be the following:
Replace 'VR7BCZKXxxxxxxxxx' by the "bad" VIN. |
Beta Was this translation helpful? Give feedback.
-
Hi,
How can I remove an old car VIN from the application. The car is not visible in the iphone or android app, but it shows up in this application. I tried by removing it from cars.json and charge_config.json. Anyway, it comes back after running the psa-car-controller
psa-car-controller -f config.json -c charge_config.json -r -R 5
Beta Was this translation helpful? Give feedback.
All reactions