core icon indicating copy to clipboard operation
core copied to clipboard

Can't get networking on startup

Open Touch-of-Ink opened this issue 1 year ago • 14 comments

The problem

I installed the Roborock integration, successfully entered the code sent to my email address, but got this error message: Retrying setup: Could not get network information about your devices

I thought maybe it was because I hadn't used my Roborock for a while, so I logged in on my phone that also has my HA companion. Still same error message. Removed, reinstalled, same error message.

What version of Home Assistant Core has the issue?

core-2023.5.0b3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Roborock

Link to integration documentation on our website

https://rc.home-assistant.io/integrations/roborock

Diagnostics information

home-assistant_roborock_2023-04-29T22-17-35.887Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Touch-of-Ink avatar Apr 29 '23 22:04 Touch-of-Ink

Hey there @humbertogontijo, @lash-l, mind taking a look at this issue as it has been labeled with an integration (roborock) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of roborock can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign roborock Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


roborock documentation roborock source (message by IssueLinks)

home-assistant[bot] avatar Apr 29 '23 22:04 home-assistant[bot]

And if you use the Roborock app (Not the Mi home app)- can you control your vacuum?

Is the vacuum reachable by your HA instance?

Lash-L avatar Apr 29 '23 22:04 Lash-L

I can use the Roborock app to control my vacuum. How can I tell if the vacuum is reachable by the HA instance? I have other things that are much further away that work with my HA, if that's what you mean, and they are within line of sight of each other.

On Sat, Apr 29, 2023 at 3:23 PM Luke @.***> wrote:

And if you use the Roborock app - can you control your vacuum?

Is the vacuum reachable by your HA instance?

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/92268#issuecomment-1528885892, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZRBCJR7GQS4YWJ6LCUIWALXDWIGDANCNFSM6AAAAAAXQPNU2Y . You are receiving this because you authored the thread.Message ID: @.***>

Touch-of-Ink avatar Apr 29 '23 22:04 Touch-of-Ink

By reachable I just mean that over wifi they can communicate with each other. I.e your home assistant server is on the same network as your vacuum

Lash-L avatar Apr 29 '23 22:04 Lash-L

And which vacuum do you have

Lash-L avatar Apr 29 '23 23:04 Lash-L

Ah, yes. Both my HA server and my vacuum are on the same network. I have the Roborock S7 MaxV.

On Sat, Apr 29, 2023 at 4:00 PM Luke @.***> wrote:

And which vacuum do you have

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/92268#issuecomment-1528891044, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZRBCJRKXGMRJWFNGO4W5N3XDWMQHANCNFSM6AAAAAAXQPNU2Y . You are receiving this because you authored the thread.Message ID: @.***>

Touch-of-Ink avatar Apr 29 '23 23:04 Touch-of-Ink

Do you have anything else in the log?

Lash-L avatar Apr 30 '23 00:04 Lash-L

Ah sorry - I see you have other logs.

Odd the pet that it is having an issue with is connecting through the internet - not the local part. I'll take another look later when I'm not on my phone

Lash-L avatar Apr 30 '23 00:04 Lash-L

Which Roborock email sent you your code? I have seen reports that some login codes were failing for some regions. @Lash-L oficial integration have options to login with code and password? If so, @Touch-of-Ink just change it to login with password

humbertogontijo avatar Apr 30 '23 00:04 humbertogontijo

@humbertogontijo as of now - no.

I'll see if I can get it added before the beta ends.

Lash-L avatar Apr 30 '23 01:04 Lash-L

Both emails (since I removed and reinstalled it, I got two verification codes, both with the same result) were sent by the same address:

@.***

On Sat, Apr 29, 2023 at 5:58 PM Humberto Gontijo @.***> wrote:

Which Roborock email sent you your code? I have seen reports that some login codes were failing for some regions. @Lash-L https://github.com/Lash-L oficial integration have options to login with code and password? If so, @Touch-of-Ink https://github.com/Touch-of-Ink just change it to login with password

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/92268#issuecomment-1528909471, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZRBCJR3MN3VF6TJGGHPBCLXDW2JTANCNFSM6AAAAAAXQPNU2Y . You are receiving this because you were mentioned.Message ID: @.***>

Touch-of-Ink avatar Apr 30 '23 02:04 Touch-of-Ink

The email was filtered out. Are you familiar with adding custom components? If so could you try installing the Roborock custom component and authenticating with password and see if that fixes it for you?

Alternatively, you could signup with a roborock us account and add your vacuum there and see if that solves your problems.

Lash-L avatar Apr 30 '23 19:04 Lash-L

@home-assistant rename Can't get networking on startup

Lash-L avatar Apr 30 '23 20:04 Lash-L

Can you also try enabling debug logging and reload the integration and see if that gives us anymore information

Lash-L avatar Apr 30 '23 20:04 Lash-L

Good afternoon. I saw that in the updated version of HA, there was an integration of Roborock. installed it, entered a login, received an email with a confirmation code, entered the code and got an error:

Logger: homeassistant.config_entries Source: components/roborock/init.py:47 First occurred: 13:27:13 (2 occurrences) Last logged: 13:28:51

