al-one / hass-xiaomi-miot

Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices. 小米米家智能家居设备接入Hass集成
https://miot-spec.com
Apache License 2.0
4.65k stars 664 forks source link

Request xiaomi api failed, response: None #1957

Open link188 opened 3 days ago

link188 commented 3 days ago

This error originated from a custom integration.

Logger: custom_components.xiaomi_miot.core.xiaomi_cloud Source: custom_components/xiaomi_miot/core/xiaomi_cloud.py:240 integration: Xiaomi Miot Auto (documentation, issues) First occurred: 9:47:18 AM (221 occurrences) Last logged: 10:39:00 PM

Request xiaomi api: miotspec/prop/get {'params': [{'did': '684989161', 'siid': 7, 'piid': 1}, {'did': '684989161', 'siid': 7, 'piid': 2}, {'did': '684989161', 'siid': 8, 'piid': 1}, {'did': '684989161', 'siid': 8, 'piid': 2}, {'did': '684989161', 'siid': 8, 'piid': 3}, {'did': '684989161', 'siid': 8, 'piid': 4}, {'did': '684989161', 'siid': 8, 'piid': 5}, {'did': '684989161', 'siid': 8, 'piid': 6}, {'did': '684989161', 'siid': 8, 'piid': 7}, {'did': '684989161', 'siid': 8, 'piid': 8}, {'did': '684989161', 'siid': 8, 'piid': 9}, {'did': '684989161', 'siid': 6, 'piid': 1}, {'did': '684989161', 'siid': 6, 'piid': 2}, {'did': '684989161', 'siid': 5, 'piid': 1}, {'did': '684989161', 'siid': 5, 'piid': 2}, {'did': '684989161', 'siid': 4, 'piid': 1}, {'did': '684989161', 'siid': 4, 'piid': 2}, {'did': '684989161', 'siid': 3, 'piid': 1}, {'did': '684989161', 'siid': 3, 'piid': 2}, {'did': '684989161', 'siid': 3, 'piid': 3}, {'did': '684989161', 'siid': 2, 'piid': 1}, {'did': '684989161', 'siid': 2, 'piid': 2}, {'did': '684989161', 'siid': 2, 'piid': 3}, {'did': '684989161', 'siid': 2, 'piid': 4}]} failed, response: None Request xiaomi api: miotspec/prop/get {'params': [{'did': '684989161', 'siid': 2, 'piid': 1}, {'did': '684989161', 'siid': 2, 'piid': 2}, {'did': '684989161', 'siid': 2, 'piid': 3}, {'did': '684989161', 'siid': 2, 'piid': 4}, {'did': '684989161', 'siid': 8, 'piid': 1}, {'did': '684989161', 'siid': 8, 'piid': 2}, {'did': '684989161', 'siid': 8, 'piid': 3}, {'did': '684989161', 'siid': 8, 'piid': 4}, {'did': '684989161', 'siid': 8, 'piid': 5}, {'did': '684989161', 'siid': 8, 'piid': 6}, {'did': '684989161', 'siid': 8, 'piid': 7}, {'did': '684989161', 'siid': 8, 'piid': 8}, {'did': '684989161', 'siid': 8, 'piid': 9}, {'did': '684989161', 'siid': 6, 'piid': 1}, {'did': '684989161', 'siid': 6, 'piid': 2}, {'did': '684989161', 'siid': 5, 'piid': 1}, {'did': '684989161', 'siid': 5, 'piid': 2}, {'did': '684989161', 'siid': 4, 'piid': 1}, {'did': '684989161', 'siid': 4, 'piid': 2}, {'did': '684989161', 'siid': 3, 'piid': 1}, {'did': '684989161', 'siid': 3, 'piid': 2}, {'did': '684989161', 'siid': 3, 'piid': 3}, {'did': '684989161', 'siid': 7, 'piid': 1}, {'did': '684989161', 'siid': 7, 'piid': 2}]} failed, response: None Request xiaomi api: scene/history {'home_id': 720001024994, 'uid': 1551162473, 'owner_uid': 1551162473, 'command': 'history', 'limit': 15} failed, response: None Request xiaomi api: v2/message/v2/typelist {} failed, response: None Request xiaomi api: miotspec/prop/get {'params': [{'did': '821110300', 'siid': 2, 'piid': 1}, {'did': '821110300', 'siid': 2, 'piid': 3}, {'did': '821110300', 'siid': 2, 'piid': 4}, {'did': '821110300', 'siid': 2, 'piid': 5}]} failed, response: None

Followed by: This error originated from a custom integration.

Logger: custom_components.xiaomi_miot.core.xiaomi_cloud Source: custom_components/xiaomi_miot/core/xiaomi_cloud.py:771 integration: Xiaomi Miot Auto (documentation, issues) First occurred: 9:47:18 AM (221 occurrences) Last logged: 10:39:00 PM

Error while executing request to https://api.io.mi.com/app/scene/history: Error while executing request to https://api.io.mi.com/app/miotspec/prop/get: Error while executing request to https://api.io.mi.com/app/v2/message/v2/typelist:

And: This error originated from a custom integration.

Logger: custom_components.xiaomi_miot.sensor Source: custom_components/xiaomi_miot/sensor.py:765 integration: Xiaomi Miot Auto (documentation, issues) First occurred: 9:47:08 AM (2 occurrences) Last logged: 9:47:18 AM

Get xiaomi scene history for 1551162473 720001024994 failed: {'code': 0, 'message': '成功', 'result': {'history': []}} Get xiaomi scene history for 1551162473 720001651600 failed: {}

And: Logger: homeassistant.components.sensor Source: runner.py:189 integration: Sensor (documentation, issues) First occurred: 9:47:17 AM (1 occurrences) Last logged: 9:47:17 AM

Setup of sensor platform xiaomi_miot is taking over 10 seconds.

al-one commented 2 days ago