Hi, here is an example how to setup the unlock.
Works perfectly!!!
I put in the data area {"code":"1234"}
(not real code lol) and it works flawlessly!
Thanks
hi, code is not needed. the component takes the code out of the configiration.yaml file.
Ah, you are correct (lol I know you are) - just tried it! Thanks!
the CODE in data did it for me. The unlock require the PIN code… and I do not think this is send automatically. the lock command do not need the pin. … funny.
In the json file; the image url is showed. super cool.
What about the image we see in the app (e.g. tire pressure details)
can we get the data about tire pressure ?
remember til add DK in the Notes: --> Tested countries: DK
Working great, thank you @ReneNulschDE for your great work and prompt responses to make this possible.
Hi Rene, have you had the chance to look at this one? Turn the climate_control on immediately or on given time (either is fine, as timings are easy to do in HA). Currently it makes automatic timing on midnight, which is a bit waste of batteries.
Hello from Canada. This integration works for me when selecting the US! Great work! Any chance in getting the Remote Start feature available?
Hi,
the tire pressure data is available as attributes in the tire warning sensor.
Please check the config from Manuel82. Posting No. 214 in this thread.
Hi,
I have pushed a new version to the master branch.
Changes:
- Add new switch “Remote Start” (Attributes: remoteEngine, remoteStartEndtime, remoteStartTemperature)
- New attribute “engineHoodClosed” in sensor “lock”
Both functions are only available if the car supports this.
@kzaoaai: Thank you. Great teamwork. Sorry, for draining your battery…
Next steps:
- Move attribute “warninglowbattery” from RangeElectric to a better place
- Rewrite to async
- Fix/Rewrite Precond
Hi @jake,
I’ll take a look in the next days. @jruoho has shared some code with me and I’ll try to adopt this.
HI, when setting this up with Hassio and HACS, I can see that the component loads, connects to Mercedes Me, but doesnt succeed.
Im having a Mercedes B200 in Spain and use the Mercedes Me app.
Any clue?
2020-01-15 11:59:27 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for mercedesmeapi which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-01-15 11:59:27 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for zigbee2mqtt_networkmap which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-01-15 11:59:27 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2020-01-15 11:59:38 DEBUG (SyncWorker_13) [custom_components.mercedesmeapi.oauth] start: custom_components.mercedesmeapi.oauth
2020-01-15 11:59:38 DEBUG (SyncWorker_13) [custom_components.mercedesmeapi] cached token found
2020-01-15 11:59:38 DEBUG (SyncWorker_13) [custom_components.mercedesmeapi.apicontroller] Controller init complete. Start _get_cars
2020-01-15 11:59:38 DEBUG (SyncWorker_13) [custom_components.mercedesmeapi.apicontroller] Me_status_response: {"user":{"ciamId":"00100a063a225182","firstName":"XXXX","lastName1":"XXXX","lastName2":null,"preferredLanguageCode":"es","accountCountryCode":"ES","havingPin":true,"formattedName":"XXXX XXXX","accountIdentifierText":"[email protected]"},"vehicles":[{"type":"STANDARD","fin":"CARNUMBER-EDITED","userRole":"MASTER_USER","vehicleTitle":"CARNUMBER-EDITED","licensePlate":null,"imageUrl":"https://europe.starconnect-ce.i.daimler.com/iris/iris.jpg?COSY-EU-100-1713d0VXqN8FqtyO35PobzIDAeWql9TQw2Mpxikzmxxom7ssM0uBUiSB2Z0iD%25W%25WiWm7GmHdhKHhzf%25v8OsEyLipxlYa4ZGQvqtO06LRcbakaxXIFmH1JQ9J8wO%25w%25iZbyjJVJ0lVIxOB2qM%25bApRT9I5uxfxQC31EWkzNwonm7jA6ZhKV5Kh%25vqCUjyLRzGXYax7oWrH1KM%25n8wvhwoiZL%25pM4FaTuTg9HbV6PDBkpSeWAe2tsd5vTcUfC8WXGEzbXJ0l7DZOB2KSF5EyLTljlYa6L6nvqt72zLRcKBklSeWTwu89QCZG2XApn0sY5uoBvbC3MZ9CzNTF0A7j6lP%25KVS2VTvqtpHQLRcu87axX3AnH1JN9H8wOcw8iZbXuT4FIJeHg9QOKrPDkbJIeWm2WcsdhpbvUf%25pvUGEyuLa0lY3iKB2rN48Apnji45zAGJbXpWg9Qb78PDkIKPeWmbVmzQC3lfUf%25laZbA6qAFI5SNtsdJy4cUfvUkXGELGXJ0laHZOB2iRcUNfDPeWmiV4sdh4bSrkzN5%256m7jd6ohKVvSM%25vqLUayLRaAfYaxHbprH18IOn8wiVyoiZpkYM4FunvqthjpnIBJLfjsg0uBM5pQ0c8wuiHvTTP5jC4WiC3Dz50h0wHwtabQSvcaMeTbXHkYt4OKCQIl&&IMGT=A27&POV=BE320,PZM","orderId":null,"orderNumber":null}],"metadata":{"appSections":{"productsEnabled":true,"mobilityEnabled":true,"newsEnabled":true},"featureEnablements":[{"name":"VEHICLE_LOCATOR","enablement":"INVISIBLE"},{"name":"MYCAR_INFO_BUTTON","enablement":"INVISIBLE"},{"name":"WEEKLY_PROFILE_CONFIGURATION","enablement":"INVISIBLE"},{"name":"CHARGING_CLIMA_CONTROL_DEPARTURETIME_TEMPERATURE_LINKOUT_TOGGLE","enablement":"ACTIVATED"},{"name":"PRIVATE_CAR_SHARING","enablement":"INVISIBLE"},{"name":"CONNECT_SERVICE_MANAGEMENT_TOGGLE","enablement":"INVISIBLE"},{"name":"PARKING","enablement":"INVISIBLE"},{"name":"CHARGING_CLIMA_CONTROL_CHARGING_DEMAND_NOTIFICATION_TOGGLE","enablement":"ACTIVATED"},{"name":"ADD_VEHICLE","enablement":"ACTIVATED"},{"name":"DESIGNATED_DRIVER","enablement":"INVISIBLE"},{"name":"COMMUTE_ALERT","enablement":"INVISIBLE"},{"name":"AUX_HEAT","enablement":"INVISIBLE"},{"name":"COLLISION_ALARM","enablement":"INVISIBLE"},{"name":"LOCAL_PLATE_RESTRICTION","enablement":"INVISIBLE"},{"name":"SPEED_ALERT","enablement":"INVISIBLE"},{"name":"REMOTE_STATUS_RANGE_CRITICAL_TOGGLE","enablement":"INVISIBLE"},{"name":"REMOTE_DOOR_LOCK","enablement":"INVISIBLE"},{"name":"FIND_VEHICLE","enablement":"INVISIBLE"},{"name":"DOOR_TO_DOOR_NAVIGATION","enablement":"INVISIBLE"},{"name":"PARKING_OFF_STREET_BOOKING","enablement":"INVISIBLE"},{"name":"VALET_PROTECT","enablement":"INVISIBLE"},{"name":"IN_CAR_DELIVERY","enablement":"INVISIBLE"},{"name":"PRODUCT_PHASE_1","enablement":"INVISIBLE"},{"name":"VEHICLE_AUTHORIZATION_CHANGE_EVENT_TOGGLE","enablement":"INVISIBLE"},{"name":"REMOTE_ENGINE_START","enablement":"INVISIBLE"},{"name":"EV_CHARGING_POINTS","enablement":"INVISIBLE"},{"name":"CHARGING_CLIMA_CONTROL_19B_TOGGLE","enablement":"ACTIVATED"},{"name":"S2C_RIF","enablement":"INVISIBLE"},{"name":"PARKING_ON_STREET","enablement":"INVISIBLE"},{"name":"DASHBOARD_PHASE_1","enablement":"INVISIBLE"},{"name":"EV_CORE_CHARGING_STATION_PROVIDER","enablement":"INVISIBLE"},{"name":"REMOTE_STATUS_RANGE_HIGHLIGHT_TOGGLE","enablement":"INVISIBLE"},{"name":"REMOTE_DOUBLE_DOOR_LOCK","enablement":"INVISIBLE"},{"name":"VEHICLE_TRACKING","enablement":"INVISIBLE"},{"name":"CHARGING_CLIMA_CONTROL_TOGGLE","enablement":"ACTIVATED"},{"name":"INSTANT_CHARGE_PROGRAM","enablement":"INVISIBLE"},{"name":"EV_RANGE_ASSIST","enablement":"INVISIBLE"},{"name":"REMOTE_STATUS_SUNROOF_LEAF_PAGE_TOGGLE","enablement":"INVISIBLE"},{"name":"REMOTE_CONFIGURATION","enablement":"INVISIBLE"},{"name":"CHARGING_CLIMA_CONTROL_PRECOND_NOTIFICATION_TOGGLE","enablement":"ACTIVATED"},{"name":"CHARGING_CLIMA_CONTROL_BATTERY_ANIMATION_TOGGLE","enablement":"ACTIVATED"},{"name":"EMOBILITY_SERVICE_PROVIDER","enablement":"INVISIBLE"},{"name":"CHARGING_CLIMA_CONTROL","enablement":"INVISIBLE"},{"name":"DAYNIGHT_TARIFF_LINKOUT_TOGGLE","enablement":"ACTIVATED"},{"name":"PARKING_ON_STREET_PAYMENT","enablement":"INVISIBLE"},{"name":"MYCAR_PHASE_1","enablement":"INVISIBLE"},{"name":"INBOX","enablement":"ACTIVATED"},{"name":"PARKING_REALTIME","enablement":"INVISIBLE"},{"name":"VOICE_ADDRESS_SEARCH","enablement":"ACTIVATED"},{"name":"PROFILE_PICTURE_TOGGLE","enablement":"INVISIBLE"},{"name":"CONNECTED_CAR","enablement":"INVISIBLE"},{"name":"TRIPS_TOGGLE","enablement":"INVISIBLE"},{"name":"CAR_ALARM","enablement":"INVISIBLE"},{"name":"TRAFFIC_VIOLATION_NOTIFICATION","enablement":"INVISIBLE"},{"name":"PREDICTIVE_SUGGESTIONS","enablement":"INVISIBLE"},{"name":"VEHICLE_SERVICE_DASHBOARD","enablement":"INVISIBLE"},{"name":"LEA_ASSISTANT","enablement":"INVISIBLE"},{"name":"REMOTE_STATUS","enablement":"INVISIBLE"},{"name":"TRAFFIC_VIOLATION","enablement":"INVISIBLE"},{"name":"LOCAL_PLATE_RESTRICTION_NOTIFICATION","enablement":"INVISIBLE"},{"name":"PARKING_C2C","enablement":"INVISIBLE"},{"name":"STARTER_BATTERY","enablement":"INVISIBLE"},{"name":"TEMPERATURE_SEAT_CLIMATE_CONTROL","enablement":"INVISIBLE"},{"name":"CHARGING_CLIMA_CONTROL_MAXSOC_TOGGLE","enablement":"ACTIVATED"},{"name":"EV_CHARGING_POINTS_TOGGLE","enablement":"ACTIVATED"},{"name":"SERVICE_STATUS_CHANGE_EVENT_TOGGLE","enablement":"INVISIBLE"},{"name":"QR_CODE","enablement":"ACTIVATED"},{"name":"CHARGING_CLIMA_CONTROL_CHARGING_NOTIFICATION_TOGGLE","enablement":"ACTIVATED"},{"name":"ONEWEB_LINKOUT_TOGGLE","enablement":"ACTIVATED"},{"name":"DOOR_STATUS_DETAILS","enablement":"INVISIBLE"},{"name":"MAXSOC_CONFIGURATION","enablement":"INVISIBLE"},{"name":"CHARGING_CLIMA_CONTROL_SELECTED_SOC_NOTIFICATION_TOGGLE","enablement":"INVISIBLE"},{"name":"MARKET_DISABLED","enablement":"INVISIBLE"},{"name":"RANGE_ON_MAP","enablement":"INVISIBLE"},{"name":"CONCIERGE","enablement":"INVISIBLE"},{"name":"PARKING_OFF_STREET","enablement":"INVISIBLE"},{"name":"ENERGIZING_COACH","enablement":"INVISIBLE"},{"name":"CHARGING_CLIMA_CONTROL_19B_NOTIFICATION_TOGGLE","enablement":"INVISIBLE"},{"name":"SMART_HOME","enablement":"INVISIBLE"},{"name":"S2C_INFO_TEXT","enablement":"ACTIVATED"},{"name":"WINDOW_LEAF_PAGE","enablement":"INVISIBLE"},{"name":"ASSISTANCE_PHASE_1","enablement":"INVISIBLE"},{"name":"ANDROID_BLUETOOTH_FEATURES","enablement":"INVISIBLE"},{"name":"S2C_MBA","enablement":"INVISIBLE"},{"name":"EV_CHARGING_POINTS_DASHBOARD_SHORTCUT","enablement":"ACTIVATED"},{"name":"MYCAR_PHASE_0","enablement":"INVISIBLE"},{"name":"NEWSFEED","enablement":"ACTIVATED"},{"name":"PERSONALIZED_NEWSFEED","enablement":"INVISIBLE"},{"name":"PRODUCT_TAB_MBRACE","enablement":"INVISIBLE"},{"name":"LIFESTYLE_CONFIGURATOR","enablement":"INVISIBLE"},{"name":"ME_CLUB","enablement":"INVISIBLE"},{"name":"PRODUCTION_TRACKER","enablement":"ACTIVATED"},{"name":"PRODUCT_FINDER","enablement":"ACTIVATED"},{"name":"APPLY_CREDIT","enablement":"INVISIBLE"},{"name":"FINANCIAL_CALCULATOR","enablement":"ACTIVATED"},{"name":"PHYD_INSURANCE","enablement":"INVISIBLE"},{"name":"FINACIAL_CONTRACT_MGMT","enablement":"INVISIBLE"},{"name":"MY_ACCOUNT","enablement":"INVISIBLE"},{"name":"ONLINE_OFFLINE_MODE","enablement":"ACTIVATED"},{"name":"DISPLAY_LOGIN_REGISTER","enablement":"INVISIBLE"},{"name":"ENABLED_CAR_IMAGE_CACHE","enablement":"INVISIBLE"},{"name":"UNLIMITED_CONSUMPTION_TOGGLE","enablement":"ACTIVATED"},{"name":"DAIVB_EMPTY_ERROR","enablement":"INVISIBLE"},{"name":"DISPLAY_SERVICEAGREEMENTS_PROMPT","enablement":"INVISIBLE"},{"name":"DISPLAY_EULA_DATA_PROTECTION","enablement":"ACTIVATED"},{"name":"VEHICLE_RULES_VALIDATION","enablement":"INVISIBLE"},{"name":"DISPLAY_APP_PROVIDER","enablement":"ACTIVATED"},{"name":"UNIT_SELECTION","enablement":"ACTIVATED"},{"name":"ASK_USER_RATING","enablement":"INVISIBLE"},{"name":"DISPLAY_ACTIVATE_SERVICE","enablement":"ACTIVATED"},{"name":"DISPLAY_SETTINGS_TOGGLE","enablement":"ACTIVATED"},{"name":"CAR2GO","enablement":"INVISIBLE"},{"name":"MOOVEL","enablement":"INVISIBLE"},{"name":"MYTAXI","enablement":"ACTIVATED"},{"name":"MOBILITY_SERVICES","enablement":"ACTIVATED"},{"name":"SHOP","enablement":"ACTIVATED"},{"name":"DEALER_SEARCH","enablement":"INVISIBLE"},{"name":"ONLINE_BOOKING_REQUEST","enablement":"ACTIVATED"},{"name":"ACCIDENT_CLAIM","enablement":"INVISIBLE"},{"name":"HOW_TO_VIDEOS","enablement":"INVISIBLE"},{"name":"DASHBOARD_HELP","enablement":"INVISIBLE"}],"userVehicleState":"UNKNOWN"}}
2020-01-15 11:59:38 DEBUG (SyncWorker_13) [custom_components.mercedesmeapi.apicontroller] _get_car_features for CARNUMBER-EDITED called
2020-01-15 11:59:38 DEBUG (SyncWorker_13) [custom_components.mercedesmeapi.apicontroller] Connect to URL get https://bff.meapp.secure.mercedes-benz.com/api/v2/dashboarddata/CARNUMBER-EDITED/vehicle
2020-01-15 11:59:39 DEBUG (SyncWorker_13) [custom_components.mercedesmeapi.apicontroller] Connect to URL get https://vhs.meapp.secure.mercedes-benz.com/api/v1/vehicles/CARNUMBER-EDITED/dynamic?forceRefresh=true
2020-01-15 11:59:40 DEBUG (SyncWorker_13) [custom_components.mercedesmeapi.apicontroller] get_car_values Odometer for CARNUMBER-EDITED called
2020-01-15 11:59:40 DEBUG (SyncWorker_13) [custom_components.mercedesmeapi.apicontroller] get_car_values Tires for CARNUMBER-EDITED called
2020-01-15 11:59:40 DEBUG (SyncWorker_13) [custom_components.mercedesmeapi.apicontroller] get_car_values Doors for CARNUMBER-EDITED called
2020-01-15 11:59:40 DEBUG (SyncWorker_13) [custom_components.mercedesmeapi.apicontroller] get_car_values Binary_Sensors for CARNUMBER-EDITED called
2020-01-15 11:59:40 DEBUG (SyncWorker_13) [custom_components.mercedesmeapi.apicontroller] get_car_values Windows for CARNUMBER-EDITED called
2020-01-15 11:59:40 DEBUG (SyncWorker_13) [custom_components.mercedesmeapi.apicontroller] _get_cars - Feature Check: charging_clima_control:{False}
2020-01-15 11:59:40 DEBUG (SyncWorker_13) [custom_components.mercedesmeapi.apicontroller] _get_cars - Feature Check: aux_heat:{False}
2020-01-15 11:59:40 DEBUG (SyncWorker_13) [custom_components.mercedesmeapi.apicontroller] _get_cars - Feature Check: charging_clima_control:{False}
2020-01-15 11:59:40 DEBUG (SyncWorker_13) [custom_components.mercedesmeapi.apicontroller] _get_cars - Feature Check: remote_engine_start:{False}
2020-01-15 11:59:53 ERROR (MainThread) [homeassistant.components.lock] Error while setting up platform mercedesmeapi
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/config/custom_components/mercedesmeapi/lock.py", line 48, in async_setup_platform
None))
File "/config/custom_components/mercedesmeapi/__init__.py", line 167, in __init__
self._name = licenseplate + " " + sensor_name
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
2020-01-15 11:59:54 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of platform ping is taking over 10 seconds.
2020-01-15 11:59:55 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform mercedesmeapi
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/config/custom_components/mercedesmeapi/sensor.py", line 49, in async_setup_platform
value[6])
File "/config/custom_components/mercedesmeapi/__init__.py", line 167, in __init__
self._name = licenseplate + " " + sensor_name
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
2020-01-15 11:59:58 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up platform mercedesmeapi
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/config/custom_components/mercedesmeapi/binary_sensor.py", line 61, in async_setup_platform
value[6],
File "/config/custom_components/mercedesmeapi/__init__.py", line 167, in __init__
self._name = licenseplate + " " + sensor_name
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
2020-01-15 12:00:43 INFO (SyncWorker_18) [custom_components.mercedesmeapi] Updating Mercedes me component.
2020-01-15 12:00:43 DEBUG (SyncWorker_18) [custom_components.mercedesmeapi.apicontroller] Update start
2020-01-15 12:00:43 DEBUG (SyncWorker_18) [custom_components.mercedesmeapi.apicontroller] Connect to URL get https://vhs.meapp.secure.mercedes-benz.com/api/v1/vehicles/CARNUMBER-EDITED/dynamic?forceRefresh=true
2020-01-15 12:00:43 DEBUG (SyncWorker_18) [custom_components.mercedesmeapi.apicontroller] get_car_values Odometer for CARNUMBER-EDITED called
2020-01-15 12:00:43 DEBUG (SyncWorker_18) [custom_components.mercedesmeapi.apicontroller] get_car_values Tires for CARNUMBER-EDITED called
2020-01-15 12:00:43 DEBUG (SyncWorker_18) [custom_components.mercedesmeapi.apicontroller] get_car_values Doors for CARNUMBER-EDITED called
2020-01-15 12:00:43 DEBUG (SyncWorker_18) [custom_components.mercedesmeapi.apicontroller] get_car_values Binary_Sensors for CARNUMBER-EDITED called
2020-01-15 12:00:43 DEBUG (SyncWorker_18) [custom_components.mercedesmeapi.apicontroller] get_car_values Windows for CARNUMBER-EDITED called
2020-01-15 12:00:43 DEBUG (SyncWorker_18) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: charging_clima_control:{False}
2020-01-15 12:00:43 DEBUG (SyncWorker_18) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: aux_heat:{False}
2020-01-15 12:00:43 DEBUG (SyncWorker_18) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: charging_clima_control:{False}
2020-01-15 12:00:43 DEBUG (SyncWorker_18) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: remote_engine_start:{False}
2020-01-15 12:01:44 INFO (SyncWorker_14) [custom_components.mercedesmeapi] Updating Mercedes me component.
2020-01-15 12:01:44 DEBUG (SyncWorker_14) [custom_components.mercedesmeapi.apicontroller] Update start
2020-01-15 12:01:44 DEBUG (SyncWorker_14) [custom_components.mercedesmeapi.apicontroller] Connect to URL get https://vhs.meapp.secure.mercedes-benz.com/api/v1/vehicles/CARNUMBER-EDITED/dynamic?forceRefresh=true
2020-01-15 12:01:44 DEBUG (SyncWorker_14) [custom_components.mercedesmeapi.apicontroller] get_car_values Odometer for CARNUMBER-EDITED called
2020-01-15 12:01:44 DEBUG (SyncWorker_14) [custom_components.mercedesmeapi.apicontroller] get_car_values Tires for CARNUMBER-EDITED called
2020-01-15 12:01:44 DEBUG (SyncWorker_14) [custom_components.mercedesmeapi.apicontroller] get_car_values Doors for CARNUMBER-EDITED called
2020-01-15 12:01:44 DEBUG (SyncWorker_14) [custom_components.mercedesmeapi.apicontroller] get_car_values Binary_Sensors for CARNUMBER-EDITED called
2020-01-15 12:01:44 DEBUG (SyncWorker_14) [custom_components.mercedesmeapi.apicontroller] get_car_values Windows for CARNUMBER-EDITED called
2020-01-15 12:01:44 DEBUG (SyncWorker_14) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: charging_clima_control:{False}
2020-01-15 12:01:44 DEBUG (SyncWorker_14) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: aux_heat:{False}
2020-01-15 12:01:44 DEBUG (SyncWorker_14) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: charging_clima_control:{False}
2020-01-15 12:01:44 DEBUG (SyncWorker_14) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: remote_engine_start:{False}
2020-01-15 12:02:45 INFO (SyncWorker_6) [custom_components.mercedesmeapi] Updating Mercedes me component.
2020-01-15 12:02:45 DEBUG (SyncWorker_6) [custom_components.mercedesmeapi.apicontroller] Update start
2020-01-15 12:02:45 DEBUG (SyncWorker_6) [custom_components.mercedesmeapi.apicontroller] Connect to URL get https://vhs.meapp.secure.mercedes-benz.com/api/v1/vehicles/CARNUMBER-EDITED/dynamic?forceRefresh=true
2020-01-15 12:02:45 DEBUG (SyncWorker_6) [custom_components.mercedesmeapi.apicontroller] get_car_values Odometer for CARNUMBER-EDITED called
2020-01-15 12:02:45 DEBUG (SyncWorker_6) [custom_components.mercedesmeapi.apicontroller] get_car_values Tires for CARNUMBER-EDITED called
2020-01-15 12:02:45 DEBUG (SyncWorker_6) [custom_components.mercedesmeapi.apicontroller] get_car_values Doors for CARNUMBER-EDITED called
2020-01-15 12:02:45 DEBUG (SyncWorker_6) [custom_components.mercedesmeapi.apicontroller] get_car_values Binary_Sensors for CARNUMBER-EDITED called
2020-01-15 12:02:45 DEBUG (SyncWorker_6) [custom_components.mercedesmeapi.apicontroller] get_car_values Windows for CARNUMBER-EDITED called
2020-01-15 12:02:45 DEBUG (SyncWorker_6) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: charging_clima_control:{False}
2020-01-15 12:02:45 DEBUG (SyncWorker_6) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: aux_heat:{False}
2020-01-15 12:02:45 DEBUG (SyncWorker_6) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: charging_clima_control:{False}
2020-01-15 12:02:45 DEBUG (SyncWorker_6) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: remote_engine_start:{False}
2020-01-15 12:03:46 INFO (SyncWorker_4) [custom_components.mercedesmeapi] Updating Mercedes me component.
2020-01-15 12:03:46 DEBUG (SyncWorker_4) [custom_components.mercedesmeapi.apicontroller] Update start
2020-01-15 12:03:46 DEBUG (SyncWorker_4) [custom_components.mercedesmeapi.apicontroller] Connect to URL get https://vhs.meapp.secure.mercedes-benz.com/api/v1/vehicles/CARNUMBER-EDITED/dynamic?forceRefresh=true
2020-01-15 12:03:46 DEBUG (SyncWorker_4) [custom_components.mercedesmeapi.apicontroller] get_car_values Odometer for CARNUMBER-EDITED called
2020-01-15 12:03:46 DEBUG (SyncWorker_4) [custom_components.mercedesmeapi.apicontroller] get_car_values Tires for CARNUMBER-EDITED called
2020-01-15 12:03:46 DEBUG (SyncWorker_4) [custom_components.mercedesmeapi.apicontroller] get_car_values Doors for CARNUMBER-EDITED called
2020-01-15 12:03:46 DEBUG (SyncWorker_4) [custom_components.mercedesmeapi.apicontroller] get_car_values Binary_Sensors for CARNUMBER-EDITED called
2020-01-15 12:03:46 DEBUG (SyncWorker_4) [custom_components.mercedesmeapi.apicontroller] get_car_values Windows for CARNUMBER-EDITED called
2020-01-15 12:03:46 DEBUG (SyncWorker_4) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: charging_clima_control:{False}
2020-01-15 12:03:46 DEBUG (SyncWorker_4) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: aux_heat:{False}
2020-01-15 12:03:46 DEBUG (SyncWorker_4) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: charging_clima_control:{False}
2020-01-15 12:03:46 DEBUG (SyncWorker_4) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: remote_engine_start:{False}
2020-01-15 12:04:47 INFO (SyncWorker_15) [custom_components.mercedesmeapi] Updating Mercedes me component.
2020-01-15 12:04:47 DEBUG (SyncWorker_15) [custom_components.mercedesmeapi.apicontroller] Update start
2020-01-15 12:04:47 DEBUG (SyncWorker_15) [custom_components.mercedesmeapi.apicontroller] Connect to URL get https://vhs.meapp.secure.mercedes-benz.com/api/v1/vehicles/CARNUMBER-EDITED/dynamic?forceRefresh=true
2020-01-15 12:04:48 DEBUG (SyncWorker_15) [custom_components.mercedesmeapi.apicontroller] get_car_values Odometer for CARNUMBER-EDITED called
2020-01-15 12:04:48 DEBUG (SyncWorker_15) [custom_components.mercedesmeapi.apicontroller] get_car_values Tires for CARNUMBER-EDITED called
2020-01-15 12:04:48 DEBUG (SyncWorker_15) [custom_components.mercedesmeapi.apicontroller] get_car_values Doors for CARNUMBER-EDITED called
2020-01-15 12:04:48 DEBUG (SyncWorker_15) [custom_components.mercedesmeapi.apicontroller] get_car_values Binary_Sensors for CARNUMBER-EDITED called
2020-01-15 12:04:48 DEBUG (SyncWorker_15) [custom_components.mercedesmeapi.apicontroller] get_car_values Windows for CARNUMBER-EDITED called
2020-01-15 12:04:48 DEBUG (SyncWorker_15) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: charging_clima_control:{False}
2020-01-15 12:04:48 DEBUG (SyncWorker_15) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: aux_heat:{False}
2020-01-15 12:04:48 DEBUG (SyncWorker_15) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: charging_clima_control:{False}
2020-01-15 12:04:48 DEBUG (SyncWorker_15) [custom_components.mercedesmeapi.apicontroller] _update_cars - Feature Check: remote_engine_start:{False}
2020-01-15 12:05:48 INFO (SyncWorker_15) [custom_components.mercedesmeapi] Updating Mercedes me component.
2020-01-15 12:05:48 DEBUG (SyncWorker_15) [custom_components.mercedesmeapi.apicontroller] Update start
I always get this error. Can anyone help me here?
2020-01-15 17:18:42 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up platform mercedesmeapi
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/config/custom_components/mercedesmeapi/binary_sensor.py", line 61, in async_setup_platform
value[6],
File "/config/custom_components/mercedesmeapi/__init__.py", line 167, in __init__
self._name = licenseplate + " " + sensor_name
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
2020-01-15 17:18:42 ERROR (MainThread) [homeassistant.components.lock] Error while setting up platform mercedesmeapi
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/config/custom_components/mercedesmeapi/lock.py", line 48, in async_setup_platform
None))
File "/config/custom_components/mercedesmeapi/__init__.py", line 167, in __init__
self._name = licenseplate + " " + sensor_name
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
2020-01-15 17:18:44 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform mercedesmeapi
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/config/custom_components/mercedesmeapi/sensor.py", line 49, in async_setup_platform
value[6])
File "/config/custom_components/mercedesmeapi/__init__.py", line 167, in __init__
self._name = licenseplate + " " + sensor_name
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Hi, looks like a Problem with the missing license plate info. Will try to fix this in the next hours.
Hi, could you share your car-number via private message?
PM sent! thanks!
I have pushed a new version 0.3.2. This handles the missing licenseplate situation in a better way.
Please recheck.
Thanks!! that did the trick! Integration works and I am now able to see the new entities!
Tested country Spain can be added!
Thanks! But when I realized, that there was a missing license plate in my account, I just added it … I couldn’t wait until today :D:D