Mercedes Me Component

It works fine for me, showing up in HACS :

I found it on page 31 here: https://assets.mbvans.com/Mercedes-Benz-Vans/Technology/Pro/20190820_FAQ_PDF_VDI.pdf

chargingPower
:slight_smile:

I’m new to this but I have a goal of setting up a list in a file or a flex-table logging all the plugged in charges for my hybrid car. with the following columns:
, start time , chargingPower , end time

I have all these data in sensors
 but don’t know how I shall log and set this things up.

When charge is started (sensor.sdc96m_range_electric - electricChargingStatus - VEHICLE_CHARGING)

and when it is ended:
sensor.sdc96m_range_electric - electricChargingStatus - END_OF_CHARGE

thanks for any help

Finally up and running after intermittent power cuts every hour or so since Friday!!

Hopefully attached are what is needed, I notice that despite having true for save car details it does not always record but NAS has rebooted so many times it’s probably confused.

Error on consumption is due to trying to divide by zero in converting l per 100km to mpg as start consumption had recorded as 99.9 which was regarded as zero, error trapped now and correctly reading

Sorry how do I send the log file??

IMG_0177|375x500


Thanks!

Next time I’ll read some more, I had to install HACS first :slight_smile:

I tried to install it under repositories.

Hi,

you can click on my name on top of this message. Then click on the blue “Message” button. Use this private message to share the files or send me an email mbdev nulsch.de

Please describe your errors again in detail.

Please check again if the “(Your Plate or FIN) Engine Light Warning” Sensor is missing. For example “Brake Fluid” is an attribute of this sensor.

BR
Rene

Thank you for this great add on. Question
 If i save the car details to a file. How can I use that data to add additional sensors to my setup?

Is there an option for the refresh polling time?

Hi @iptvcld, you could use the command line sensor and extract the values that you would like to show. Other option tell us here what you would like to have. Based on your github-issue I have added carAlarm and engineHoodClosed as attributes to the Doors Sensor to the Master-Branch

Hi @iptvcld, like in every Home Assistant component you can use the scan_interval option in your config to change refresh value. (see)

Thank you, what’s the default scan interval for this addon to pull from Benz? If I set mine to 15, is that a bad thing and will this have any negative impact for polling so much?

The default is 30. I would say, it’s better to fly under the radar if you use inofficial api’s. A setting of 15 means 8 requests per minute - should be fine


Thank you!

Is it normal not to see the state_ .json file? I was having some issues, so i deleted the state_ .json and removed the addon and then re-installed from HACS. All my values are present in HA but dont see the state_ .json file. Not sure if this is normal or does it only show when i enable save_car_details: true

Hi Rene,

I am back from my travels and ready to progress this. I can add you to the portal if you like me to.

We’ll have to coordinate testing as 1) I reside in Singapore (and as such am 7 hours ahead of CET) and 2) I have no cell phone reception in my garage and as such will need to drive to an open space

Looking forward to hearing from you!

Regards,
Arjan

Hello & THANK YOU! This is great! I am using the app in the US and it supports miles - is there anyway to convert? Again thanks for all of your efforts!

Hi @iptvcld, yes this is normal. The files are generated only if the save_car_detail = true.

Hi!

I’ve pushed a new version. For each Warning Lamp a new binary sensor is created.

Reason for this change: Some cars does not report “EngineWarning” and therefore the complete Warning Light sensor was missing.

Should not be a breaking change. The old sensor attributes are not removed.

@henwick2144: This should fix your problem
@iptvcld: Could you recheck your “engineHoodClosed” Problem? My car does not have this information .

Hi @Misty1334,

if you have configured your Home Assistant installation to use miles then the conversation of Odometer and RangeElectric is done by the component. All other values are not touched.

BR
Rene

Thank you engine hood sensor is still good!