Hi everyone,
I just wrote a small Python3/ Asyncio library to control Yeelights with Python. It can be installed from PyPi with
pip3 install aioxiaomi
You can then test it with
python3 -m aioxiaomi
Sources are on Github at https://github.com/frawau/aioxiaomi
It’s pretty new, so bugs are probably lurking around.
One thing developers might find interesting is how the library will go in and out of “Music mode” automatically
if configured to do so.
I only have 2 “color” bulbs, so I could only test with that.
Cheers,
François