pymitv
A Python 3 module to control Xiaomi TVs and projectors
from pymitv import TV
# Connect to TV IP
tv = TV('192.168.0.32')
# Wake screen
tv.turn_on()Get started
1
Install using pip
To install, open your command line and pop in the following: pip install pymitv.
2
Start using
To start using, look at the example above or look at the documentation.
Documentation
You can read the documentation on Github.