Simple REST API for controlling a local USB Denkovi Relay Board
-
Check your paths inside usbapi.service file (especially the Python virtual environment path)
-
Set your Relay Board type and HTTP Port inside helpers/common.py file (Optional)
bash install.sh
curl http://localhost:8000/1/status
# or
curl http://localhost:8000/1/on
curl http://localhost:8000/1/off