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.46k stars 343 forks source link

Can't request MIoT API /home/device_list, Can't login to MiCloud #478

Closed zubikovap closed 2 years ago

zubikovap commented 3 years ago

После каждой перезагрузки Home Assistant вылазит две ошибки, при этом интеграция авторизована через e-mail и прекрасно отдаёт информация о устройствах MiCloud. В чём может быть проблема?

Logger: custom_components.xiaomi_gateway3.core.xiaomi_cloud Source: custom_components/xiaomi_gateway3/core/xiaomi_cloud.py:169 Integration: Xiaomi Gateway 3 (documentation, issues) First occurred: 20:49:21 (1 occurrences) Last logged: 20:49:21 Can't request MIoT API /home/device_list Traceback (most recent call last): File "/config/custom_components/xiaomi_gateway3/core/xiaomi_cloud.py", line 169, in request assert resp['code'] == 0, resp AssertionError: {'code': 3, 'message': 'auth err'}

Logger: custom_components.xiaomi_gateway3 Source: custom_components/xiaomi_gateway3/init.py:166 Integration: Xiaomi Gateway 3 (documentation, issues) First occurred: 20:49:23 (1 occurrences) Last logged: 20:49:23 Can't login to MiCloud

AlexxIT commented 2 years ago

Duplicate #504