Error setting up entry [email protected] for roborock Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/roborock/init.py", line 47, in async_setup_entry await mqtt_client.async_disconnect() File "/usr/local/lib/python3.10/site-packages/roborock/cloud_api.py", line 139, in async_disconnect (_, err) = await self._async_response(DISCONNECT_REQUEST_ID) File "/usr/local/lib/python3.10/site-packages/roborock/api.py", line 175, in _async_response raise RoborockTimeout(f"Timeout after {QUEUE_TIMEOUT} seconds waiting for response") from None roborock.exceptions.RoborockTimeout: Timeout after 4 seconds waiting for response

IgorGlebovGIS avatar May 04 '23 08:05 IgorGlebovGIS

I have my roborock and homeassistant on different vlans. But ive setup firewalll rules that allows the roborock to talk to home assistant and vice-versa. Will this work or do they have to be on the same vlan?

Edit: can confirm that it works across vlans 🚀 🙌

StianHaugland1 avatar May 04 '23 20:05 StianHaugland1

Hey @StianHaugland1 sorry for the delay, I missed your comment. Glad you got it figured out.

@IgorGlebovGIS I have a fix for this out #92502. Once that's merged in it should be fixed, that be said, you should hopefully be able to just restart and it should work. The disconnect only fails in weird circumstances ( Haven't figured out why or when yet) but it shouldn't be happening every time.

Lash-L avatar May 05 '23 13:05 Lash-L

@Touch-of-Ink were you able to give the custom component a try?

Lash-L avatar May 11 '23 11:05 Lash-L

I have not. Whether by coincidence, user failure, or some other bug, my HA Yellow crashed with 2023.5x. Backups wouldn't install and I had to do a factory reset on it. Actually, a bunch of them. It's finally up and running and I'm rebuilding all my automations (just need to find out how to get things that were only visible to HA through Alexa back in). I'm afraid to try anything new right now. I guess just mark my issue closed.

On Thu, May 11, 2023 at 4:12 AM Luke @.***> wrote:

@Touch-of-Ink https://github.com/Touch-of-Ink were you able to give the custom component a try?

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/92268#issuecomment-1543801450, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZRBCJUREPKIT3NS27PY323XFTCRHANCNFSM6AAAAAAXQPNU2Y . You are receiving this because you were mentioned.Message ID: @.***>

Touch-of-Ink avatar May 11 '23 16:05 Touch-of-Ink

I have the same issue,

Retrying setup: Could not get network information about your devices

running ha as a VM, and both are on the same vlan.

RaZer0r avatar May 14 '23 06:05 RaZer0r

Im having the same issue. Running Home Assistant on a rasberry pi on the same network with an S7 Maxv Ultra. Just for the record, I'm using the Xiaomi Home app and not the Roborock app (as I've had an S5 before and used the old integration). Home Assistant 2023.5.2 Supervisor 2023.04.1 Frontend 20230503.3 - latest

JelleMarc avatar May 14 '23 13:05 JelleMarc

Just wanted to try this since I only updated to 2023.5.x today. Getting the network error and it does not work. HA and all components updated to lastest versions available as of today. Running on Rpi4. Currently the S7 is connected via Xiaomi Miio app and integration. Does it need to be added to Roborock app first?

raenji-sk avatar May 15 '23 09:05 raenji-sk

Yes. This integration only works with the Roborock app @raenji-sk

Lash-L avatar May 15 '23 12:05 Lash-L

Yes. This integration only works with the Roborock app @raenji-sk

Well I do have the app installed and working. Just the robot is not added there so there's no device in the app or website roborock cloud. The vacuum is now connected via xiaomi app as from what I've found out it was the way to go with older HA version (HACS, cloud map extractor etc.) I can re-pair it using roborock app and remove it from xiaomi one and see if it'll help.

raenji-sk avatar May 15 '23 12:05 raenji-sk

Yes. This integration only works with the Roborock app @raenji-sk

Well I do have the app installed and working. Just the robot is not added there so there's no device in the app or website roborock cloud. The vacuum is now connected via xiaomi app as from what I've found out it was the way to go with older HA version (HACS, cloud map extractor etc.) I can re-pair it using roborock app and remove it from xiaomi one and see if it'll help.

Please let me know if switching from app works for you!

JelleMarc avatar May 15 '23 18:05 JelleMarc

@JelleMarc @Lash-L Resetting Wi-Fi on the Roborock S7 and pairing it with Roborock app did solve the problem. Now the integration works OK. Although I could not get the map to work, perhaps it is not implemented yet. So I also installed https://github.com/humbertogontijo/homeassistant-roborock and everything works fine now including map.

raenji-sk avatar May 15 '23 19:05 raenji-sk

@JelleMarc @Lash-L Resetting Wi-Fi on the Roborock S7 and pairing it with Roborock app did solve the problem. Now the integration works OK. Although I could not get the map to work, perhaps it is not implemented yet. So I also installed https://github.com/humbertogontijo/homeassistant-roborock and everything works fine now including map.

I can confirm switching apps resolved my issue.

JelleMarc avatar May 17 '23 13:05 JelleMarc