Based on Erwan Martin's.
This code uses Python 3 and requires no external dependency.
-
Setup your
virtualenvwith Python 3virtualenv -p python3 venvand activate it:
source venv/bin/activate -
Run the example
python main.py -
Visit the device's page at: http://localhost:8088/python-v1.xml