HA 2021.11.5 - Docker Image on Ubuntu 20.04.
I know the Roborock S7 is a pretty new vacuum, it is listed on the supported devices. I notice the Miio integration now supports Cloud Login, but I also did see open issues about logins not working.
So I’m using the manual method.
Day one of using the device I used the Roborock application, built a map, device worked fine. Upon looking into using with HA, seems that the “Mi Home” app is needed instead.
- So I installed Mi Home, connected device, did the WiFi pairing and in the Mi Home app device is connected and it can bring up the map created previously
- I then deleted the vacuum from the Roborock application
- Used Piotr’s Xiaomi Cloud Token Extractor (ran it multiple times over the day, token has not changed)
I get something that looks like (redacted some info):
Devices found for server "us":
---------
NAME: Roborock S7
ID: 46xxx44
IP: 192.168.22.24
TOKEN: 7axxx4c
MODEL: roborock.vacuum.a15
---------
Using the Miio integration Configure Manually option, I enter the IP Address from above and the token and it says “Failed to Connect”. Nothing happens.
I enabled these for debugging:
- homeassistant.components.vacuum: debug
- homeassistant.components.miio: debug
- homeassistant.components.xiaomi_miio: debug
Which yielded a single line:
2021-12-02 14:43:55 DEBUG (MainThread) [homeassistant.components.xiaomi_miio.device] Initializing with host 192.168.22.24 (token 7a4f6...)
From the “Failed to Connect” dialog box, I can select my model “roborock.vacuum.a15” and I get this:
2021-12-02 15:12:31 DEBUG (MainThread) [homeassistant.components.xiaomi_miio.device] Initializing with host 192.168.22.24 (token 7a4f6...)
2021-12-02 15:12:36 DEBUG (MainThread) [homeassistant.components.xiaomi_miio] Initializing with host 192.168.22.24 (token 7a4f6...)
2021-12-02 15:12:41 DEBUG (SyncWorker_3) [homeassistant.components.xiaomi_miio] Unable to fetch timers, this may happen on some devices: Unable to discover the device 192.168.22.24
2021-12-02 15:12:46 DEBUG (MainThread) [homeassistant.components.xiaomi_miio] Finished fetching roborock.vacuum.a15 data in 10.001 seconds (success: False)
2021-12-02 15:12:46 WARNING (MainThread) [homeassistant.config_entries] Config entry 'roborock.vacuum.a15' for xiaomi_miio integration not ready yet; Retrying in background
2021-12-02 15:12:51 DEBUG (MainThread) [homeassistant.components.xiaomi_miio] Initializing with host 192.168.22.24 (token 7a4f6...)
2021-12-02 15:12:56 DEBUG (SyncWorker_4) [homeassistant.components.xiaomi_miio] Unable to fetch timers, this may happen on some devices: Unable to discover the device 192.168.22.24
2021-12-02 15:13:01 DEBUG (MainThread) [homeassistant.components.xiaomi_miio] Finished fetching roborock.vacuum.a15 data in 10.001 seconds (success: False)
From the HA docker instance, I can ping the vacuum:
/config # ping 192.168.22.24
PING 192.168.22.24 (192.168.22.24): 56 data bytes
64 bytes from 192.168.22.24: seq=0 ttl=62 time=6.238 ms
64 bytes from 192.168.22.24: seq=1 ttl=62 time=6.091 ms
64 bytes from 192.168.22.24: seq=2 ttl=62 time=5.984 ms
64 bytes from 192.168.22.24: seq=3 ttl=62 time=5.874 ms
64 bytes from 192.168.22.24: seq=4 ttl=62 time=6.750 ms
64 bytes from 192.168.22.24: seq=5 ttl=62 time=6.811 ms
^C
--- 192.168.22.24 ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max = 5.874/6.291/6.811 ms
I’m not sure where to go from here. Suggestions?