Mercedes Me (Connected Vehicle)
Moderator: leecollings
-
- Posts: 12
- Joined: Saturday 14 September 2019 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Mercedes Me (Connected Vehicle)
Just after posting I have tried again and it works now.
So best is to renew your auth code with :
https://ssoalpha.dvb.corpinter.net/v1/a ... t_id=<your client ID>redirect_uri=https://localhost&scope=openid%20mb:vehicle:mbdata:vehiclestatus%20mb:vehicle:mbdata:fuelstatus%20mb:vehicle:mbdata:payasyoudrive%20mb:vehicle:mbdata:vehiclelock%20mb:vehicle:mbdata:evstatus%20offline_access&state=test&prompt=login%20consent
and to put the response code again as password in the Hardware definition in Domoticz.
So best is to renew your auth code with :
https://ssoalpha.dvb.corpinter.net/v1/a ... t_id=<your client ID>redirect_uri=https://localhost&scope=openid%20mb:vehicle:mbdata:vehiclestatus%20mb:vehicle:mbdata:fuelstatus%20mb:vehicle:mbdata:payasyoudrive%20mb:vehicle:mbdata:vehiclelock%20mb:vehicle:mbdata:evstatus%20offline_access&state=test&prompt=login%20consent
and to put the response code again as password in the Hardware definition in Domoticz.
- rolandbreedveld
- Posts: 156
- Joined: Wednesday 09 March 2016 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Contact:
Re: Mercedes Me (Connected Vehicle)
@frankdep
I also use the new method,
but I also have some issues with the app on my iPhone, it's sometimes reacting very slow or not, when (example) open/close the windows.
perhaps the Mercedes api is sometimes overloaded....
I also use the new method,
but I also have some issues with the app on my iPhone, it's sometimes reacting very slow or not, when (example) open/close the windows.
perhaps the Mercedes api is sometimes overloaded....
Raspberry Pi(SSD)+UPS HAT,Dashticz on WallTablet,HomeBridge, P1, HarmonyHub,FritzBox,API to 123Solar+ABB-PowerOne+SMA,ESP-Leds(flashed LSC),Tasmota,Shelly,MQTT,Mosquito,Node-Red,http://wiki.breedveld.net/index.php?title=RPiWaterMeter, Mercedes-Me
- rolandbreedveld
- Posts: 156
- Joined: Wednesday 09 March 2016 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Contact:
Re: Mercedes Me (Connected Vehicle)
Yes, I also use this, the new token works fine, but after some time, it failed againfrankdep wrote: ↑Tuesday 06 June 2023 12:48 Just after posting I have tried again and it works now.
So best is to renew your auth code with :
https://ssoalpha.dvb.corpinter.net/v1/a ... t_id=<your client ID>redirect_uri=https://localhost&scope=openid%20mb:vehicle:mbdata:vehiclestatus%20mb:vehicle:mbdata:fuelstatus%20mb:vehicle:mbdata:payasyoudrive%20mb:vehicle:mbdata:vehiclelock%20mb:vehicle:mbdata:evstatus%20offline_access&state=test&prompt=login%20consent
and to put the response code again as password in the Hardware definition in Domoticz.
Raspberry Pi(SSD)+UPS HAT,Dashticz on WallTablet,HomeBridge, P1, HarmonyHub,FritzBox,API to 123Solar+ABB-PowerOne+SMA,ESP-Leds(flashed LSC),Tasmota,Shelly,MQTT,Mosquito,Node-Red,http://wiki.breedveld.net/index.php?title=RPiWaterMeter, Mercedes-Me
-
- Posts: 10
- Joined: Friday 12 February 2021 17:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Mercedes Me (Connected Vehicle)
I have had this issue for day or two also.
I get new authorization code and refresh token just fine, so that should indicate that authorization code is ok.
But, when I insert the new refresh token into uservariable and new authorization code into "password" field of domoticz, result is:
Jun 6 16:15:31 curder domoticz[28133]: 2023-06-06 16:15:31.850 Status: MyMersu: Worker started...
Jun 6 16:15:32 curder domoticz[28133]: 2023-06-06 16:15:32.850 MyMersu: Attempting (re)login (using stored refresh token!).
Jun 6 16:15:33 curder domoticz[28133]: 2023-06-06 16:15:33.371 Status: MyMersu: Received unhandled HTTP returncode 502 !
Jun 6 16:15:33 curder domoticz[28133]: 2023-06-06 16:15:33.372 #033[1;31mError: MyMersu: Failed to get token.#033[0;0m
Jun 6 16:15:33 curder domoticz[28133]: 2023-06-06 16:15:33.372 #033[1;31mError: MyMersu: Failed to refresh login credentials.#033[0;0m
Jun 6 16:15:34 curder domoticz[28133]: 2023-06-06 16:15:34.374 MyMersu: Attempting login (using provided Authorization code).
Jun 6 16:15:34 curder domoticz[28133]: 2023-06-06 16:15:34.660 Status: MyMersu: Received (400) Bad Request.. Unexpected unless something has changed! ({"error":"invalid_request","error_description":"invalid auth code"})
I get new authorization code and refresh token just fine, so that should indicate that authorization code is ok.
But, when I insert the new refresh token into uservariable and new authorization code into "password" field of domoticz, result is:
Jun 6 16:15:31 curder domoticz[28133]: 2023-06-06 16:15:31.850 Status: MyMersu: Worker started...
Jun 6 16:15:32 curder domoticz[28133]: 2023-06-06 16:15:32.850 MyMersu: Attempting (re)login (using stored refresh token!).
Jun 6 16:15:33 curder domoticz[28133]: 2023-06-06 16:15:33.371 Status: MyMersu: Received unhandled HTTP returncode 502 !
Jun 6 16:15:33 curder domoticz[28133]: 2023-06-06 16:15:33.372 #033[1;31mError: MyMersu: Failed to get token.#033[0;0m
Jun 6 16:15:33 curder domoticz[28133]: 2023-06-06 16:15:33.372 #033[1;31mError: MyMersu: Failed to refresh login credentials.#033[0;0m
Jun 6 16:15:34 curder domoticz[28133]: 2023-06-06 16:15:34.374 MyMersu: Attempting login (using provided Authorization code).
Jun 6 16:15:34 curder domoticz[28133]: 2023-06-06 16:15:34.660 Status: MyMersu: Received (400) Bad Request.. Unexpected unless something has changed! ({"error":"invalid_request","error_description":"invalid auth code"})
-
- Posts: 10
- Joined: Friday 12 February 2021 17:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Mercedes Me (Connected Vehicle)
Hmm....now it works again, after couple of days and about 5 separate attempts re-do authorization during that period.
So, maybe it is a intermittent "Bad gateway" (502), let's see how long it keeps working.
So, maybe it is a intermittent "Bad gateway" (502), let's see how long it keeps working.
- rolandbreedveld
- Posts: 156
- Joined: Wednesday 09 March 2016 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Contact:
Re: Mercedes Me (Connected Vehicle)
problem seems solved now, it looks like it was a Mercedes api (overload?) problem.
Raspberry Pi(SSD)+UPS HAT,Dashticz on WallTablet,HomeBridge, P1, HarmonyHub,FritzBox,API to 123Solar+ABB-PowerOne+SMA,ESP-Leds(flashed LSC),Tasmota,Shelly,MQTT,Mosquito,Node-Red,http://wiki.breedveld.net/index.php?title=RPiWaterMeter, Mercedes-Me
- kiddigital
- Posts: 435
- Joined: Thursday 10 August 2017 6:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Mercedes Me (Connected Vehicle)
Any 5xx response code means something went wrong at the mercedes API side. Nothing domoticz can do about except reporting it.
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
One RPi with Pi foundation standard touch screen to display Dashticz
- rolandbreedveld
- Posts: 156
- Joined: Wednesday 09 March 2016 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Contact:
Re: Mercedes Me (Connected Vehicle)
That's good to know @kiddigital, I already thought it was not a domoticz but an api problem, after a couple of day's the problem was gone.kiddigital wrote: ↑Wednesday 07 June 2023 21:40 Any 5xx response code means something went wrong at the mercedes API side. Nothing domoticz can do about except reporting it.
(and after getting a new token)
Raspberry Pi(SSD)+UPS HAT,Dashticz on WallTablet,HomeBridge, P1, HarmonyHub,FritzBox,API to 123Solar+ABB-PowerOne+SMA,ESP-Leds(flashed LSC),Tasmota,Shelly,MQTT,Mosquito,Node-Red,http://wiki.breedveld.net/index.php?title=RPiWaterMeter, Mercedes-Me
- kiddigital
- Posts: 435
- Joined: Thursday 10 August 2017 6:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Mercedes Me (Connected Vehicle)
Hello all,
Not sure if all/more users of the MercedesMe domoticz integration did receive an e-mail from Daimler/Mercedes-benz, but they announced the EOL of their BYOCAR product on which the integration is based!
The BYOCAR will be taken offline already by the end of August 2023!! (in just a few weeks after the announcement )
It is unknown if/when an alternative might be announced.
So unfortunately, it looks that we no longer can get information from our Mercedes vehicle in Domoticz and the integration will stop working
Not sure if all/more users of the MercedesMe domoticz integration did receive an e-mail from Daimler/Mercedes-benz, but they announced the EOL of their BYOCAR product on which the integration is based!
The BYOCAR will be taken offline already by the end of August 2023!! (in just a few weeks after the announcement )
It is unknown if/when an alternative might be announced.
So unfortunately, it looks that we no longer can get information from our Mercedes vehicle in Domoticz and the integration will stop working
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
One RPi with Pi foundation standard touch screen to display Dashticz
- FireWizard
- Posts: 1745
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: Mercedes Me (Connected Vehicle)
Very sad, that, in this case, Mercedes announce this at such a short-term, that nobody would be able to implement an alternative solution, if that would have existed.
See the full text below:
See the full text below:
Dear BYOCAR users,
Since June 2020, we have been offering you and many other Mercedes-Benz customers the opportunity to access selected data of your own Mercedes-Benz vehicle with the BRING-YOUR-OWN-CAR initiative. The underlying technology has changed significantly during this time and the BYOCAR infrastructure no longer meets our current technical requirements. Therefore, we have to inform you that the BYOCAR data products will be switched off by us on 31.08.2023. Due to technical conditions, we will start the stepwise sundown on 28.08.2023 already.
We would like to thank you for your BYOCAR commitment over the past months and years.
We are working on a new solution and will provide information on this via our Mercedes-Benz /developers portal and via our newsletter.
Regards,
Your Mercedes-Benz /developers team
- rolandbreedveld
- Posts: 156
- Joined: Wednesday 09 March 2016 11:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Contact:
Re: Mercedes Me (Connected Vehicle)
"We are working on a new solution and will provide information on this via our Mercedes-Benz /developers portal and via our newsletter."
Because the are German, this can take a long time......
Because the are German, this can take a long time......
Raspberry Pi(SSD)+UPS HAT,Dashticz on WallTablet,HomeBridge, P1, HarmonyHub,FritzBox,API to 123Solar+ABB-PowerOne+SMA,ESP-Leds(flashed LSC),Tasmota,Shelly,MQTT,Mosquito,Node-Red,http://wiki.breedveld.net/index.php?title=RPiWaterMeter, Mercedes-Me
Who is online
Users browsing this forum: No registered users and 0 guests