ReneNulschDE / mbapipy

MercedesME platform as a Custom Component for Home Assistant.
MIT License
24 stars 11 forks source link

Switch to new #BYOCAR API #24

Open danielrheinbay opened 4 years ago

danielrheinbay commented 4 years ago

Currently, mbapipy pretends to be the Mercedes Me app running on Android 6.0 to access Mercedes-Benz APIs (see apicontroller.py#L37), which is not an officially supported way to use the APIs and therefore may stop working at any time. Mercedes-Benz has recently launched their #BYOCAR initiative, allowing users to access select APIs free of charge. Find details here: https://developer.mercedes-benz.com/news/byocar Let's consider switching to the BYOCAR APIs so as to ensure mbapipy works in future, too.

Disclosure: I'm affiliated with Daimler as indicated in my GitHub profile. However, I am filing this issue in my private interest as I am a user of mbapipy, to which I have contributed in the past (#10). This is in no way related to my work at Daimler.

ReneNulschDE commented 4 years ago

Hi Daniel,

thanks. I have seen the announcement and started already some tests, as I have asked the MB-Dev team to open the API for private persons since two years.

I plan to start a new version of this component and support the new API (and adopt all the new stuff in HA core). However, my time is limited currently and the vacation season starts soon :-) If someone would like to help - please post a note in the HA-Forum

But, I will keep this version here alive as long as I can. - it offers much more attributes then the BYOC v1.