Skip to content
escomputersPublic

About

Simple REST API for controlling a local USB Denkovi Relay Board

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

Repository files navigation

Denkovi USB Relay Boards RestAPI

Simple REST API for controlling a local USB Denkovi Relay Board

Requirements

  1. Check your paths inside usbapi.service file (especially the Python virtual environment path)

  2. Set your Relay Board type and HTTP Port inside helpers/common.py file (Optional)

Install

bash install.sh

Usage

curl http://localhost:8000/1/status
# or
curl http://localhost:8000/1/on
curl http://localhost:8000/1/off

About

Simple REST API for controlling a local USB Denkovi Relay Board

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages