miiocli -d vacuum --ip 192.168.0.16 --token xxxxxxxxxxxxxxxxx status INFO:miio.cli:Debug mode active Running command status DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b'' DEBUG:miio.device: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\x00xxxxxxxx]\xc9\xe1\xef' (total 16) value = Container: length = 32 unknown = 0 device_id = b'xxxxxxxx' (total 4) ts = 2019-11-11 22:34:23 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) DEBUG:miio.device:Discovered xxxxxxxx with ts: 2019-11-11 22:34:23, token: b'ffffffffffffffffffffffffffffffff' DEBUG:miio.device:192.168.0.16:54321 >>: {'id': 1, 'method': 'get_status', 'params': []} DEBUG:miio.device:Retrying with incremented id, retries left: 3 DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b'' DEBUG:miio.device: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\x00xxxxxxxx]\xc9\xe1\xf4' (total 16) value = Container: length = 32 unknown = 0 device_id = b'xxxxxxxx' (total 4) ts = 2019-11-11 22:34:28 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) DEBUG:miio.device:Discovered xxxxxxxx with ts: 2019-11-11 22:34:28, token: b'ffffffffffffffffffffffffffffffff' DEBUG:miio.device:192.168.0.16:54321 >>: {'id': 102, 'method': 'get_status', 'params': []} DEBUG:miio.device:Retrying with incremented id, retries left: 2 DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b'' DEBUG:miio.device: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\x00xxxxxxxx]\xc9\xe1\xf9' (total 16) value = Container: length = 32 unknown = 0 device_id = b'xxxxxxxx' (total 4) ts = 2019-11-11 22:34:33 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) DEBUG:miio.device:Discovered xxxxxxxx with ts: 2019-11-11 22:34:33, token: b'ffffffffffffffffffffffffffffffff' DEBUG:miio.device:192.168.0.16:54321 >>: {'id': 203, 'method': 'get_status', 'params': []} DEBUG:miio.device:Retrying with incremented id, retries left: 1 DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b'' DEBUG:miio.device: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\x00xxxxxxxx]\xc9\xe1\xfe' (total 16) value = Container: length = 32 unknown = 0 device_id = b'xxxxxxxx' (total 4) ts = 2019-11-11 22:34:38 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) DEBUG:miio.device:Discovered xxxxxxxx with ts: 2019-11-11 22:34:38, token: b'ffffffffffffffffffffffffffffffff' DEBUG:miio.device:192.168.0.16:54321 >>: {'id': 304, 'method': 'get_status', 'params': []} ERROR:miio.device:Got error when receiving: timed out DEBUG:miio.click_common:Exception: No response from the device Traceback (most recent call last): File "/home/user/.venv/lib/python3.6/site-packages/miio/device.py", line 272, in send data, addr = s.recvfrom(1024) socket.timeout: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/.venv/lib/python3.6/site-packages/miio/device.py", line 272, in send data, addr = s.recvfrom(1024) socket.timeout: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/.venv/lib/python3.6/site-packages/miio/device.py", line 272, in send data, addr = s.recvfrom(1024) socket.timeout: timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/.venv/lib/python3.6/site-packages/miio/device.py", line 272, in send data, addr = s.recvfrom(1024) socket.timeout: timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/.venv/lib/python3.6/site-packages/miio/click_common.py", line 57, in __call__ return self.main(*args, **kwargs) File "/home/user/.venv/lib/python3.6/site-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/home/user/.venv/lib/python3.6/site-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/user/.venv/lib/python3.6/site-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/user/.venv/lib/python3.6/site-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/user/.venv/lib/python3.6/site-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/home/user/.venv/lib/python3.6/site-packages/miio/click_common.py", line 278, in wrap kwargs["result"] = func(*args, **kwargs) File "/home/user/.venv/lib/python3.6/site-packages/click/decorators.py", line 64, in new_func return ctx.invoke(f, obj, *args, **kwargs) File "/home/user/.venv/lib/python3.6/site-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/home/user/.venv/lib/python3.6/site-packages/miio/click_common.py", line 243, in command_callback return miio_command.call(miio_device, *args, **kwargs) File "/home/user/.venv/lib/python3.6/site-packages/miio/click_common.py", line 191, in call return method(*args, **kwargs) File "/home/user/.venv/lib/python3.6/site-packages/miio/vacuum.py", line 176, in status return VacuumStatus(self.send("get_status")[0]) File "/home/user/.venv/lib/python3.6/site-packages/miio/device.py", line 310, in send return self.send(command, parameters, retry_count - 1) File "/home/user/.venv/lib/python3.6/site-packages/miio/device.py", line 310, in send return self.send(command, parameters, retry_count - 1) File "/home/user/.venv/lib/python3.6/site-packages/miio/device.py", line 310, in send return self.send(command, parameters, retry_count - 1) File "/home/user/.venv/lib/python3.6/site-packages/miio/device.py", line 313, in send raise DeviceException("No response from the device") from ex miio.exceptions.DeviceException: No response from the device Error: No response from the device