This module serves as a Python interface for the zmote.io IoT gadget- it's basically a USB-powered, WiFI connected IR blaster.
The module was written using the zmote.io API documentation and tested against two real devices.
This module supports the discovery of devices via multicast and interacting with devices via HTTP or TCP; in all instances communication is directly with the device (and not via the zmote.io cloud application).
pip install zmote
python -m zmote.discoverer
python -m zmote.discoverer -l 2 -a
python -m zmote.discoverer -u CI001f1234
python -m zmote.connector -t tcp -d 192.168.1.1 -c learn
python -m zmote.connector -t http -d 192.168.1.1 -c send -p 1:1,0,36000,1,1,32,32,64,32,32,64,32,3264
Prerequisites:
git clone https://github.com/initialed85/zmote
cd zmote
mkvirtualenv zmote
pip install -r requirements-dev.txt
py.test -v