ReneNulschDE / mbapi2020

Custom Component to integrate MercedesME devices into Home-Assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Smart missing after uninstall and reinstall 0.10/0.10.1

Whatsek opened this issue · comments

After upgrading to 0.10 I had the PIN log issue. So I uninstalled, removed the folder, restarted an reinstalled the component. The PIN verification was working after that, but no cars are found. ( Should be an Smart ED)

I installed the Mercedes.me app on my phone and tried to add my Smart again, but the message was: This vehicle is already in your account.

I upgraded to 0.10.1 and restarted Home Assistant, still no car in Home Assistant. I enabled logging:

_Logger: custom_components.mbapi2020
Source: custom_components/mbapi2020/init.py:173
Integration: MercedesME 2020 (documentation, issues)
First occurred: 9:57:47 PM (1 occurrences)
Last logged: 9:57:47 PM

No active cars found. Websocket connection disabled._

I am using the mbapi2020 since it was migrated from the previous smart api component, and it always worked fine.

Same for my Smart EQ. No cars found after the 0.10 and 0.10.1 upgrades.

Smarts have only ever worked by "accident"...

Are you able to edit a code file to test something?

I have no access to a smart anymore and can't test it.

Ok I'm ready
Thanks

I prepared this gist: https://gist.github.com/ReneNulschDE/96916f579feafb7474d9d9e4225bd412

But, I'm not sure if we have to change some other parts too. But this is the starting point.

Background: Smarts have no masterdata records and I created the car based on the websocket information only.

It's working now!!! Great

That's good news! I can try this tomorrow. Thanks for your great support!

Its part of the master branch now and will be part of the next release too

Can confirm this works! Thank you for still supporting our small Mercedes brothers!

I have published a pre release v0.11.0-beta.1.