home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.97k stars 29.05k forks source link

Mercedes me - install failed #12320

Closed Cooper-Dale closed 6 years ago

Cooper-Dale commented 6 years ago

Home Assistant release (hass --version):0.63.0 Python release (python3 --version):Python 3.6.0 Component/platform:mercedes me Description of problem:Component install failed

Log with mercedesme:

2018-02-11 21:50:13 INFO (MainThread) [homeassistant.loader] Loaded mercedesme from homeassistant.components.mercedesme
2018-02-11 21:50:18 INFO (SyncWorker_0) [homeassistant.util.package] Attempting install of mercedesmejsonpy==0.1.2
2018-02-11 21:50:56 ERROR (SyncWorker_0) [homeassistant.util.package] Unable to install package mercedesmejsonpy==0.1.2: Command "/srv/homeassistant/homeassistant_venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6j6_hhus/lxml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-oyqtx2nu-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/homeassistant_venv/include/site/python3.6/lxml" failed with error code 1 in /tmp/pip-build-6j6_hhus/lxml/
2018-02-11 21:50:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518382256.746473, level=ERROR, message=Unable to install package mercedesmejsonpy==0.1.2: Command "/srv/homeassistant/homeassistant_venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6j6_hhus/lxml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-oyqtx2nu-record/install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/homeassistant_venv/include/site/python3.6/lxml" failed with error code 1 in /tmp/pip-build-6j6_hhus/lxml/, exception=, source=util/package.py>
2018-02-11 21:50:56 ERROR (MainThread) [homeassistant.requirements] Not initializing mercedesme because could not install requirement mercedesmejsonpy==0.1.2
2018-02-11 21:50:56 ERROR (MainThread) [homeassistant.setup] Setup failed for mercedesme: Could not install all requirements.
2018-02-11 21:50:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518382256.7712722, level=ERROR, message=Not initializing mercedesme because could not install requirement mercedesmejsonpy==0.1.2, exception=, source=requirements.py>
2018-02-11 21:50:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518382256.7775927, level=ERROR, message=Setup failed for mercedesme: Could not install all requirements., exception=, source=setup.py>
 - [mercedesme](https://home-assistant.io/components/mercedesme/)
 - [mercedesme](https://home-assistant.io/components/mercedesme/)
ReneNulschDE commented 6 years ago

could you please give me some details about your environment?

the used library has two requirements. lxml>=4.1.0 requests>=2.18.4

requests should be part of HA also. So I assume that the lxml library can't be installed on your system.

Cooper-Dale commented 6 years ago

pip freeze in my AIO script installation

(homeassistant_venv) homeassistant@raspberrypi3:/home/pi$ pip freeze aiohttp==2.3.10 aiohttp-cors==0.6.0 astral==1.5 async-timeout==2.0.0 Babel==2.5.1 certifi==2018.1.18 chardet==3.0.4 colorlog==3.1.2 Cython==0.24.1 distro==1.2.0 docopt==0.6.2 enum-compat==0.0.2 Flask==0.10.1 Flask-Babel==0.9 Flask-SocketIO==2.9.2 Flask-Themes==0.1.3 Flask-WTF==0.9.5 fuzzywuzzy==0.16.0 gevent==1.1.1 gevent-socketio==0.3.6 gevent-websocket==0.10.1 google-api-python-client==1.6.4 greenlet==0.4.12 gTTS-token==1.1.1 holidays==0.9.3 home-assistant-frontend==20180209.0 homeassistant==0.63.0 httplib2==0.10.3 idna==2.6 idna-ssl==1.0.0 itsdangerous==0.24 Jinja2==2.10 jsonrpc-async==0.6 jsonrpc-base==1.0 jsonrpc-websocket==0.5 libopenzwave==0.3.3 librouteros==1.0.5 MarkupSafe==1.0 multidict==4.1.0 mutagen==1.40.0 netdisco==1.2.4 netifaces==0.10.6 numpy==1.14.0 oauth2client==4.0.0 openzwave==0.3.3 paho-mqtt==1.3.1 protobuf==3.5.1 psutil==5.4.3 pushbullet.py==0.11.0 pyasn1==0.3.7 pyasn1-modules==0.1.4 PyChromecast==1.0.3 PyDispatcher==2.0.5 pyfttt==0.3 pyozwman==0.3.3 pyozwweb==0.3.3 python-dateutil==2.6.1 python-engineio==1.7.0 python-magic==0.4.13 python-nmap==0.6.1 python-socketio==1.8.1 pytz==2018.3 PyYAML==3.12 requests==2.18.4 rsa==3.4.2 six==1.11.0 speaklater==1.3 speedtest-cli==1.0.7 SQLAlchemy==1.2.2 thingspeak==0.4.1 typing==3.6.4 ua-parser==0.7.3 uritemplate==3.0.0 urllib3==1.22 urwid==1.3.1 user-agents==1.1.0 voluptuous==0.10.5 wakeonlan==1.0.0 WebOb==1.7.3 websocket-client==0.44.0 Werkzeug==0.12.2 WTForms==1.0.5 yahooweather==0.10 yarl==1.1.0 youtube-dl==2018.1.21 zeroconf==0.19.1

ReneNulschDE commented 6 years ago

Thx, please share information of the used Raspberry OS.

could you try to install the lxml requirements and then try again. sudo apt-get install libxml2-dev libxslt-dev python-dev

If this works, I'll update the docs. Thx

Cooper-Dale commented 6 years ago

Because I am running HA in virtualenv so pip install lxml solved missing lxml, now i am running lxml==4.1.1 Now I have different problem:

2018-02-12 12:01:25 INFO (MainThread) [homeassistant.loader] Loaded mercedesme from homeassistant.components.mercedesme
2018-02-12 12:01:33 INFO (SyncWorker_11) [homeassistant.util.package] Attempting install of mercedesmejsonpy==0.1.2
2018-02-12 12:01:52 INFO (MainThread) [homeassistant.setup] Setting up mercedesme
2018-02-12 12:01:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: service=load_platform.binary_sensor, platform=mercedesme, discovered=>
2018-02-12 12:01:55 INFO (MainThread) [homeassistant.setup] Setup of domain mercedesme took 3.5 seconds.
2018-02-12 12:01:55 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=mercedesme>
2018-02-12 12:01:55 INFO (MainThread) [homeassistant.loader] Loaded binary_sensor.mercedesme from homeassistant.components.binary_sensor.mercedesme
2018-02-12 12:01:55 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.mercedesme
2018-02-12 12:01:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: service=load_platform.sensor, platform=mercedesme, discovered=>
2018-02-12 12:01:56 INFO (MainThread) [homeassistant.loader] Loaded sensor.mercedesme from homeassistant.components.sensor.mercedesme
2018-02-12 12:01:56 ERROR (MainThread) [homeassistant.components.sensor] mercedesme: Error on device update!
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/sensor/mercedesme.py", line 54, in update
2018-02-12 12:01:56 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518433316.2807324, level=ERROR, message=mercedesme: Error on device update!, exception=Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/sensor/mercedesme.py", line 54, in update
, source=components/sensor/mercedesme.py>
2018-02-12 12:02:07 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: service=load_platform.device_tracker, platform=mercedesme, discovered=>
2018-02-12 12:02:07 INFO (MainThread) [homeassistant.loader] Loaded device_tracker.mercedesme from homeassistant.components.device_tracker.mercedesme
2018-02-12 12:02:10 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform mercedesme
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 31, in setup_scanner
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 43, in __init__
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 53, in update_info
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/mercedesmejsonpy/controller.py", line 62, in get_location
2018-02-12 12:02:11 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518433330.3057864, level=ERROR, message=Error setting up platform mercedesme, exception=Traceback (most recent call last):
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 31, in setup_scanner
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 43, in __init__
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 53, in update_info
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/mercedesmejsonpy/controller.py", line 62, in get_location
, source=components/device_tracker/mercedesme.py>
2018-02-12 12:02:56 INFO (SyncWorker_9) [homeassistant.components.mercedesme] Updating Mercedes me component.
2018-02-12 12:04:01 INFO (SyncWorker_15) [homeassistant.components.mercedesme] Updating Mercedes me component.
2018-02-12 12:05:01 INFO (SyncWorker_3) [homeassistant.components.mercedesme] Updating Mercedes me component.
2018-02-12 12:06:03 INFO (SyncWorker_17) [homeassistant.components.mercedesme] Updating Mercedes me component.

I am running Raspbian GNU/Linux 9 (stretch) on Rpi3

ReneNulschDE commented 6 years ago

Do you have the location service enabled in the mercedesme app or mercedesme portal? In which country is your car registered?

Are you interessted in a deeper analysis? If yes, send me a short message to github12320 (at) nulsch (dot) de.

ReneNulschDE commented 6 years ago

I have added a note to the documentation and created a PR with checks for available features. #12342

krsandvik commented 6 years ago

Home Assistant release (hass --version): 0.63.1 Python release (python3 --version): Python 3.6.0

I also have some issues with the mercedes me component, I don't know if it ok to post it on this issues, if not tell me and I will delete the post.

I live in Norway and registered me car yesterday and have been driving for on trip, without getting any data in home assistant. It is a Mercedes E220 2010 modell with Mercedes Me adapter

2018-02-12 21:30:27 ERROR (MainThread) [homeassistant.components.device_tracker] Error setting up platform mercedesme
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py", line 169, in async_setup_platform
    disc_info)
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 331, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
    future.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 31, in setup_scanner
    MercedesMEDeviceTracker(hass, config, see, data)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 43, in __init__
    self.update_info()
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 306, in wrapper
    result = method(*args, **kwargs)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 53, in update_info
    location = self.data.get_location(device["vin"])
  File "/srv/homeassistant/lib/python3.6/site-packages/mercedesmejsonpy/controller.py", line 62, in get_location
    return json.loads(location_response.content.decode('utf8'))['data']
  File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2018-02-12 21:30:27 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518467427.7032056, level=ERROR, message=Error setting up platform mercedesme, exception=Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/__init__.py", line 169, in async_setup_platform
    disc_info)
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 331, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
    future.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 31, in setup_scanner
    MercedesMEDeviceTracker(hass, config, see, data)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 43, in __init__
    self.update_info()
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/util/__init__.py", line 306, in wrapper
    result = method(*args, **kwargs)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/device_tracker/mercedesme.py", line 53, in update_info
    location = self.data.get_location(device["vin"])
  File "/srv/homeassistant/lib/python3.6/site-packages/mercedesmejsonpy/controller.py", line 62, in get_location
    return json.loads(location_response.content.decode('utf8'))['data']
  File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
, source=components/device_tracker/mercedesme.py>
2018-02-12 21:30:31 ERROR (MainThread) [homeassistant.components.sensor] mercedesme: Error on device update!
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 197, in _async_add_entity
    yield from entity.async_device_update(warning=False)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update
    yield from self.hass.async_add_job(self.update)
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 331, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
    future.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/mercedesme.py", line 54, in update
    self._state = self._car["latestTrip"]["id"]
TypeError: 'NoneType' object is not subscriptable
2018-02-12 21:30:31 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518467431.3834827, level=ERROR, message=mercedesme: Error on device update!, exception=Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 197, in _async_add_entity
    yield from entity.async_device_update(warning=False)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update
    yield from self.hass.async_add_job(self.update)
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 331, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
    future.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/mercedesme.py", line 54, in update
    self._state = self._car["latestTrip"]["id"]
TypeError: 'NoneType' object is not subscriptable
, source=components/sensor/mercedesme.py>
ReneNulschDE commented 6 years ago

hi, thank you for reporting. This should be fixed already and will be part of 0.63.2. The fix is already available in the DEV branch. With the fix we check if certain features are available.

krsandvik commented 6 years ago

Great!

But is it a problem that a lot of the info from this site is "NULL" or not "SERVICE_NOT_SIGNED"? I have some information in the app. I am aware with the OBD adapter the data is limited, but odometer, car location and fuel level should be possible to read out

https://ui.meapp.secure.mercedes-benz.com/api/v1.1/me

{"user":{"ciam":"dasfa","settings":{"vehicleSettings":[{"lastMileNavigation":true,"notifyOnBatteryCharging":false,"notifyOnUnlocked":true,"bluetooth":true,"vin":"fdsfsd","suggestedDestinations":true}],"notifyOnTraffic":false,"trackAppUsage":true,"notifyOnNewsfeed":false},"vehicles":[{"uuid":"sfas-e3cf-asf-950d-sadf","vin":"sfasa","latestTrip":null,"ignitionState":null,"fuelLevelPercent":null,"frontRightDoorLocked":null,"rearRightDoorLocked":null,"rearLeftDoorLocked":null,"frontLeftDoorLocked":null,"fuelLidClosed":null,"frontRightDoorClosed":null,"rearRightDoorClosed":null,"rearLeftDoorClosed":null,"frontLeftDoorClosed":null,"trunkClosed":null,"trunkLocked":null,"frontRightTirePressure":null,"frontLeftTirePressure":null,"rearRightTirePressure":null,"rearLeftTirePressure":null,"frontRightTirePressureKpa":null,"frontLeftTirePressureKpa":null,"rearRightTirePressureKpa":null,"rearLeftTirePressureKpa":null,"warningBackupBattery":null,"warningBrakeFluid":null,"warningBrakeLineWear":null,"warningCoolantLevelLow":null,"warningEngineLight":null,"warningGenerator":null,"warningLowBattery":null,"batteryState":null,"warningStartEngine":null,"warningWashWater":null,"tireWarningPrw":null,"serviceIntervalDays":null,"serviceIntervalDistance":null,"parkingBrakeStatus":null,"fuelRangeKm":null,"electricRangeKm":null,"electricChargePercent":null,"electricChargingStatus":null,"trackingStateHU":null,"model":"E 220 CDI BlueEFFICIENCY Estate","license":"DR42481","year":null,"numberOfDoors":null,"odometerKm":null,"auxiliaryHeater":null,"tirePressureScope":null,"tireWarningLight":null,"lightSwitchPosition":null,"tireMarkerFrontLeft":null,"tireMarkerFrontRight":null,"tireMarkerRearRight":null,"tireMarkerRearLeft":null,"tireWarningRdk":null,"windowStatusFrontLeft":null,"windowStatusFrontRight":null,"windowStatusRearLeft":null,"windowStatusRearRight":null,"tankReserveLamp":null,"rooftopStatus":null,"sunroofStatus":null,"liquidConsumptionReset":null,"liquidConsumptionStart":null,"averageSpeedStart":null,"averageSpeedReset":null,"drivenTimeStart":null,"drivenTimeReset":null,"distanceStart":null,"distanceReset":null,"departureTime":null,"departureTimeUtc":null,"departureTimeSoc":null,"maxRange":null,"departureProfile":null,"precondAtDeparture":null,"distanceZeStart":null,"distanceZeReset":null,"drivenTimeZeStart":null,"drivenTimeZeReset":null,"electricConsumptionStart":null,"electricConsumptionReset":null,"distanceElectricalStart":null,"distanceElectricalReset":null,"precondActive":null,"mbappsEnabled":null,"lastUpdate":0,"lastTheftWarning":null,"availabilities":{"odometerKm":"SERVICE_NOT_SIGNED","fuelLevelPercent":"SERVICE_NOT_SIGNED","frontRightDoorLocked":"SERVICE_NOT_SIGNED","frontLeftDoorLocked":"SERVICE_NOT_SIGNED","rearRightDoorLocked":"SERVICE_NOT_SIGNED","rearLeftDoorLocked":"SERVICE_NOT_SIGNED","locked":"SERVICE_NOT_SIGNED","fuelLidClosed":"SERVICE_NOT_SIGNED","frontRightDoorClosed":"SERVICE_NOT_SIGNED","frontLeftDoorClosed":"SERVICE_NOT_SIGNED","rearRightDoorClosed":"SERVICE_NOT_SIGNED","rearLeftDoorClosed":"SERVICE_NOT_SIGNED","trunkClosed":"SERVICE_NOT_SIGNED","trunkLocked":"SERVICE_NOT_SIGNED","doorsClosed":"SERVICE_NOT_SIGNED","rooftopStatus":"SERVICE_NOT_SIGNED","sunroofStatus":"SERVICE_NOT_SIGNED","frontLeftTirePressureKpa":"SERVICE_NOT_SIGNED","frontRightTirePressureKpa":"SERVICE_NOT_SIGNED","rearLeftTirePressureKpa":"SERVICE_NOT_SIGNED","rearRightTirePressureKpa":"SERVICE_NOT_SIGNED","frontLeftTirePressure":"SERVICE_NOT_SIGNED","frontRightTirePressure":"SERVICE_NOT_SIGNED","rearLeftTirePressure":"SERVICE_NOT_SIGNED","rearRightTirePressure":"SERVICE_NOT_SIGNED","tirePressureScope":"SERVICE_NOT_SIGNED","warningBackupBattery":"SERVICE_NOT_SIGNED","warningBrakeFluid":"SERVICE_NOT_SIGNED","warningBrakeLineWear":"SERVICE_NOT_SIGNED","warningCoolantLevelLow":"SERVICE_NOT_SIGNED","warningEngineLight":"SERVICE_NOT_SIGNED","warningGenerator":"SERVICE_NOT_SIGNED","warningLowBattery":"SERVICE_NOT_SIGNED","batteryState":"SERVICE_NOT_SIGNED","warningStartEngine":"SERVICE_NOT_SIGNED","warningWashWater":"SERVICE_NOT_SIGNED","tireWarningPrw":"SERVICE_NOT_SIGNED","tireWarningLight":"SERVICE_NOT_SIGNED","serviceIntervalDays":"SERVICE_NOT_SIGNED","serviceIntervalDistance":"SERVICE_NOT_SIGNED","parkingBrakeStatus":"SERVICE_NOT_SIGNED","fuelRangeKm":"SERVICE_NOT_SIGNED","electricRangeKm":"SERVICE_NOT_SIGNED","lastTheftWarning":"SERVICE_NOT_SIGNED","lightSwitchPosition":"SERVICE_NOT_SIGNED","tireMarkerFrontLeft":"SERVICE_NOT_SIGNED","tireMarkerFrontRight":"SERVICE_NOT_SIGNED","tireMarkerRearLeft":"SERVICE_NOT_SIGNED","tireMarkerRearRight":"SERVICE_NOT_SIGNED","tireWarningRdk":"SERVICE_NOT_SIGNED","auxiliaryHeater":"NOT_PRESENT","windowStatusFrontLeft":"SERVICE_NOT_SIGNED","windowStatusFrontRight":"SERVICE_NOT_SIGNED","windowStatusRearLeft":"SERVICE_NOT_SIGNED","windowStatusRearRight":"SERVICE_NOT_SIGNED","windowsClosed":"SERVICE_NOT_SIGNED","ignitionState":"SERVICE_NOT_SIGNED","tankReserveLamp":"SERVICE_NOT_SIGNED","latestTrip":"SERVICE_NOT_SIGNED","tireWarningRollup":"SERVICE_NOT_SIGNED","preconditionActive":"NOT_PRESENT","precondActive":"NOT_PRESENT","electricChargePercent":"SERVICE_NOT_SIGNED","electricChargingStatus":"SERVICE_NOT_SIGNED","trackingStateHU":"SERVICE_NOT_SIGNED","liquidConsumptionReset":"NOT_PRESENT","liquidConsumptionStart":"NOT_PRESENT","averageSpeedStart":"NOT_PRESENT","averageSpeedReset":"NOT_PRESENT","drivenTimeStart":"NOT_PRESENT","drivenTimeReset":"NOT_PRESENT","distanceStart":"NOT_PRESENT","distanceReset":"NOT_PRESENT","precondAtDeparture":"NOT_PRESENT","departureTime":"NOT_PRESENT","departureTimeUtc":"SERVICE_NOT_SIGNED","maxRange":"SERVICE_NOT_SIGNED","departureTimeSoc":"SERVICE_NOT_SIGNED","departureProfile":"SERVICE_NOT_SIGNED","distanceZeStart":"NOT_PRESENT","distanceZeReset":"NOT_PRESENT","drivenTimeZeStart":"NOT_PRESENT","drivenTimeZeReset":"NOT_PRESENT","electricConsumptionReset":"NOT_PRESENT","electricConsumptionStart":"NOT_PRESENT","distanceElectricalStart":"NOT_PRESENT","distanceElectricalReset":"NOT_PRESENT","distancePlugInStart":"NOT_PRESENT","distancePlugInReset":"NOT_PRESENT","drivenTimePlugInStart":"NOT_PRESENT","drivenTimePlugInReset":"NOT_PRESENT","overallRangeKm":"SERVICE_NOT_SIGNED","overallRangePercent":"SERVICE_NOT_SIGNED","numberOfDoors":"SERVICE_NOT_SIGNED"},"services":{"REMOTE_DOOR_CONTROL":false,"PREDICTIVE":false,"PARKING":false,"VEHICLE_FINDER":false,"CONCIERGE":false,"REMOTE_AUX_HEAT":false,"LIVE_TRAFFIC":false,"REMOTE_STATUS":false,"DOOR2DOOR":false,"VEHICLE_TRACKER":false,"REMOTE_CHARGING_CONTROL":false},"tireWarningRollup":null,"preconditionActive":null,"doorsClosed":null,"windowsClosed":null,"distancePlugInStart":null,"distancePlugInReset":null,"drivenTimePlugInStart":null,"drivenTimePlugInReset":null,"overallRangeKm":null,"overallRangePercent":null,"locked":null}],"savedLocations":[],"home":null,"work":null},"app":{"remote_configuration":{"cacNumber":"0080097777777","vhaRootUrl":"https://app.secure.mercedes-benz.com/backend/","dealerSearchUrl":"http://dealersearch.mercedes-benz.com/is-bin/intershop.static/WFS/outlet-de-wholesale-consumer-Site/-/de_DE/widget/dealerselector/theme/eMB-MyM-DL/search.html?sku=mb_connect_general&organization=outlet-emb-us&locale=en_US","newsfeedUrl":"https://newsfeed.meapp.secure.mercedes-benz.com/api/v2/newsfeed?locale=en_US"}}}

