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

Update of Home Assistant Core to 2024.8.1 erros with Xiaomi gateway - Xiaomi Miio #124044

Closed
prestigio777 opened this issue Aug 16, 2024 · 7 comments

Comments

@prestigio777
Copy link

The problem

The problem
After the latest update to HA Core 2024.8.1 I've started getting errors for connection on Xiaomi Gateway, and on username that has Chines region devices
Also local Xiaomi devices on China region works, but cloud ones doesn't work.

There error from log is:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/xiaomi_miio/init.py", line 130, in async_setup_entry
await async_setup_gateway_entry(hass, entry)
File "/usr/src/homeassistant/homeassistant/components/xiaomi_miio/init.py", line 410, in async_setup_gateway_entry
await gateway.async_connect_gateway(host, token)
File "/usr/src/homeassistant/homeassistant/components/xiaomi_miio/gateway.py", line 66, in async_connect_gateway
await self._hass.async_add_executor_job(self.connect_gateway)
asyncio.exceptions.CancelledError: Global task timeout

2024-08-16 11:11:32.372 ERROR (SyncWorker_0) [xiaomi_gateway] Cannot connect to gateway 7c49eb88b437
2024-08-16 11:11:32.372 ERROR (SyncWorker_0) [xiaomi_gateway] No data in response from hub None
2024-08-16 11:11:34.270 ERROR (MainThread) [custom_components.xiaomi_gateway3.core.cloud] Timeout while requesting MIoT api /v2/home/device_list_page

Snap_Friday, August 16, 2024_11h24m32s_003_Settings � Home Assistant - Google Chrome

Could be there any network problems with reaching out to Chinese Xiaomi API from Europe?

What version of Home Assistant Core has the issue?

core-2024.8.1

What was the last working version of Home Assistant Core?

core-2024.8.0

What type of installation are you running?

Home Assistant OS

Integration causing the issue

custom_components.xiaomi_gateway3.core.cloud

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
Copy link

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

Code owner commands

Code owners of xiaomi_miio 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 xiaomi_miio 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)


xiaomi_miio documentation
xiaomi_miio source
(message by IssueLinks)

@mib1185
Copy link
Contributor

mib1185 commented Aug 16, 2024

@mib1185
Copy link
Contributor

mib1185 commented Aug 16, 2024

did you already tries the suggestion from #124034 (comment) from your previous opened issue?

@prestigio777
Copy link
Author

did you already tries the suggestion from #124034 (comment) from your previous opened issue?

Yes, I opened another ticket because it is a case with custom components as suggested by @rytilahti

@mib1185
Copy link
Contributor

mib1185 commented Aug 16, 2024

but the suggestion #124034 (comment) was to report this issue to the maintainer of the custom component, not to the HA core project again? 😉

@prestigio777
Copy link
Author

OK, i've opened a ticket with maintainer :)

@issue-triage-workflows
Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@issue-triage-workflows issue-triage-workflows bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants