<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=Mercedes</id>
	<title>Mercedes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=Mercedes"/>
	<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Mercedes&amp;action=history"/>
	<updated>2026-09-20T03:12:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.domoticz.com/index.php?title=Mercedes&amp;diff=18263&amp;oldid=prev</id>
		<title>Kiddigital: /* Mercedes Me Integration */</title>
		<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Mercedes&amp;diff=18263&amp;oldid=prev"/>
		<updated>2023-08-29T11:50:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Mercedes Me Integration&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===Mercedes Me Integration===&lt;br /&gt;
Domoticz had since 2021.1 support for the BYOCAR API&amp;#039;s from Mercedes (Daimler).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;Per 31 of August 2023 Mercedes has discontinued their BYOCAR product! Therefor, this integration does not work anymore!&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Prerequisits====&lt;br /&gt;
&lt;br /&gt;
*A connected Mercedes&amp;lt;span&amp;gt; &amp;lt;/span&amp;gt;:)&lt;br /&gt;
*The &amp;#039;&amp;#039;VIN&amp;#039;&amp;#039; number of your car&lt;br /&gt;
*An account with MercedesMe (look for MercedesMe on the mercedes website)&lt;br /&gt;
**Connected to the car with the above &amp;#039;&amp;#039;VIN&amp;#039;&amp;#039; number&lt;br /&gt;
*(Optional but handy) The MercedesMe app on your mobile/tablet (to make sure you have a working account and are receiving data from your car)&lt;br /&gt;
&lt;br /&gt;
====Installation====&lt;br /&gt;
To be able to use this integration, a few steps have to be performed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;On the Mercedes Developers Portal&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Create a &amp;#039;&amp;#039;developers account&amp;#039;&amp;#039; using the &amp;#039;&amp;#039;&amp;#039;same&amp;#039;&amp;#039;&amp;#039; e-mailaddress as the one used for the Mercedes Me portal and app(s)&lt;br /&gt;
*In the &amp;#039;&amp;#039;console&amp;#039;&amp;#039; create your own &amp;#039;&amp;#039;Project&amp;#039;&amp;#039;&lt;br /&gt;
**Give it a nice name (&amp;#039;&amp;#039;Domoticz&amp;#039;&amp;#039; maybe? ;) )&lt;br /&gt;
**Make sure that the &amp;#039;&amp;#039;&amp;#039;redirect_url&amp;#039;&amp;#039;&amp;lt;nowiki/&amp;gt;&amp;#039; is set to &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki/&amp;gt;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;https://localhost&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;lt;nowiki/&amp;gt;&amp;#039;&amp;#039;&lt;br /&gt;
*Add the relevant &amp;#039;&amp;#039;products&amp;#039;&amp;#039; to your project&lt;br /&gt;
**Select &amp;#039;&amp;#039;Get for Free&amp;#039;&amp;#039; as the &amp;#039;&amp;#039;&amp;#039;Purchase Model&amp;#039;&amp;#039;&amp;#039;, and then select &amp;#039;&amp;#039;BYOCAR&amp;#039;&amp;#039; as the &amp;#039;&amp;#039;&amp;#039;Package&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
**Make sure all 5 BYOCAR products are added&lt;br /&gt;
***Fuel Status&lt;br /&gt;
***Vehicle Status&lt;br /&gt;
***Vehicle Lock Status&lt;br /&gt;
***Electric Vehicle Status (Please &amp;#039;&amp;#039;ADD&amp;#039;&amp;#039; even when your vehicle is &amp;#039;&amp;#039;NOT&amp;#039;&amp;#039; an electric vehicle)&lt;br /&gt;
***Pay As You Drive Insurance&lt;br /&gt;
*Make sure you copy the &amp;#039;&amp;#039;Client ID&amp;#039;&amp;#039; and the &amp;#039;&amp;#039;Client Secret&amp;#039;&amp;#039; from the &amp;#039;&amp;#039;&amp;#039;OAuth2 credentials&amp;#039;&amp;#039;&amp;#039; section of your &amp;#039;&amp;#039;project&amp;#039;&amp;#039;&lt;br /&gt;
**These are needed in Domoticz&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Within Domoticz&amp;lt;/u&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Add new Hardware&lt;br /&gt;
**Add &amp;#039;&amp;#039;&amp;#039;Mercedes Me Connect&amp;#039;&amp;#039;&amp;#039; hardware type&lt;br /&gt;
*Fill in the VIN&lt;br /&gt;
*The &amp;#039;&amp;#039;username&amp;#039;&amp;#039; is as followed: &amp;#039;&amp;#039;&amp;lt;Client ID&amp;gt;:&amp;lt;Client Secret&amp;gt;&amp;#039;&amp;#039;&lt;br /&gt;
*The &amp;#039;&amp;#039;password&amp;#039;&amp;#039; is the &amp;#039;&amp;#039;&amp;#039;authorization_code&amp;#039;&amp;#039;&amp;#039; that has te be requested by entering the following URL into your browser screen:&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Replace &amp;lt;Client ID&amp;gt; with your own Client ID!&amp;#039;&amp;#039;&amp;lt;syntaxhighlight lang=&amp;quot;http&amp;quot;&amp;gt;&lt;br /&gt;
https://ssoalpha.dvb.corpinter.net/v1/auth?response_type=code&amp;amp;client_id=&amp;lt;CLIENT-ID&amp;gt;&amp;amp;redirect_uri=https://localhost&amp;amp;scope=openid%20mb:vehicle:mbdata:vehiclestatus%20mb:vehicle:mbdata:fuelstatus%20mb:vehicle:mbdata:payasyoudrive%20mb:vehicle:mbdata:vehiclelock%20mb:vehicle:mbdata:evstatus%20offline_access&amp;amp;state=test&amp;amp;prompt=login%20consent&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should be getting the Mercedes Me portal login screen asking you to login.&lt;br /&gt;
&lt;br /&gt;
After succesful login, you should get redirected to &amp;#039;&amp;#039;https://localhost&amp;#039;&amp;#039; (as entered within the console as redirect_url). Part of the URL should be a part stating &amp;#039;&amp;#039;code=&amp;lt;some code&amp;gt;&amp;#039;&amp;#039; Note that the code ends at the &amp;#039;&amp;amp;&amp;#039;-sign!&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;NOTE:&amp;#039;&amp;#039;&amp;#039; Make sure that the &amp;#039;&amp;#039;Accept New Hardware&amp;#039;&amp;#039; setting is set to &amp;#039;&amp;#039;&amp;#039;On&amp;#039;&amp;#039;&amp;#039;. It can take up to an hour before all available sensors have been read and created within Domoticz.&lt;br /&gt;
&lt;br /&gt;
*Now &amp;#039;&amp;#039;Save&amp;#039;&amp;#039; the new hardware and hop over to the &amp;#039;&amp;#039;Logging&amp;#039;&amp;#039; screen to see if the new hardware module was able to successfully login to the Mercedes API&amp;#039;s to start retrieving data from the car.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the new &amp;#039;&amp;#039;Devices&amp;#039;&amp;#039; have been created in Domoticz, start using them on Dashboards, Floorplans, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See the Mercedes Developers portal (https://developer.mercedes-benz.com/console) for more info and the &amp;#039;&amp;#039;console&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
See this forum thread for more information and to ask question: https://www.domoticz.com/forum/viewtopic.php?f=56&amp;amp;t=33734&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Mercedes Me hardware module is based on the [[EVehicles]] framework available in Domoticz.&lt;br /&gt;
&lt;br /&gt;
[[Category:Domoticz]]&lt;br /&gt;
[[Category:Manual]]&lt;br /&gt;
[[Category:Setup]]&lt;br /&gt;
[[Category:Hardware]]&lt;br /&gt;
[[Category:EVehicles]]&lt;/div&gt;</summary>
		<author><name>Kiddigital</name></author>
	</entry>
</feed>