jamesremuscat / pyze

Unofficial Python client and API for Renault ZE
MIT License
111 stars 29 forks source link

Happy testing! #103

Open jumpjack opened 2 years ago

jumpjack commented 2 years ago

I am glad to announce my "test page" for developers and hackers which want to explore their cars capabilities:

http://jumpjack.altervista.org/myrenault/

Have fun and share your results! ;-)

Note: you don't need to put your credentials in the online version, the page works fine also if you save it locally.

tkathulevej commented 2 years ago

Hi,

Has this stopped working lately? Trying log in just gives me the following in the debug window (although addressing the car using pyze works fairly well... When it's not sleeping that is :-/):

...... ], "myrRequest": false, "deceased": false, "accounts": [ { "accountId": "08dfbc39-f1b3-4129-8d61-42a3f04ce372", "accountType": "MYRENAULT", "accountStatus": "ACTIVE", "country": "DK", "personId": "7948ac0a-99a9-4208-8ba3-262bf6fd529d", "relationType": "OWNER" } ], "partyId": "443c8a87-7590-4d9e-84a6-1db27fd89f52", "createdDate": "2019-04-27T13:16:10.535223Z", "lastModifiedDate": "2022-01-31T16:55:05.949066Z", "functionalCreationDate": "2019-04-27T13:16:10.235860Z", "functionalModificationDate": "2022-01-31T16:55:03.779Z", "locale": "da-DK", "lastModificationOrigin": "MYRENAULT", "agreements": [], "parentPersonsLinks": [], "childPersonsLinks": [], "trackingId": "66a46fe94be20b6eea02dbd35303c493b7ec858ee7b5741e91629a9ca5769c32" }Found account, searching for VIN...

ERROR 003 for POST while getting VIN: Error: Request failed with status code 404

Br /tka

jumpjack commented 2 years ago

it is stilk working for me, maybe it's a temporary problem on servers?

tkathulevej commented 2 years ago

aah, okay seems to be problem in extractAccountId(accountIdResponse)

If you have only one account it fails

/tka

tkathulevej commented 2 years ago

....comment AccountId2-lines and changing in GetVIN makes it work here too :-)

/tka