Device timed out error on Xiaomi Miio integration

Hello,

I’m having an error after setting up the Xiaomi Miio for a Roborock S5.

On Home Assistant integrations page, I’m able to setup with no errors but no device or entities are shown.

When looking to home assistant logs I have the following errors:

Logger: miio.miioprotocol
Source: /usr/local/lib/python3.8/site-packages/miio/miioprotocol.py:239 
First occurred: 8:25:12 PM (2 occurrences) 
Last logged: 8:25:38 PM

Got error when receiving: timed out
Logger: homeassistant.components.xiaomi_miio.gateway
Source: components/xiaomi_miio/gateway.py:46 
Integration: Xiaomi Miio ([documentation](https://www.home-assistant.io/integrations/xiaomi_miio), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+xiaomi_miio%22)) 
First occurred: 8:25:12 PM (2 occurrences) 
Last logged: 8:25:38 PM

DeviceException during setup of xiaomi gateway with host 192.168.1.94

I got the device from Xiaomi-cloud-tokens-extractor using Docker.

Any idea of what I’m missing or doing wrong?

Thanks,

2 Likes

I too have the same issue, but for my vacuum is a Roborock Vacuum V1.
I’m running Home Assistant 2023.5.4, Frontend-version: 20230503.3 - latest.

get tons of these error messages in the log:
e.g. “ERROR (SyncWorker_12) [miio.miioprotocol] Got error when receiving: timed out”

All have been working great until recently. do not know what version of HA was the last working version.