Python library for communicating with GlobalCache iTach IR/RF device.
- Command line interface
- REST interface
- Web interface
- Arduino I/O
pytach.py device <device> <command>
List available devicese with pytach.py --help
pytach.py activity <activity> <command>
List available activities with pytach.py --help
pytach.py --web
Accessible on localhost:8080
pytach.py --arduino
cd /opt
sudo su -
git clone https://github.com/gotling/PyTach.git
cd PyTach
pip install -r requirements.txt
Make PyTach available at http://server:8080
ln -s /opt/PyTach/scripts/pytach-init.sh /etc/init.d/pytach
chmod +x /etc/init.d/pytach
update-rc.d pytach defaults
service pytach start
Make PyTach available at http://server/pytach
apt-get install uwsgi uwsgi-plugin-python nginx
ln -s /opt/PyTach/scripts/pytach-uwsgi.ini /etc/uwsgi/apps-enabled/
service uwsgi restart
Add content of scripts/nginx-config to /etc/nginx/sites-available/default
service nginx restart
Make Arduino listener start on boot.
ln -s /opt/PyTach/scripts/pytach-arduino-init.sh /etc/init.d/pytach-arduino
chmod +x /etc/init.d/pytach-arduino
update-rc.d pytach-arduino defaults
service pytach-arduino start
Copyright © 2012 Marcel Hellkamp
License: MIT License
Copyright © 2012 Vladimir Keleshev
License: MIT License
Copyright © 2008 Stefan Lange-Hegermann
https://code.google.com/p/microajax/
License: BSD License
Copyright © 2014 Yahoo! Inc
License: BSD License
Copyright © 2001-2013 Chris Liechti
http://pyserial.sourceforge.net/
License: Python Software Foundation License
Copyright © 2012 Mark McWilliams
https://github.com/moolicious/pytach
License: MIT License