Using this example you should able to turn on/off HID USB relays
If you want to use another type of HID USB Relays, then you should change the vendorID and productId in the code.