home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
4.75k stars 7.18k forks source link

Suggest warning about automated polling issues #33861

Open BenoitVH opened 1 month ago

BenoitVH commented 1 month ago

Feedback

Hi, I'm very glad with the possibilities this BMW integration offers. However, the default polling frequency will lead to BMW Connected Drive Cloud locking you out of your account after 2 days of working. I found this out at my expense and had to dig into the solved issues pages to find the solution (issue #78792 ; bmw_connected_drive - 403 Quota Exceeded) This (and other issues) also suggest good workarounds which basically mean going to manual polling for state changes.

Perhaps a warning in the documentation would be appropriate and would remove quite some frustrations...

Kind regards, Benoit

URL

https://www.home-assistant.io/integrations/bmw_connected_drive/

Version

2024.7.2

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @gerard33, @rikroe, mind taking a look at this feedback as it has been labeled with an integration (bmw_connected_drive) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `bmw_connected_drive` can trigger bot actions by commenting: - `@home-assistant close` Closes the feedback. - `@home-assistant rename Awesome new title` Renames the feedback. - `@home-assistant reopen` Reopen the feedback. - `@home-assistant unassign bmw_connected_drive` Removes the current integration label and assignees on the feedback, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information) to the feedback. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information) on the feedback.
rikroe commented 1 month ago

Hi, we sometimes get quota issues, but in general the general feedback is that 5 minutes is fine for rest_of_world and 10 minutes for north_america. In which region are you located?

Do you use a lot of remote services to change vehicle state?

Also generally we have observed that quota issues come and go as BMW adjusts their configs as well. Usually, it also resets at 12am UTC and everything continues to work. The MyBMW app continues to work from experience/feedback.

However some notes regarding best practices might be a good idea nonetheless.

BenoitVH commented 1 month ago

Hi, Thanks for the reply, to your first question, I live in Europe. When I got the problem there was hardly any other polling than the automated one the integration was doing to update an HA dashboard. When it stopped, the car would be completely disconnected from the Internet : no updates in the My BMW app, no traffic info updates or changes to the BMW Id... It stopped working at 11am and automatically restored at 11am the next day (24h later)

I changed the dashboard polling to once every 20 minutes during the day and once per hour at night and had no issues since.

KR,

Benoit


From: Richard Kroegel @.> Sent: Saturday, July 20, 2024 11:32:25 AM To: home-assistant/home-assistant.io @.> Cc: Benoit Vanhove @.>; Author @.> Subject: Re: [home-assistant/home-assistant.io] Suggest warning about automated polling issues (Issue #33861)

Hi, we sometimes get quota issues, but in general the general feedback is that 5 minutes is fine for rest_of_world and 10 minutes for north_america. In which region are you located?

Do you use a lot of remote services to change vehicle state?

Also generally we have observed that quota issues come and go as BMW adjusts their configs as well. Usually, it also resets at 12am UTC and everything continues to work. The MyBMW app continues to work from experience/feedback.

However some notes regarding best practices might be a good idea nonetheless.

— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/home-assistant.io/issues/33861#issuecomment-2241060626, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ66SWF5NQ4WNEF4MT2T3QTZNIVCTAVCNFSM6AAAAABLCGX5NGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGA3DANRSGY. You are receiving this because you authored the thread.Message ID: @.***>

rikroe commented 1 month ago

To be honest, I would assume that this was a one time issue.

My car was polling status updates every 5 minutes between 2024-07-14 and 2024-07-20 (until HA restart due to update) and I didn't see the quota issue (also located in Europe).

Can you please try again using the default polling settings?

BenoitVH commented 1 month ago

The integration has been working like a breeze with the lower update frequency.

So I’m quite happy as it stands; and I can always force a refresh by touching a control.

Thanks for your coding work!

From: Richard Kroegel @.> Sent: zondag 21 juli 2024 11:35 To: home-assistant/home-assistant.io @.> Cc: Benoit Vanhove @.>; Author @.> Subject: Re: [home-assistant/home-assistant.io] Suggest warning about automated polling issues (Issue #33861)

To be honest, I would assume that this was a one time issue.

My car was polling status updates every 5 minutes between 2024-07-14 and 2024-07-20 (until HA restart due to update) and I didn't see the quota issue (also located in Europe).

Can you please try again using the default polling settings?

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/home-assistant.io/issues/33861#issuecomment-2241544434 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ66SWBAUGKKAJOVWRH2SXTZNN6E5AVCNFSM6AAAAABLCGX5NGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGU2DINBTGQ . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AQ66SWCBRTXBAU2N2LPVYWDZNN6E5A5CNFSM6AAAAABLCGX5NGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUFTNAPE.gif Message ID: @. @.> >