
No need to mess with drivers, kernel extensions or whatever. To turn this device on and off using Python 3 and the pySerial library: #/usr/bin/env pythonimport serialimport time# Read the pySerial documentation for the serial.tools.list_ports.grep method to identify the correct serial port to find. ('/dev/tty.usbserial-1430', 9600, timeout=1) as ser: ser.write(serial.to_bytes([0xA0, 0x01, 0x01, 0xA2])) time.sleep(1) ser.write( serial.to_bytes([0xA0, 0x01, 0x00, 0xA1]))