Python code for controlling RLY02 (usb module with 2 relay outputs at 16A )
The relays are identified by 1 and 2 and the allowed actions are on, off and click. You can interact with them with things like:
python rly02.py -r 1 -a on
python rly02.py -r 1 -a off
python rly02.py -r 1 -a click
python rly02.py -s
NOTE: ensure that you have the correct permissions in /dev/ttyACM0 for your user.