jamesremuscat / pyze

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

Renault switched "cockpit" to v.1 #118

Closed iw2been closed 1 month ago

iw2been commented 4 months ago

Issue: Since last week pyze stopped working. Digging around on Internet I found that Renault switched "cockpit" back to v.1 , while pyze is using v.2. Fix/Workaround: in api/kamereon.py modify line#209in this way: def mileage(self): return self._get('cockpit', 1) In this way PyZE works and "pyze status" get results except: Other It seems Renault also did something about battery, 'cause pyze is not able to get percentage of charge. Modify "battery-status " to "1" or "2" doesn't solve the problem.

Badmeester commented 4 months ago

Hi. Thanks. This indeed fixes pyze. In my case the percentage of charge is working just fine. pyze status


Battery level 64%

jamesremuscat commented 4 months ago

Already resolved in develop branch by 9e6a2552728d7977758cbfa7af4d6cf49c7f156a.