About
MercedesME 2020 is a custom integration that connects Mercedes-Benz cars to Home Assistant through the vendor's cloud. It adds binary sensors, buttons, covers, presence, locks, sensors and switches, and which of them appear depends on the car and the purchased Mercedes-Benz licenses. Buttons start and stop preclimate, sound the horn and flash the lights, while covers handle the windows and switches control auxiliary heating and pre-entry climate control. Many actions are provided as well, such as locking and unlocking doors, starting and stopping the engine, charging and battery settings, and preconditioning with a departure time. Some commands need a security PIN created in the mobile app, which can be entered in the options. Setup is done in the UI with region, Mercedes account login and a TAN code sent by email or SMS.
Automatic summary of the README and code of ReneNulschDE/mbapi2020. Something wrong, or are you the maintainer and want your own text here? Get in touch
Supports
Uses the vendor's cloud Needs an internet connection and an account with the vendor.
From the Marketplace Installed through the Marketplace, formerly HACS.
Actively maintained Its author released or pushed a change in the last six months.
Provides
- Covers
- Locks
- Switches
- Sensors
- Presence
Setting it up
Install it from the Marketplace and restart Home Assistant, then add it under Settings, Devices and services.
Set up the Mercedes ME 2020 connection
- Region
Mercedes ME 2020 - Login
- MB username (email address)
- Password
Mercedes ME 2020 - TAN
- TAN (received via eMail or SMS)
After setup
- Disable capabilities check
- Enable GCJ-02 translation (China only)
- Delete authentication token now. Requires a restart of Home Assistant after save.
- VINs excluded (comma-sep)
- Security PIN (to be created in mobile app)
- DEBUG ONLY: Enable save server messages to the messages folder
- Exp: Overwrite capability precondnow (set to true)
Texts from the code of ReneNulschDE/mbapi2020.
Entities
- Binary sensorsCharging active, Deck lid, Deck lid lock
- ButtonsPreclimate start, Preclimate stop, Sound horn, Flash lights
- CoversWindows, Window front left, Window front right, Window rear left, Window rear right
- SensorsCharging power limit
- SwitchesAuxiliary Heating, Pre-entry climate control
Actions
- Refresh access tokenRefresh the API access token
- Auxheat configureCommand for configuring the auxiliary heating. It is possible to define three daytimes and select one active time.Fields: Vin, Time selection, time_1, time_2, time_3
- Auxheat startStart the auxiliary heating of a car defined by a vin.Fields: Vin
- Auxheat stopStop the auxiliary heating of a car defined by a vin.Fields: Vin
- Battery max soc configureConfigure the maximum value for the state of charge of the HV battery of a car defined by a vin.Fields: Vin, Max Soc, Charge program
- Charge coupler stopStop the running charging session and release the charge coupler of a car defined by a vin. PIN setup required. See options dialog of the integration.Fields: Vin, Pin
- Charge program configureCommand to select the charge program.Fields: Vin, Charge program, Max Soc
- Doors unlockUnlock a car defined by a vin. PIN setup required. See options dialog of the integration.Fields: Vin, Pin
- Doors lockLock a car defined by a vinFields: Vin
- Download imagesDownloads the app images to the components resource folder for a car defined by a vin.Fields: Vin
- Engine startStart the engine of a car defined by a vin. PIN setup required. See options dialog of the integration.Fields: Vin, Pin
- Engine stopStop the engine of a car defined by a vin. PIN setup required. See options dialog of the integration.Fields: Vin
- HV Battery start conditioningStart the HV battery conditioning of a car defined by a vin.Fields: Vin
- HV Battery stop conditioningStop the HV battery conditioning of a car defined by a vin.Fields: Vin
- Preconditioning configure seatsSend a preconditioning seat configuration command to a car defined by a VIN.Fields: Vin, Front left, Front right, Rear left, Rear right
- Preconditioning startStart the preconditioning of a car defined by a vin.Fields: Vin, Type
- Preconditioning start with departure timeStart the preconditioning of a car defined by a vin and a given departure time.Fields: Vin, Time
- Preconditioning stopStop the preconditioning of a car defined by a vin.Fields: Vin
- Preconditioning stop mode departuretimeStop the configured departure time preconditioning of a car defined by a vin.Fields: Vin
- Configure preconditioning departureConfigure preconditioning departure time mode. Use mode 0 (Disabled) to cancel scheduled departure preconditioning.Fields: Vin, Departure Time Mode, Departure Time
Troubleshooting
- DiagnosticsDownloads a diagnostics file to attach to a bug report.
- System healthAdds its status to Home Assistant's system information.
- Repair noticesNotices it can show in Settings, Repairs:Restart required
From the README
Mercedes-Benz platform as a Custom Component for Home Assistant.
- Seamless Integration: Automatically pulls in data from the integration.
- Customizable: Easily modify the card’s appearance to fit your theme.
- Interactive: Includes controls to interact with the data directly from your dashboard.
- Multilingual Support: The card includes various translations, making it accessible in multiple languages.
Shows in Vulpo
Quick Toggle card, Cover card, Lock card, Button card, Apple Watch, Control Center.Information
- Installs
- 2.9k sharing analytics
- GitHub stars
- 355
- Connection
- Uses the vendor's cloud
- Upkeep
- Updated in the last 6 months
- Version
- v0.43.0,
- Category
- Vehicles and transport, Cars and EVs
- Kind
- Marketplace integration
- Brand
- Mercedes-Benz
- Needs
- Needs the Marketplace (HACS on 2026.10 and older)
- Domain
mbapi2020- Issues
- Report an issue
You might also like
Kia Uvo / Hyundai Bluelink6.3k installs · A Home Assistant HACS integration that supports Kia Connect(Uvo…Open
Tesla Custom Integration4.4k installs · Tesla custom integration for Home Assistant. This requires a re…Open






