home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.1k stars 31.1k forks source link

Xiaomi Miio integration no longer supports Roborock E4 #119161

Open Kilkenny-82 opened 5 months ago

Kilkenny-82 commented 5 months ago

The problem

On my previous system running 2024.1 I had the Roborock E4 integrated using the Xiaomi Miio integration. However I needed to install a new system which now runs 2024.5, and the Roborock doesn't load. The logs say it's an Unknown device

What version of Home Assistant Core has the issue?

2024.5.5

What was the last working version of Home Assistant Core?

2024.1

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Xiaomi Miio

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-06-08 21:20:48.881 DEBUG (MainThread) [homeassistant.components.xiaomi_miio] Initializing with host 192.168.xx.xx (token dee26...)
2024-06-08 21:20:48.881 DEBUG (SyncWorker_5) [miio.click_common] Unknown model, trying autodetection. None None
2024-06-08 21:20:53.892 DEBUG (SyncWorker_5) [miio.miioprotocol] Unable to discover a device at address 192.168.xx.xx
2024-06-08 21:20:53.893 DEBUG (SyncWorker_5) [homeassistant.components.xiaomi_miio] Unable to fetch timers, this may happen on some devices: Unable to discover the device 192.168.xx.xx
2024-06-08 21:20:53.893 DEBUG (SyncWorker_5) [miio.click_common] Unknown model, trying autodetection. None None
2024-06-08 21:20:58.882 DEBUG (MainThread) [homeassistant.components.xiaomi_miio] Finished fetching Robert data in 10.001 seconds (success: False)
2024-06-08 21:20:58.902 DEBUG (SyncWorker_5) [miio.miioprotocol] Unable to discover a device at address 192.168.xx.xx

Additional information

No response

mib1185 commented 5 months ago

just a wild guess, but try the Roborock integration instead

Kilkenny-82 commented 5 months ago

This Roborock isn't supported by the Roborock app and integration. It needs the Xiaomi Home App to work

home-assistant[bot] commented 5 months ago

Hey there @rytilahti, @syssi, @starkillerog, mind taking a look at this issue as it has been labeled with an integration (xiaomi_miio) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `xiaomi_miio` 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 xiaomi_miio` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


xiaomi_miio documentation xiaomi_miio source (message by IssueLinks)

acuszka commented 5 months ago

hi, try reauthenticating using "add entry" in Xiaomi Milo integration. Worked for me.

Kilkenny-82 commented 5 months ago

@acuszka I tried, but unfortunately with the same results. Even updated my HA to 6.4 hoping the solution was there

Zipatom commented 5 months ago

Hi @Kilkenny-82 I had the similar problem on my rockrobo.vacuum.v1 today. Also upgraded HA to 2024.7.0 w/o luck. Reauthenticating cloud account both in phone and integration helped me like @acuszka. /Wish you same luck

acuszka commented 5 months ago

I had to re-authorize again after HA reboot...

domwhewell-sage commented 4 months ago

I had to re-authorize again after HA reboot...

I have the roborock.vacuum.s5 which stopped working in 2024.7.0 with the same error messages in the logs and re-authenticating the cloud account fixed it for me

Kilkenny-82 commented 4 months ago

Hi @Zipatom, how do you mean reathenticating on phone? You removed the vacuum and added it again in the Xiaomi app?

Zipatom commented 4 months ago

Hi @Kilkenny-82, I only logged out and in again on my Xiaomi account on my Android phone app.


From: Kilkenny-82 @.> Sent: Wednesday, July 10, 2024 9:45:58 AM To: home-assistant/core @.> Cc: Zipatom @.>; Mention @.> Subject: Re: [home-assistant/core] Xiaomi Miio integration no longer supports Roborock E4 (Issue #119161)

Hi @Zipatomhttps://github.com/Zipatom, how do you mean reathenticating on phone? You removed the vacuum and added it again in the Xiaomi app?

— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/core/issues/119161#issuecomment-2219789917, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKIN7OJFRDRJP3IXR7QPNWTZLTRDNAVCNFSM6AAAAABJAHBHYGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJZG44DSOJRG4. You are receiving this because you were mentioned.Message ID: @.***>

Kilkenny-82 commented 3 months ago

@Zipatom unfortunately that didn't help either. I have been doing some digging in my old archieves and found in an old file from version 2023.7.3 it said the device was not supported either, but it did work back then.

IsayamaYoomi commented 1 week ago

I had a similar issue with my E4 recently, and I contacted customer support. They suggested selecting S7 in the Xiaomi Home app, and it worked for me.

Kilkenny-82 commented 1 week ago

@IsayamaYoomi so you removed it from the Xiaomi Home app and re-added it as an S7? And all app functionality kept working fine and Home Assistant was able to see it as a device as well?

IsayamaYoomi commented 1 week ago

@IsayamaYoomi so you removed it from the Xiaomi Home app and re-added it as an S7? And all app functionality kept working fine and Home Assistant was able to see it as a device as well?

I reinstalled the Xiaomi Home app and added it as an S7. Then it is showing as Roborock E4 at the top of the app, and all functionalities seem to be working fine so far. I am using IOS BTW.

Kilkenny-82 commented 6 days ago

@IsayamaYoomi How far did you remove? I also have IOS, removed the vacuum from the app and started the pairing again as an S7. But it didn't seem to change anything in HA for me

IsayamaYoomi commented 6 days ago

@IsayamaYoomi How far did you remove? I also have IOS, removed the vacuum from the app and started the pairing again as an S7. But it didn't seem to change anything in HA for me

You might want to uninstall the app as well. I have attached the Tech Support email below. They also provide a list of comprehensive troubleshooting steps, so you can try resetting everything. If it still doesn't work, you might want to contact them. They respond pretty quickly.

Thank you for contacting Roborock support. I hope this email finds you well. Try selecting S7 Please carefully double-check if the steps you've taken are correct. Android phone: https://drive.google.com/file/d/14-R_-tbupRazJLYTYL4Stc0CoBg51TOA/view?usp=sharing Iphone: https://drive.google.com/file/d/14B5YAdw_4HwaJaI59ye497xxvimr5je6/view?usp=sharing Here's instruction video: Android phone: https://youtu.be/uV1TD2tMJ6U Iphone: https://youtu.be/xezDSY9sm3w Our devices don't support 5GHZ wifi. If your set-up steps are correct but it's still not connecting, try methods below:

  1. Firstly, if your phone's cellular data or VPN is enabled, please disable them and try again.
  2. Please go to google play or app store to check if your Mi Home app is latest. If not, please upgrade it to latest one and try to connect wifi again.
  3. Make sure the password of your wifi you've input is correct.
  4. Enable location permission for the app. See attached picture.
  5. If you're using IOS 14 or later systems, please enable local network for the app. See attached picture.
  6. Pay more attention to the select wifi step. See attached picture "select your home wifi".
  7. If there are special characters like !@#$ in your wifi name or password, it's suggested to remove them in the router settings.
  8. The robot doesn't support WEP encryption mode. If your wifi is WEP, change it to WPA or WPA2.
  9. If you understand the router's setting very well, try to change DNS to 8.8.8.8 in the router's settings page.
  10. Reboot your device and router and try again.
  11. Check if your router's IP address is 192.168.8.1. If yes, please change it to other IPs like 192.168.9.1 and try again.