Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mercedes Me sensors offline #152

Closed
vistalba opened this issue Nov 25, 2023 · 22 comments
Closed

Mercedes Me sensors offline #152

vistalba opened this issue Nov 25, 2023 · 22 comments

Comments

@vistalba
Copy link

Hi together

I run this integration since a few months. Got a new car last week and updated the config to get the new cars information.
Everything was working well until 23. November at 09:02.
Since then all sensors are unavailable. And beside of that, also in the Mercedes me app everything is offline and not available :(

I want to ask if anyone else has similar issues? May this integration spammed the API and I got banned?

@ReneNulschDE
Copy link
Owner

Hi, if it's not working in the MB App then call the MB Support and try to get the app running again. Afterthat your integration should work again. Most often this is a problem with account linking.

This integration is acting like the MB app and I have never heard that the integration produced problems with the MBApp.

@Jealy91
Copy link

Jealy91 commented Nov 27, 2023

I contacted support about this over a week ago, they said it's a known issue at the moment.

Thank you for contacting Mercedes-Benz about the issue you face with the remote information of your vehicle. We are sorry for the inconvenience. Its a known issue and at the moment the technical department is trying to resolve it and implement the solution.

@vistalba
Copy link
Author

Called the support line today. They told me the same.
No information when this will be fixed.
I tried to re-add the car at all to the Mercedes Me account.
Now stuck on „activation…“ of the services. Was probably not a good idea. :-(

@Jealy91
Copy link

Jealy91 commented Nov 27, 2023

Was considering calling them soon too, thanks for that.

Really annoying actually as I went to drive yesterday and my tyre was flat! If I had the app integration working it would have told me much earlier that I had a puncture! Typical.

@StefanHesse
Copy link

For me the App is working perfectly, but the HA Integration is not updating since "26. November 2023 um 23:07:26"
I could open a case with MB, but they will not work on it because the App is working perfectly i guess. Any ideas how i could solve this problem?

@ReneNulschDE
Copy link
Owner

ReneNulschDE commented Nov 28, 2023

Hi,

Whenever the app is working than we have to dive deeper with this integration. Could you enable debug logging, share more details about your environment and more detailed error description?

@StefanHesse
Copy link

Of course. I started debug logging now. How long should i let this run before sending you the data?
I updated my HA to version 2023.11.3 on November, 23rd and the integration worked after that update until November 26th.
I have an automation sending the SoC to an openWB wallbox, but this automation is not triggered becaused the mbapi2020 does not update the SoC. It is fixed at 80%.
What else do you need?

@ReneNulschDE
Copy link
Owner

@StefanHesse : Lets discuss this in a new issue as the problem is different from my perspective. #154

@mafde2023
Copy link

Same problem here, Mercedes me in the car, app and HA stopped working yesterday afternoon. Wrote an email to CAC today morning, no feedback yet....

@ReneNulschDE
Copy link
Owner

ReneNulschDE commented Nov 28, 2023

As we have more and more messages about this problem: Could you check if the deletion of the Token-file (see here) solves the problem with the integration? If, yes, then a logoff in the app could help there too.

@vistalba
Copy link
Author

As we have more and more messages about this problem: Could you check if the deletion of the Token-file (see here) solves the problem with the integration? If, yes, then a logoff in the app could help there too.

Tried multiple times in the past 5 days. No luck.

@mafde2023
Copy link

I have done full reset incl. wipe of all data of the official Mercedes me App, but still doesn't work. As far as that won't work, I don't expect HA integration to work again.

@ReneNulschDE
Copy link
Owner

ok - thanks for the feedback!

@mafde2023
Copy link

A colleague have me the advice to check the approval of the data protection guidelines. What should I say, after login to Mercedes me web portal I had to accept again all data protection guidelines and just afterwards the app started to work again, but not having all information available..... Unfortunately HA doesn't work yet, but I think I first have to drive some minutes with the car again to sync all settings and status information again to the backend of Mercedes. Will do that tomorrow and give feedback again.

@Jealy91
Copy link

Jealy91 commented Nov 29, 2023

My app started working this evening, looks like Mercedes have fixed their services.

Reloaded the integration in Home Assistant and everything came to life.

@bbird8
Copy link

bbird8 commented Nov 30, 2023

Same issue here out of the blue this morning.
Sensors unavailable. Nothing changed locally.
App seems still working.

Update: After 3h and restarting the integration from time to time, it seems to be working again now.
So, I expect the issue is clearly somewhere on the MB API side.

@ReneNulschDE
Copy link
Owner

@vistalba : Could you check again? Based on the feedback MB solved their problems.

@jasgrif11
Copy link

Mine still isn't working.
in logs I see http status 400 which is bad request, are your credentials still ok?
ClientError requesting data from https://id.mercedes-benz.com/as/token.oauth2: 400, message='Bad Request', url=URL('https://id.mercedes-benz.com/as/token.oauth2')
ClientError requesting data from https://id.mercedes-benz.com/as/token.oauth2: Cannot connect to host id.mercedes-benz.com:443 ssl:True [Try again]

@ReneNulschDE
Copy link
Owner

Please delete the auth-token file.

  1. Quit Home Assistant (HA)
  2. Delete the file .mercedesme-token-cache in the config folder of HA
  3. Restart HA
  4. A warning (task) appears in the frontend that the MBAPI2020 component has to log on again. Carry out these steps. (with the same account as in the MB app)
  5. Test

@vistalba
Copy link
Author

vistalba commented Dec 5, 2023

@ReneNulschDE Can‘t test as I‘m on a business trip without the car. Will report when I‘m back.

@jasgrif11
Copy link

Please delete the auth-token file.

  1. Quit Home Assistant (HA)
  2. Delete the file .mercedesme-token-cache in the config folder of HA
  3. Restart HA
  4. A warning (task) appears in the frontend that the MBAPI2020 component has to log on again. Carry out these steps. (with the same account as in the MB app)
  5. Test

I can confirm that this works. Thanks

@nicolaus-hee
Copy link

Update to 0.9.8 did the trick for me.

I was facing the issue with 0.9.6. Had deleted the config but could not re-login ("unknown error" after providing e-mail address). Worked again after update to 0.9.8 via HACS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants