Relais Control Via API 1. Install dependiencies pip install -r requirements.txt 2. Create an object of the control class serialmanager = SerialManager() 3.) Do Actions Get all available USB ports ports = serialmanager.get_connected_ports() Set the state of the port to on or off serialmanager.set_serial(number=port, on_or_off=state) Via CLI Get the available ports python relais.py -a get Set the state python relais.py -a set -p <Port-Number> -s <State: on | off>