Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Broadlink
- * Use python2
- ## Linux
- * Install pip package:
- * wget https://bootstrap.pypa.io/get-pip.py
- * Run get-pip.py
- * Install python-dev package: apt-get install python-dev
- ## Windows
- * Download Microsoft Visual C++ Compiler for Python 2.7
- ## Setup
- * Clone https://github.com/mjg59/python-broadlink
- * Run python setup.py install
- ## Config
- * Run cli/broadlink_discovery
- * Look for the device line (0x2737 192.168.1.34 0bb547770f78, for example)
- * Echo that line to a file named kitchen.device (without CR/LF!)
- ## Learn commands
- * Create a tv on command with `cli/broadlink_cli --device @kitchen.device --learnfile kitchen.tv.on`
- ## Replay commands
- * cli/broadlink_cli --device @kitchen.device --send @kitchen.tv.on
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement