Skip to content

EV SoC Modul Mercedes EQ (discontinued)

Det edited this page Nov 27, 2023 · 1 revision

This Module is no longer working. Mercedes decided to sundown the API in 2023

First Beta of a Mercedes EQ SoC Module using the API at https://developer.mercedes-benz.com/products/electric_vehicle_status. As every User has to create his own account at developer.mercedes-benz.com (BYOCAR= Bring your own Car), configuration has some traps. Find the step-by-step documentation here.

Requirements:

  • Mercedes Me Account
  • FIN (VIN) of own Car
  • Make sure that your car has "Schnittstelle Drittanbieter: Fahrzeugdaten" active. Go to Mercedes Me App/Garage/Diensteverwaltung/Komfort.

Find your FIN

Either use the MercedesMe App and open Menu, click your Car to get to "Garage" / "Fahrzeuginformationen". There you find the FIN or you login to MercedesMe and go to "Meine Fahrzeuge" / "Fahrzeug verwalten". Choose Tab "Fahrzeugdaten" There you find "FahrzeugIdentifizierungsnummer" (FIN).

Steps to get a API Access:

  1. Go to the Mercedes Developer Site

  2. Login (upper right corner) using your MercedesMe Credentials

  3. Get Access to The API

  4. Choose Purchase Model "Get for free"

  5. Choose Package "BYOCAR"

  6. Create an App (this looks different, as I still have Apps in MercedesMe)

  7. Fill Application Name and Business Purpose and choose "Create" button

  8. after Confirm you will see your new Application (OPENWBSOC)

  9. Subscribe an use "View in Console"

  10. Change Redirect URLs

    You will get an "App ID", "Client ID" and "Client Secret". You'll have to fill in the Value(s) for rediect URL(s). The redirect URL must contain the IP Address (marked as IPopenWB) in the picture. You can also add additional Redirect URLs for example with a hostname (place the hostname of your openWB instead of hostname) as you see in the second line. The Callback URL (callback_lp.php) works for LP1 and LP2. Make sure you use same protocol as used by the openWB (http://). Note the Values in "Client ID" and "Client Secret". You will need these and the according Redirect URL in the openWB LP Configuration

  11. Configure openWB LP (Ladepunkt)

    Goto Einstellungen/Modulkonfiguration/Ladepunkte

  12. Choose Mercedes EQ (BETA!!!) from the List

  13. Fill the values "Client ID", "Client Secret", "Fahrzeug Ident", "Callback" with the matching Values from Step 10

  14. Save the Values

    Go tot the Bottom of the page and press "Speichern" Button

  15. Go back to the Ladepunkt and press the "HIER bei Mercedes Me anmelden" link.

    This will open an new Window, reach out to the Mercedes API (if asked, log in with your Mercedes Me ID)and save the needed Access token inside the openWB config.

    You should get a Response Window like the following window below:

Finally your configuration is done.

Clone this wiki locally