With great work from community, adding Roborock or Xiaomi robot vacuums to Home Assistant is easy and fast. And this includes retrieving tokens for robot vacuums - without a need for Xiaomi or any other gateway.
See where robot vacuums are on the map, send them to zones, move to new location and much more can now be done from within Home Assistant
You need to have Xiaomi Mi Home app because this currently is not working with Roborock app - Android and iOS version will work.
Retrieveing token:
Piotr Machowski Xiaomi-cloud-tokens-extractor
⏵ https://github.com/PiotrMachowski/Xia...
Maxmudjon
⏵ https://github.com/Maxmudjon/Get_MiHo...
Integration if you have Mi Home styj02ym model:
⏵ https://github.com/nqkdev/home-assist...
Add to lovelace Simple Vacuum card:
⏵ https://github.com/benct/lovelace-xia...
Real time robot maps:
⏵ https://github.com/PiotrMachowski/Hom...
⏵ https://github.com/PiotrMachowski/lov...
Retrieving room information
⏵ https://github.com/rytilahti/python-miio
miiocli vacuum --ip IP_FROM_ROBOT --token TOKEN_FROM_ROBOT get_room_mapping
00:00 Intro
00:24 Thank you to all channel members
00:47 What we will do today
02:11 What if you don't have user name in Mi Home app
02:55 Retrieving token - Piotr's app
04:43 Alternative token retrieval - Max's app
06:13 Adding Xiaomi / Roborock to Home Assistant
08:39 Adding lovelace cars - Simple Vacuum
10:09 Xiaomi Cloud robot vacuum map
13:57 Multifloor support in maps
15:12 Improved Robot vacuum map with control
19:55 Unsupported robots?
20:21 Final thoughts
Please, give me a thumb up if you liked this video, subscribe if you still haven't and I'll see you next time!
Have fun!
BeardedTinker
P.S. If you would like to support me and this channel, you can JOIN and become member!
https://www.youtube.com/BeardedTinker...
Twitter: @BeardedTinker
Discord: / discord
#howto #HomeAssistant #roborock #xiaomi #token