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

Home assistant Integration not fully loaded #642

Open
rikroe opened this issue Aug 2, 2024 · 25 comments · Fixed by home-assistant/core#124651
Open

Home assistant Integration not fully loaded #642

rikroe opened this issue Aug 2, 2024 · 25 comments · Fixed by home-assistant/core#124651

Comments

@rikroe
Copy link
Member

rikroe commented Aug 2, 2024

Good morning,
I have a BMW 318d from 2018 and I just installed the BMW Connected Drive integration. after having entered my login and password, it found 6 entities. but the problem is that everything remains “unknown”.
Is there anything more I need to do after installing the integration? why doesn't this work?
thank you.

Originally posted by @schumi2309 in #641

@rikroe
Copy link
Member Author

rikroe commented Aug 2, 2024

That seems not normal.
Have you tried reloading the integration?

Otherwise, please go to the integrations page, download a diagnostic report and upload it.

@schumi2309
Copy link

yes, I have already reloaded the integration, restarted Home Assistant, but that doesn't change anything.
here is the diagnosis concerning the bmw integration:

Capture d’écran 2024-08-02 à 18 40 35

@rikroe
Copy link
Member Author

rikroe commented Aug 2, 2024

Could you please provide the whole file?
It is stripped of any personal information and safe to upload publicly.

@schumi2309
Copy link

schumi2309 commented Aug 2, 2024

@rikroe
Copy link
Member Author

rikroe commented Aug 3, 2024

Thanks for providing this! However I've got some bad news - on pre-LCI F31 vehicles (i.e. with NBT) the only thing we can provide are buttons (for the remote services), lock (to lock/unlock, but without the current lock state) and device_tracker (if vehicle finder server was run).

The API does not provide more information, thats also why you dont have more options in the MyBMW app.

@schumi2309
Copy link

schumi2309 commented Aug 3, 2024

so if I understand you correctly, I have 6 entities but no status feedback, neither for the tracker, nor for the lock.
no information comes back. ?
so, what use are the 6 entities to me if in any case, nothing works and no state goes back to HA???
Is that what I should understand?
My desire here was not to control my doors or horn etc, but to have the status tracker and door locking. information only.

Capture d’écran 2024-08-03 à 09 45 28
Capture d’écran 2024-08-03 à 09 45 43
Capture d’écran 2024-08-03 à 09 46 03
Capture d’écran 2024-08-03 à 09 51 46

@rikroe
Copy link
Member Author

rikroe commented Aug 3, 2024

Exactly. On your pre-facelift 3 series F31, you can only control the car but will not get any status information back.

This is a limitation of the BMW API and the same in the MyBMW app.
There is no possibility to change this except for buying a newer car, unfortunately.

@schumi2309
Copy link

In my case, I don't even control my car in HA.
nothing works. I only have the entities but they are of no use. If I press a button I have:
Failed to call the service.
so I don't even know how to control it.
so, what is the point of integrating if I don't know how to control it or have the status??

@rikroe
Copy link
Member Author

rikroe commented Aug 3, 2024

Is there any further log message when you call the service?

The point of this integration is that if you have a newer car (3 series after 2019) or some other newer model, you also have status.

Why BMW is not able to provide the status on their first generation connected vehicles, please ask BMW.

@schumi2309
Copy link

Here is the message when I press the service:
Capture d’écran 2024-08-03 à 10 46 32

However, in the MyBMW app, I have access to all these commands, for example, it opens or closes my doors, and sends me a notification on my smartphone after execution.

IMG_2736

@rikroe
Copy link
Member Author

rikroe commented Aug 3, 2024

You should be able to lock/unlock your car.

For vehicle finder it seems that the BMW API reports it is unavailable, but apparently it will work nevertheless:
image

I'll put in a PR for this. However please keep in mind that you will have to call this service to get it updated, as the car will not update it by itself.
Calling the API too often will also result in rate limits by the API.

@schumi2309
Copy link

schumi2309 commented Aug 4, 2024

Thanks for your help.
But what is PR?
Could you tell me what I should do?
should I install bimmerconnected? because I just installed the BMW connected Drive integration.
If yes, what is the procedure? with HACS?
Thanks again...

@rikroe
Copy link
Member Author

rikroe commented Aug 6, 2024

Pull request = the request to merge code, in this case #643.
This needs to be merged into this code base first.

Then we need to create a new version release of this library and Create another PR with home assistant to have this included as well. Then you can get the latest update of HA and have the fixes.

It's a process, please have some patience.

@schumi2309
Copy link

schumi2309 commented Aug 7, 2024

yes, yes, of course, no worries.
I just wanted to know what to do and how to do it.
should I still install "bimmerconnected"?
and if so, what is the procedure? via hacs?
that's very kind of you, once again a big thank you...

@rybackisback
Copy link

rybackisback commented Aug 8, 2024

I also get the error failed to perform action error. see attached. HA 2024.8
Screenshot 2024-08-08 172325

My issue was related to my connected drive subscription running out. Once i renewed my subscription it started to work again.

@rikroe
Copy link
Member Author

rikroe commented Aug 8, 2024

I just wanted to know what to do and how to do it.

Just install the latest Home Assistant. Although be warned that the current issue is not yet integrated.

@rybackisback please also provide a diagnostics json.

@schumi2309
Copy link

Je voulais juste savoir quoi faire et comment le faire.

Il suffit d'installer la dernière version de Home Assistant. Sachez toutefois que la version actuelle n'est pas encore intégrée.

@rybackisbackveuillez également fournir un json de diagnostic.

Do you have any news regarding my problem?
I just updated HA again, but nothing changes.
Thanks in advance...

@rikroe
Copy link
Member Author

rikroe commented Aug 27, 2024

The changes got merged into HA Core repo, so will be available with HA 2025.9.

@schumi2309
Copy link

Ok, thanks.

But: HA 2025.9 or HA 2024.9 ?

@rikroe
Copy link
Member Author

rikroe commented Aug 30, 2024

Sorry, 2024.9 😉

@schumi2309
Copy link

schumi2309 commented Sep 8, 2024

hello, it's me again.
I don't see anything new in version 2024.9
Do I need to re-install the BMW Connect integration?
i have HA 2024.9.1

@rikroe
Copy link
Member Author

rikroe commented Sep 9, 2024

No worries!

You will not see any new sensors etc. as your car unfortunately does not support them. (Un)locking the car and using the services however should work now.

@schumi2309
Copy link

unfortunately, it still doesn't work, even since the update!
here are the captures:

Capture d’écran 2024-09-13 à 17 22 24

Capture d’écran 2024-09-13 à 17 22 14

I would really have hoped to at least get the status back on my sensors, but nothing!
Thank you.

@schumi2309
Copy link

No info for my problem?
it still doesn't work.

@rikroe
Copy link
Member Author

rikroe commented Sep 21, 2024

You need to buy a new car to get sensors.

Your car does not support it, you will never see sensors.

Sorry.

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

Successfully merging a pull request may close this issue.

3 participants