ReneNulschDE commented 6 years ago

What app do you use? Looks like the OBD adapter is handled differently.

Could we switch to the Forum?

ReneNulschDE commented 6 years ago

@Cooper-Dale could you please recheck? Your issue should be solved. The issue from @krsandvik is related to the currently not supported OBD adapter and we try to find a solution in the forum.

Cooper-Dale commented 6 years ago

it looks much better, now I have nice warnings: grep for my licence plate

2018-02-15 22:11:48 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729108.887767, level=WARNING, message=The feature fuelLevelPercent is not available for your car CZxxxx, exception=, source=components/sensor/mercedesme.py>
2018-02-15 22:11:49 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729108.9851089, level=WARNING, message=The feature fuelRangeKm is not available for your car CZxxxx, exception=, source=components/sensor/mercedesme.py>
2018-02-15 22:11:49 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729108.9959242, level=WARNING, message=The feature latestTrip is not available for your car CZxxxx, exception=, source=components/sensor/mercedesme.py>
2018-02-15 22:11:49 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729109.0042346, level=WARNING, message=The feature odometerKm is not available for your car CZxxxx, exception=, source=components/sensor/mercedesme.py>
2018-02-15 22:11:49 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729109.0150626, level=WARNING, message=The feature serviceIntervalDays is not available for your car CZxxxx, exception=, source=components/sensor/mercedesme.py>
2018-02-15 22:11:50 WARNING (SyncWorker_10) [homeassistant.components.binary_sensor.mercedesme] The feature doorsClosed is not available for your car CZxxxx
2018-02-15 22:11:50 WARNING (SyncWorker_10) [homeassistant.components.binary_sensor.mercedesme] The feature locked is not available for your car CZxxxx
2018-02-15 22:11:50 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729110.417885, level=WARNING, message=The feature doorsClosed is not available for your car CZxxxx, exception=, source=components/binary_sensor/mercedesme.py>
2018-02-15 22:11:50 WARNING (SyncWorker_10) [homeassistant.components.binary_sensor.mercedesme] The feature tireWarningLight is not available for your car CZxxxx
2018-02-15 22:11:50 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729110.4250634, level=WARNING, message=The feature locked is not available for your car CZxxxx, exception=, source=components/binary_sensor/mercedesme.py>
2018-02-15 22:11:50 WARNING (SyncWorker_10) [homeassistant.components.binary_sensor.mercedesme] The feature windowsClosed is not available for your car CZxxxx
2018-02-15 22:11:50 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729110.4372556, level=WARNING, message=The feature tireWarningLight is not available for your car CZxxxx, exception=, source=components/binary_sensor/mercedesme.py>
2018-02-15 22:11:50 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518729110.4498844, level=WARNING, message=The feature windowsClosed is not available for your car CZxxxx, exception=, source=components/binary_sensor/mercedesme.py>

my adapter has not been installed jet, so my Me portal is empty