HA is config for miles, but the numbers pulled through by the api are in km when comparing with my mobile app in miles.
Could you share some screenshots?
I have the same issue with miles/km (I am in the UK). My app shows miles, and my HA instance is in miles, but the sensor is in km. I just have a template sensor that converts this to miles.
EDIT: Well I never, jut realised my HA is in metricâŠchanges to imperial in configuration.yaml and the sensor is in miles! Probably had this about 18 months lol and never noticed.
I have pushed a new version 0.3.6.
New:
Sensor:
- car alarm
attributes: lastTheftWarning, towSensor, theftSystemArmed, parkEventType, parkEventLevel, carAlarmLastTime, towProtectionSensorStatus, theftAlarmActive, lastTheftWarningReason, lastParkEvent, collisionAlarmTimestamp, interiorSensor, carAlarmReason
Changes:
- Attributes with status
NOT_RECEIVED
will be shown now. Value is set toNOT_RECEIVED
.
Notes:
- The sensor is visible when the feature CAR_ALARM is ACTIVE in your car. (See feat_*.json")
@henwick2144: Thank you for your support.
YES! So happy (sorry) to see that Iâm not alone! This has been since 4am and I was worried it was due to the recent update! I sent a msg but Iâm sure it will be resolved before I get a response!
I can confirm that Mercedes-Benz is experiencing difficulties with there Mercedes Me Connect.
I called their USA hotline.
No expectation was stated as to their recovery of services.
PachangaDad
Yup all well again.
Looks like an error in the North-America region. The server answers with HTTP 502. Europe region looks good
Edit: Looks like the problems are solved.
Yes; all good now.
I just tried to set this component up but I am getting errors.
2020-02-24 10:14:23 ERROR (MainThread) [custom_components.mercedesmeapi.binary_sensor] No cars found. Check component log.
2020-02-24 10:14:25 INFO (MainThread) [custom_components.mercedesmeapi.lock] No Cars found.
Turning on debug logging it manages to login to my mercedes me account and get data but mercedesme is returning empty data for vehicles.
It also returns âhavingPinâ: false, which is incorrect I can see my pin in the mercedes me website. I donât see a way to check the pin in the iPhone app however.
"user": {
"ciamId": "xxxxxxxxxx",
"firstName": "Ronald",
"lastName1": "xxxxx",
"lastName2": null,
"preferredLanguageCode": "en",
"accountCountryCode": "US",
"havingPin": false,
"formattedName": "Ronald xxxxx",
"accountIdentifierText": "[email protected]"
},
"vehicles": [], ...
I notice the documentation says US on works with ânewer carsâ. What is the definition of newer? I have 2017 GLS450.
Hi @smart,
Never cars means 2019er cars from an US market perspective. Please check if you could use the app âMercedes me connectâ . If you see cars in the app then the component should work. If you use the app âMercedes me (US)â the component will not work.
BR
René
Thanks, I use the app âMercedes Meâ and just checked the newer Mercedes me connect and it doesnât see my car. So I guess I am out of luck. Which makes sense since I have a 2017 not 2019 vehicle. Thanks for the quick reply.
Seems like MB having issues once again⊠Anyone else?
no, looks good for US currently
Yes, component canât connect to some endpoints
And we just had a 20cm snowfall this morning - that car starter would have came in handy. Too bad we cant start the car using the physical remote
Wow, every time I think Home Assistant is awesome, I find something new that blows me away again. Thanks to the author of this component, I love it!!!
Hi,
After update to latest version v0.3.6 I do get below error, any ideas?
Error during setup of component mercedesmeapi
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 174, 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 320, in __init__
self._get_cars()
File "/config/custom_components/mercedesmeapi/apicontroller.py", line 524, in _get_cars
response.content.decode('utf8'))['vehicles']
KeyError: 'vehicles'
I do only have following setup:
mercedesmeapi:
username: YOUR_USERNAME
password: YOUR_PASSWORD
is there anyway to disaply each tyres pressure on an image, instead of just on click when it pops up?
[binary_sensor.jgz5572_tire_warning]
(http://192.168.1.2:8123/developer-tools/state#) off car: JGZ5572
retrievalstatus: VALID
tireWarningRollup: false
tirepressureRearRight: 258
tirepressureFrontLeft: 255
lastTirepressureTimestamp: 1582880040
tirewarninglamp: INACTIVE
tireMarkerFrontLeft: false
tireMarkerRearLeft: false
tirepressureRearLeft: 265
tirepressureFrontRight: 260
tirewarningsrdk: NO_WARNING
tireMarkerRearRight: false
friendly_name: JGZ5572 Tire Warning
Hi @Jef,
does the mobile app work? KeyError: âvehiclesâ means that the Mercedes API does not delivered a valid json. Please restart and try again. If this not help - delete the .mercedesme-token-cache file in your configuration directory and switch on the debug log.
Hi @jwnesbitt,
please check the posting around posting 234 or ask @exus85 or @Sdomotica_Automation or @Manuel82 if they could share the code.
BR
Rene