/DmxPy

Control USB-DMX Hardware through Python. Works with Raspberry Pi, supports Enttec DMX USB Pro

Primary LanguagePython

DmxPy - Python Controller for USB - DMX devices

DmxPy is a super-lightweight Python library for controlling any USB-DMX device that is compatible with Enttec's DMXUSB Pro. This includes all Dmxking ultraDMX devices.

DmxPy requires PySerial to work - http://pyserial.sourceforge.net/

To import:
from DmxPy import DmxPy

To initialize:
dmx = DmxPy('serial port') Where 'serial port' is where your device is located.

To set a channel's value:
dmx.setChannel(chan, value) Where 'chan' and 'value' are integers representing the respective DMX channels and values to set!

To push dmx changes to device:
dmx.render() You need to call this to update the device!