microfrost1 / xiaomi_vacuum

18 stars 5 forks source link

This integration works with Dreame bot L10 Pro too. #2

Open xury77 opened 3 years ago

xury77 commented 3 years ago

Its not an issue. I want to confirm it to working good with a new Dreame bot L10 Pro model. I have one question: how to start a clean room?

microfrost1 commented 3 years ago

Thanks for reporting. I believe the schema this is based on is default for Dreame now. I don't understand why it ever changed from the C1 though.

I don't use room cleaning as having some open plan space I find area coords betting in my case. However there is a service under vacuum_clean_room. Please try that and if there are any issues I can look into it.

xury77 commented 3 years ago

Ok I managed to use clean_room :

{
   "zone": '{"selects":[[4,1,1,2,1]]}',
   "repeats": "1"     
}

Now I looking for use custom voice pack. I prepared tar.gz file. Also I was edit dreamevacuum.py but I don't know how to fire install_voice_pack in my HA? Please help Ok I did it. manually added your dreamevacuum.py to init.py in miio-cli. But I am curious if such a function could be added in HA GUI?

microfrost1 commented 3 years ago

Currently the install voice pack command is not exposed as a service in HA. I've never used that feature but it should be fairly easy to expose as a service.

Good call pulling it into miio-cli, I was thinking along that route.