Mercedes Me Component

hi, I assume this is related to the global Microsoft Cloud problem that is still running. Lets wait few hours more… MB App is working partially only…

my cars are back after a HA restart now.

Edit: Just restarted all my instances and in 2 out of 6 I still see some cars missing… but it getting better…

1 Like

Same here, it now states that my SmartEQ VIN does not belong to user when trying to start the preconditioning … Mysterious…

They have still some malfunctions, received this morning an email confirming it from the Mercedes ME support.
Although that, I can lock/unlock the car and let the car blink the headlights. The stats don’t update.

1 Like

Can someone confirm this is still working? I tried it but the value is “Unknown” and the Sensor.XXX_Charging_power_2 is not available at least for me? I thought we could do something like:

1. Take the Odometer value (e.g. 3000 km)
2. Take the value "Consumptionreset" (e.g. 20.0 kWh/100 km)
3. Multiply 1 and 2 and divide through 100
--> Delivers the overall consumption of the car like a "Strom Zähler"?

Wouldn´t that work? Tried it but it is not working and putting out values like 10000 kWh for 1 day - then the other it seems to work lol …

Hi, check the availablility of the “charging_power” sensors. “_2” was just in my environment, could be that your sensor name is just “xxx_charging_power”. The riemann sum worked very well for me but I deleted it in my dev environment and I have to rebuild it to check…

I checked it, you were right :smiley:

  - platform: integration
    source: sensor.wxxxxxxxxxxxxxxx_charging_power
    name: eqbCharge

grafik

works now, however I can´t select it for the energy dashboard, do I have to add it also somewhere?

I have published a new version v0.8.1

Lock:
The lock provides the status is_locking and is_unlocking now. (for the first 30 seconds only after initiating). Custom icon definition was removed.
Frontend Result (see icon changes):
Screencast from 2023-01-24 10-39-51

Sensors
SOC:
custom icon removed

Charging Power:
missing unit kW restored (Fix of statistics is needed via Developer Tools/Statistics)
custom icon removed

Odometer, rangeliquid:
SensorDeviceClass changed from None to Distance

tanklevelpercent, oilLevel:
SensorDeviceClass changed from None to Power_Factor

averageSpeedStart, averageSpeedReset:
SensorDeviceClass changed from None to Speed
custom icon removed

1 Like

Hi, problem is the missing unit for the charging_power sensor. I have fixed this in v0.8.1. Now kW is reported again. Please fix your statistics via developer tools/statistics.

Hi, I seem to have an issue with getting the integration to find my car.
I am in India, and am aware that it is not one of the supported countries. Please let me know if I can provide you with any details.

My install method (maybe I missed something):
i) Added Repo to HACS and installed
ii) installed throught home assistant integrations in the settings tab.
iii) entered email and verification code.

If you are able to add support for India that would be great, the integration seems amazing,
Thanks in advance

Hi Kaii, welcome to the club. Please share the MB mobile app details that you use. Which region did you use in the setup dialog? BR rene

ps: in case you used apac: please try again with Europe. Looks like that for India the ECE version is used. (Same like Thailand)

Mate thank you so much! Checking it out straight away :wink:

I checked again, but the “charging_power” Sensor is not available:
grafik

although I updated to the latest version? Is this alright?

hi, could you please first check the page developer tools/states if this sensor is really the right one? Just search on this page for “charging” and check the status of the sensor that this component has created. Background: Sometimes people have created custom template sensors in the past… and just forgot to adjust :wink:

Hi thanks for the reply! Checked it, now it appears strangely… Well. Value seems to be 8.1. but the _integral is not showing any value:

grafik

The _integral part:
grafik

Is this alright?

Hi, I propose that you delete this integral sensor. Restart ha. And then create a new helper via the Frontend

Select your charging power sensor and keep the default settings.

This should show values after you started the next charging.

BR
René

Hi,

Where can I find a nice top-view image of a Mercedes A250e to be used in a dashboard?
Tried to get them from Mercedes using API-calls but I’m not quite sure how to do it. Don’t know the syntax. Is there anyone who’s able to help?

Regards,
Vincent

Hi, I have tried the following: IN, BR, apac, Europe & EU.
I am relatively new to HA so it is possible that I made a mistake during the installation.
If this helps, I use the mercedes me app (the exact same app as used in EU).

Hi Kaii,

Please remove the Component in the HA, “Settings”, “Devices & Services” page. Restart HA. Add it again via “Add Integration”. Put in your MB-email address and select “Europe” as the region.

BR
Rene

Hi Vincent,

one approach to get the image is:

  1. get a linux terminal
  2. Make sure jq and curl is installed
  3. Make sure HA is running
  4. run the command
jq -r .access_token ~/XXX-Path-to-you-HA-config-folder-XXX/.mercedesme-token-cache | { read message; curl -v -H "Authorization: $message" -H "ris-os-name: android" -H "X-TrackingId: 8f2b839c-606e-4f87-8ca6-f5dbd131544a" -H "X-SessionId: 8f2b839c-606e-4f87-8ca6-f5dbd131544a" -H "X-Locale: de" -H "ris-sdk-version: 2.84.0" --output image.zip -L https://bff.emea-prod.mobilesdk.mercedes-benz.com/v1/vehicle/XXX-VIN-XXX/topviewimage ; }

Replace XXX-Path-to-you-HA-config-folder-XXX and XXX-VIN-XXX based on your values.

Output should be an image.zip with all the relevant pictures that the app is using for the topview in the app.