home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.88k stars 30.95k forks source link

Airthings cannot receive response from API - Too Many Requests #129283

Open hillsandales opened 3 weeks ago

hillsandales commented 3 weeks ago

The problem

Said to be fixed in #101666 . I've updated to the latest HA version, version 2024.10.4 and cannot make this error stop happening. I reset the integration and re-added the Airthings API login, etc. but no luck. Was this issue fixed? If so, how do I apply the fix to my install? I assumed being part of HA Core, it would upgrade when HA was upgraded.

What version of Home Assistant Core has the issue?

core-2024.10.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Airthings

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 3 weeks ago

Hey there @danielhiversen, @lastrada, mind taking a look at this issue as it has been labeled with an integration (airthings) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `airthings` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign airthings` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


airthings documentation airthings source (message by IssueLinks)

mib1185 commented 3 weeks ago

based on the last https://github.com/home-assistant/core/issues/101666#issuecomment-2092848365 your issue might be different

fluffy commented 3 weeks ago

I am running into this problem too. I had 9 devices with a bunch of sensors, then went to 13 device with about 83 sensors total and started getting this error. I'm on HA core 2024.1.5 and frontend 20240104.0

Update: I am running docker version of HA and I did not realize that it would not show there was updates on the HA web page and I had to use docker for that. I upgraded to HA core 2024.10.4 and everything started working with 14 devices and 85 entities.

hillsandales commented 3 weeks ago

I had 11 devices before deleting them trying to fix this. Now it won't reconnect to the API due to too many requests.

LaStrada commented 3 weeks ago

Please attach debug logs for the integration, hard to debug without it. https://www.home-assistant.io/docs/configuration/troubleshooting/#debug-logs-and-diagnostics

Also, how many homes do you have? We switched to a different endpoint in January, so if you have a lot of homes, you can still get a 429 error.