ReneNulschDE / mbapipy

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

Error in Configuration #16

Closed dac21 closed 4 years ago

dac21 commented 4 years ago

Tried to install for my wife's car. Am able to log into MdercedesMe without issue and see her vehicle.

Configuration mercedesmeapi: username: !secret mercedes.account password: !secret mercedes.password pin: !secret mercedes.pin country_code: US accept_lang: en_US save_car_details: true

Error log Tue Jan 14 2020 19:14:40 GMT-0500 (Eastern Standard Time) Error during setup of component mercedesmeapi Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 176, in _async_setup_component component.setup, hass, processed_config # type: ignore File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/mercedesmeapi/init.py", line 115, in setup hass.config.path(""), File "/config/custom_components/mercedesmeapi/apicontroller.py", line 315, in init self._get_cars() File "/config/custom_components/mercedesmeapi/apicontroller.py", line 511, in _get_cars response.content.decode('utf8'))['vehicles'] KeyError: 'vehicles'

ReneNulschDE commented 4 years ago

For the US/CA market only cars are supported that are available in the app "MercedesME connect" and not "MercedesME". (Newer Cars like 2019 GLC, GLE)

What app do you use?

dac21 commented 4 years ago

I use mercedesme. My wife has a 2016 GLX

On Tue, Jan 14, 2020 at 11:37 PM Rene Nulsch notifications@github.com wrote:

For the US/CA market only cars are supported that are available in the app "MercedesME connect" and not "MercedesME". (Newer Cars like 2019 GLC, GLE)

What app do you use?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ReneNulschDE/mbapipy/issues/16?email_source=notifications&email_token=AISFF7L7F5AQVAPO2FGYDATQ52HGTA5CNFSM4KG3V64KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI7A32Q#issuecomment-574492138, or unsubscribe https://github.com/notifications/unsubscribe-auth/AISFF7PYKFFHGE2ZKGIQTH3Q52HGTANCNFSM4KG3V64A .

-- Dennis dennis@case.edu 216-368-1093

ReneNulschDE commented 4 years ago

These cars with old app are not supported by this component, unfortunately and there are no plans to implement currently.