Hacker News new | ask | show | jobs
by therealtbs 2293 days ago
You don't even need to root it.

Most Xiaomi smart-devices speak a protocol called miIO. There are several libraries/bindings for your favorite languages/tools as well as a nice CLI tool[0].

The only tricky part is getting the device token[1]. But once you have that it's smooth sailing.

[0] https://python-miio.readthedocs.io/en/latest/vacuum.html [1] https://python-miio.readthedocs.io/en/latest/discovery.html#...

2 comments

Oh I had set that up and then forgot about it, I'll give it another shot. Thanks!
Oh wow I had no idea this was all out there. Thanks :)