Skip to content

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

License

Notifications You must be signed in to change notification settings

davepaul0/DmxPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DmxPy - Python Controller for USB - DMX devices

This is a Python 3 port of DmxPy.

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!

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages