Hello,
I have two historic Xiaomi Roborock v1 from 2019, but they are still working well. Registered in the WLAN, current firmware, installation “Mainland China”, as recommended.
For some time now, the connection to the Xiaomi Cloud has failed. My Xiaomi fans are found, so access to the cloud works. Control from the Xiaomi Home app on the smartphone also works.
Initialisation fails and is called up again and again. The log file reveals:
2024-07-14 17:27:47.142 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-07-14 17:27:50.641 ERROR (SyncWorker_26) [miio.miioprotocol] Got error when receiving: timed out
2024-07-14 17:27:51.486 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 350, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "aiohttp/_http_parser.pyx", line 557, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message:
Invalid method encountered:
b'\x16\x03\x03'
^
2024-07-14 17:27:52.142 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-07-14 17:27:54.702 ERROR (SyncWorker_4) [miio.miioprotocol] Got error when receiving: timed out
2024-07-14 17:27:55.102 WARNING (MainThread) [homeassistant.components.frontier_silicon.media_player] Could not connect to http://192.168.10.82:80/fsapi. Did it go offline?
2024-07-14 17:27:56.501 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 350, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "aiohttp/_http_parser.pyx", line 557, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadStatusLine: 400, message:
Invalid method encountered:
b'\x16\x03\x03'
^
2024-07-14 17:27:57.167 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05
2024-07-14 17:27:59.810 DEBUG (SyncWorker_4) [miio.miioprotocol] Retrying with incremented id, retries left: 3
2024-07-14 17:27:59.817 DEBUG (SyncWorker_4) [miio.miioprotocol] Got a response: Container:
data = Container:
data = b'' (total 0)
value = b'' (total 0)
offset1 = 32
offset2 = 32
length = 0
header = Container:
data = b'!1\x00 \x00\x00\x00\x00\x04\xec\x85xf\x93\xee\x80' (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify('04ec8578')
ts = 2024-07-14 15:28:00
offset1 = 0
offset2 = 16
length = 16
checksum = b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff' (total 16)
2024-07-14 17:27:59.818 DEBUG (SyncWorker_4) [miio.miioprotocol] Discovered 04ec8578 with ts: 2024-07-14 15:28:00, token: b'ffffffffffffffffffffffffffffffff'
2024-07-14 17:27:59.820 DEBUG (SyncWorker_4) [miio.miioprotocol] 192.168.10.45:54321 >>: {'id': 7095, 'method': 'miIO.info', 'params': []}
2024-07-14 17:28:00.571 DEBUG (MainThread) [homeassistant.components.xiaomi_miio] Initializing with host 192.168.10.63 (token 6c6e7...)
2024-07-14 17:28:00.572 DEBUG (SyncWorker_18) [miio.click_common] Unknown model, trying autodetection. None None
2024-07-14 17:28:00.579 DEBUG (SyncWorker_18) [miio.miioprotocol] Got a response: Container:
data = Container:
data = b'' (total 0)
value = b'' (total 0)
offset1 = 32
offset2 = 32
length = 0
header = Container:
data = b'!1\x00 \x00\x00\x00\x00\x03M\xb2\xb8f\x93\xee\x81' (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify('034db2b8')
ts = 2024-07-14 15:28:01
offset1 = 0
offset2 = 16
length = 16
checksum = b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff' (total 16)
2024-07-14 17:28:00.580 DEBUG (SyncWorker_18) [miio.miioprotocol] Discovered 034db2b8 with ts: 2024-07-14 15:28:01, token: b'ffffffffffffffffffffffffffffffff'
2024-07-14 17:28:00.582 DEBUG (SyncWorker_18) [miio.miioprotocol] 192.168.10.63:54321 >>: {'id': 1, 'method': 'miIO.info', 'params': []}
2024-07-14 17:28:00.660 DEBUG (SyncWorker_26) [miio.miioprotocol] Retrying with incremented id, retries left: 2
Does anyone have a hint for me?
Greetings, Eckart