Skip to content
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

Xiaomi S20 support #585

Open
3 of 7 tasks
Picard2002 opened this issue Jan 9, 2025 · 11 comments
Open
3 of 7 tasks

Xiaomi S20 support #585

Picard2002 opened this issue Jan 9, 2025 · 11 comments
Assignees
Labels
enhancement New feature or request new platform

Comments

@Picard2002
Copy link

Picard2002 commented Jan 9, 2025

Checklist

  • I have updated the integration to the latest version available
  • I have checked if the vacuum/platform is already requested
  • I have sent raw map file to piotr.machowski.dev [at] gmail.com (Retrieving map; please provide your GitHub username in the email)

What vacuum model do you want to be supported?

Xiaomi s20

What is its name?

xiaomi s20

Available APIs

  • xiaomi
  • viomi
  • roidmi
  • dreame

Errors shown in the HA logs (if applicable)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/common/xiaomi_cloud_connector.py", line 238, in get_device_details
    return self.get_device_details_from_home(token, country)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/common/xiaomi_cloud_connector.py", line 217, in get_device_details_from_home
    if match := next(matching_token, None):
                ~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/common/xiaomi_cloud_connector.py", line 208, in get_devices_iter
    for home in homes:
                ^^^^^
  File "/config/custom_components/xiaomi_cloud_map_extractor/common/xiaomi_cloud_connector.py", line 169, in get_homes_iter
    if homelist := response["result"]["share_home_list"]:
                   ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^

Other info

failed to retrieve map from vacuum

@PiotrMachowski
Copy link
Owner

Please provide exact vacuum model code

@Picard2002
Copy link
Author

the exact model is xiaomi_d106gl_24dd_robot_cleaner

@Picard2002
Copy link
Author

This morning, this appeared:

iScreen Shoter - 20250111093316994

I'm trying to apply the solutions outlined in another specific thread on this problem without success. I have no experience with Home Assistant and maybe I'm not doing it correctly.

@Picard2002
Copy link
Author

Changed the token to the one provided by cloud map extractor, now it shows this:

iScreen Shoter - 20250111135128175

@tuber84
Copy link

tuber84 commented Jan 11, 2025

Please add support for Xiaomi Robot Vacuum S20, a very popular model. It's a shame that the first generation is there but the second is not. Thanks in advance!

@DiggaTS
Copy link

DiggaTS commented Jan 12, 2025

Sams Props here ... Please add the Support

@BorjaCosar
Copy link

+1

1 similar comment
@Reikagilu
Copy link

+1

@BraZucco
Copy link

+1
vacuum.xiaomi_d106gl

@dobakszilard
Copy link

+1
vacuum.xiaomi_d106gl_73e0_robot_cleaner

@ajscheid
Copy link

ajscheid commented Jan 19, 2025

+1
Xiaomi.vacuum.d106gl

Specs can be found here: https://home.miot-spec.com/spec/xiaomi.vacuum.d106gl

It seems the map is not downloaded; generate room config is greyed out, see attached screenshots of integration and config.
Please let me know if I can assist with any additional information to get this working for the Xiaomi S20 vacuum robot, thank you.

Image
Image
Image
Image

Please also see below error logs and warnings after installation of map extractor:

Image
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new platform
Projects
None yet
Development

No branches or pull requests

9 participants