home-assistant-vacuum-styj02ym
home-assistant-vacuum-styj02ym copied to clipboard
timeout
Hello,
i have timeout with the latest version :(
any idea ?
also a problem, model STYTJ02YM
Logger: miio.miioprotocol Source: /usr/local/lib/python3.9/site-packages/miio/miioprotocol.py:240 First occurred: 22:40:51 (7 occurrences) Last logged: 22:44:51 Got error when receiving: timed out
In my case it's showing the below errors, it was working fine until HASS restart. It's easy to resolve as I have to restart the vacuum and then HASS will connect it.
2021-12-06 20:06:14 INFO (MainThread) [custom_components.miio2.vacuum] Initializing with host 192.168.x.x (token xxxx...)
2021-12-06 20:06:20 DEBUG (SyncWorker_5) [miio.miioprotocol] Unable to discover a device at address 192.168.x.x
2021-12-06 20:06:20 WARNING (SyncWorker_5) [custom_components.miio2.vacuum] Got exception while fetching the state: Unable to discover the device 192.168.x.x
The vacuum and HASS are in different subnets, but this doesn't seem to cause issues until a restart of HASS.
Edit: I seem to have found out why. The vacuum was connecting to a previously saved WiFi network, not the currently one configured 🤦♂️Either way, I blocked its MAC at the Access Point level and now it reconnected to the desired network.
I got the same error (Unable to discover a device) after I blocked its internet access. The led on the power/home button kept blinking.