-
-
Notifications
You must be signed in to change notification settings - Fork 569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roborock S7 can't be added to Home Assistant #1041
Comments
@Claustn Do you have any additional logs from this? |
I tried enabling debug logging in home assistant, but it did not give me a lot more detail. 2021-05-10 23:16:40 DEBUG (MainThread) [homeassistant.components.xiaomi_miio.device] Initializing with host x.y.z.æ (token xxxxxxx...) I have confirmed that I have the right IP for the device both on my router, Xiaomi app and the python token extractor, it is running firmware 4.1.2_0978 I am relatively new to HomeAssistant, so I am not sure if there is a way to get even more detailed logs for this, but if you have any suggestions let me know and I will try to get more logs |
"Unable to discover a device at address x.y.z.æ" error happens when the device is not responding to the handshake datagram. Could you check that you are able to command the device from console (by installing python-miio and executing |
Thank you for your suggestion, here is the debug output
|
For some reason I missed the first part of your troubleshooting guide, saying that there can be issues when using multiple subnets.. I will do some tests, to see if I can get it connected by changing the network layout... |
The discovery error happens indeed when the device is not answering to the initial handshake, so you could launch tcpdump or wireshark to verify that you are indeed not receiving a response from the device. If that is the case with your device, feel free to open a PR to update the documentation accordingly :-) |
I can confirm via WireShark that I never get a response when I query the S7 from a different subnet than the vacuum itself. Thank you very much for your help in troubleshooting this |
I assume this issue is kind of solved then. |
I have tried adding my S7 today, and I am getting this error, I can add my S4 without any issues
ERROR (MainThread) [homeassistant.components.xiaomi_miio.device] DeviceException during setup of xiaomi device with host
I am running core-2021.5.1
Originally posted by @Claustn in #990 (comment)
The text was updated successfully, but these errors were encountered: