AlexxIT / XiaomiGateway3

Home Assistant custom component for control Xiaomi Multimode Gateway (aka Gateway 3), Xiaomi Multimode Gateway 2, Aqara Hub E1 on default firmwares over LAN
https://github.com/AlexxIT/Blog
MIT License
2.38k stars 330 forks source link

Timeout while requesting MIoT api #1077

Open Lozus opened 1 year ago

Lozus commented 1 year ago

Hello! I have no problems with internet. All other cloud intrgrations (xiaomi, xiaomi miot, tuya) and internet generally works well. I tried to reinstall integration.

I have installed Xiaomi Gataway 3.with mi account login. After HA restart I see error “failed to setup”. If press Configure I see error massage “config flow could not be loaded”

Log 1:

This error originated from a custom integration.

Logger: custom_components.xiaomi_gateway3
Source: custom_components/xiaomi_gateway3/init.py:107
Integration: Xiaomi Gateway 3 (documentation, issues)
First occurred: 20:39:09 (1 occurrences)
Last logged: 20:39:09

Can’t load devices from MiCloud

Log 2:

This error originated from a custom integration.

Logger: custom_components.xiaomi_gateway3.core.xiaomi_cloud
Source: custom_components/xiaomi_gateway3/core/xiaomi_cloud.py:124
Integration: Xiaomi Gateway 3 (documentation, issues)
First occurred: 20:37:40 (2 occurrences)
Last logged: 20:39:09

Timeout while requesting MIoT api /v2/home/device_list_page

Full log:

2023-05-26 20:37:03.297 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration xiaomi_gateway3 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2023-05-26 20:37:15.028 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 2: {‘energy’, ‘repairs’, ‘sonoff’, ‘device_tracker’, ‘input_boolean’, ‘mqtt’, ‘ffmpeg’, ‘counter’, ‘timer’, ‘mobile_app’, ‘tts’, ‘stream’, ‘my’, ‘media_source’, ‘logbook’, ‘script’, ‘input_select’, ‘input_datetime’, ‘diagnostics’, ‘group’, ‘auth’, ‘onboarding’, ‘xiaomi_miot’, ‘assist_pipeline’, ‘person’, ‘hacs’, ‘analytics’, ‘tag’, ‘map’, ‘stt’, ‘sun’, ‘conversation’, ‘homeassistant_alerts’, ‘brother’, ‘input_button’, ‘input_number’, ‘schedule’, ‘system_health’, ‘config’, ‘search’, ‘blueprint’, ‘zha’, ‘scene’, ‘sensor’, ‘file_upload’, ‘persistent_notification’, ‘androidtv_remote’, ‘tuya’, ‘rpi_power’, ‘input_text’, ‘localtuya’, ‘image_upload’, ‘device_automation’, ‘application_credentials’, ‘lovelace’, ‘default_config’, ‘xiaomi_gateway3’, ‘hardware’, ‘binary_sensor’, ‘history’, ‘trace’, ‘automation’, ‘xiaomi_miot_raw’, ‘zone’}

2023-05-26 20:37:27.332 INFO (MainThread) [homeassistant.setup] Setting up xiaomi_gateway3

2023-05-26 20:37:28.092 INFO (MainThread) [homeassistant.setup] Setup of domain xiaomi_gateway3 took 0.8 seconds

2023-05-26 20:37:40.351 ERROR (MainThread) [custom_components.xiaomi_gateway3.core.xiaomi_cloud] Timeout while requesting MIoT api /v2/home/device_list_page

2023-05-26 20:39:09.079 ERROR (MainThread) [custom_components.xiaomi_gateway3.core.xiaomi_cloud] Timeout while requesting MIoT api /v2/home/device_list_page

2023-05-26 20:39:09.081 ERROR (MainThread) [custom_components.xiaomi_gateway3] Can’t load devices from MiCloud

Pls help!

AlexxIT commented 1 year ago

You already create 3 similar issues. You should stop do it. The component does not need the cloud to work. Even if it doesn't work for you for some reason, it shouldn't be a problem.

Lozus commented 1 year ago

In other issue you answer was what I have problem with internet. Therefore I wrote what all other connections and HA generally works well.

Thank you!