xiaomi_miio Service not found
Phil1988 opened this issue · comments
Checklist
- I have updated the card to the latest version available
- I have cleared the cache of my browser
- I have checked if the problem is already reported
The problem
Hello,
I can not get my Roborock S7 and Dreame D9 to work with that lovely nice card (great work by the way!).
First off, I am using HomeAssistant OS.
I installed "Xiaomi Miot Auto" from HACS and included my devices via the Mi Account. I have seen that this was initially done for HASS, but no idea if thats a problem.
After that I installed the "Xiaomi Cloud Map Extractor" v2.2.0
Then I installed this "Xiaomi Vacuum Map Card" and created a card.
I always get the errors, that the "xiaomi_miio service was not found.
Zone cleaning:
"xiaomi_miio/vacuum_clean_zone. Service not found"
Room cleaning:
"xiaomi_miio/vacuum_clean_segment. Service not found"
Pin& Go:
"xiaomi_miio/vacuum_goto. Service not found"
Path:
"xiaomi_miio/vacuum_follow_path. Service not found"
I have seen multiple tutorials and have done everything twice, but the issue persists.
I hope you can hint me to the right direction if this is not a bug in that project.
What version of a card has described problem?
v2.1.2
What was the last working version card?
No response
What vacuum model do you have problems with?
vacuum.roborock_a15_501b_robot_cleaner
Which integration do you use to control your vacuum (link)?
https://github.com/al-one/hass-xiaomi-miot
What browser (browsers/apps) does have this problem?
Chrome/Edge/FireFox/Brave/Opera
What version of Home Assistant do you use?
Home Assistant 2023.3.5
What type of installation are you running?
Home Assistant OS
Card's configuration
type: custom:xiaomi-vacuum-map-card
language: de
title: Roborock S7
map_source:
camera: camera.roborocks7_map
calibration_source:
camera: true
entity: vacuum.roborock_a15_501b_robot_cleaner
vacuum_platform: default
two_finger_pan: true
map_modes:
- template: vacuum_clean_zone
- template: vacuum_clean_zone_predefined
predefined_selections:
- zones:
- - 25765
- 21669
- 27180
- 23432
label:
text: Bad
x: 26444
'y': 23240
offset_y: 35
icon:
name: mdi:shower
x: 26444
'y': 23040
- template: vacuum_clean_segment
predefined_selections:
- id: 1
outline:
- - 25752
- 23428
- - 25752
- 22573
- - 25347
- 22573
- - 25347
- 22393
- - 25797
- 22393
- - 26156
- 21989
- - 26201
- 21674
- - 27191
- 21674
- - 27191
- 23428
- - 25752
- 23428
label:
text: Bad
x: 26444
'y': 23040
offset_y: 35
icon:
name: mdi:shower
x: 26444
'y': 23040
- template: vacuum_goto
- template: vacuum_goto_predefined
predefined_selections:
- position:
- 25842
- 26665
label:
text: Leeren
x: 25842
'y': 26665
offset_y: 35
icon:
name: mdi:broom
x: 25842
'y': 26665
- template: vacuum_follow_path
Additional information
My configuration.yaml looks like this:
camera:
- platform: xiaomi_cloud_map_extractor
host: !secret roborockS7_ip_adress
token: !secret roborockS7_token
username: !secret xiaomi_account_username
password: !secret xiaomi_account_password
name: roborockS7_map
country: de
draw: ['all']
attributes:
- calibration_points
Different vacuum platforms use different services. Here you have map modes for Dreame D9. For Roborock I suggest to switch to built-in Xiaomi Miio integration and everything should work automatically.
Thanks for your fast response @PiotrMachowski
That made it more clear for me and I could not find this information before.
I found a nice component that integrates brilliant with your frontend for Dreame devices:
https://github.com/Tasshack/dreame-vacuum
This really works like a charm and even better then the Xiaomi Miio because it automatically detects romms and changes them dynamically! :)
It will be supported out of the box in the next version of the card, you can try it using the latest beta
version
The Dreame integration will be supported out of the box or you will add "out of the box room integration for Roborock"?
btw: Are you even a human beeing @PiotrMachowski ? you answer faster then I can read my own comment :D:D
The Dreame integration will be supported out of the box or you will add "out of the box room integration for Roborock"?
It will display tiles, control zone/room cleaning and generate rooms config with
btw: Are you even a human beeing @PiotrMachowski ? you answer faster then I can read my own comment :D:D
I might need to check 😄
So next version integrates this for Roborock?
Im still not sure what the beta supports now :D
Is there an "new upcoming feature" news page anywhere? Because I am already a fan.
But: You really did and still do a great job with your insane software @PiotrMachowski !
Yes, the next version will work with Roborock integration as well.
Current beta version has already added Roborock and Dreame integrations support.
There's no "upcoming features" list, the closest thing is a list of issues that are "done on dev"