Skip to content

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

License

Notifications You must be signed in to change notification settings

trevordavies095/DmxPy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 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 - GitHub

pip install pyserial

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 3. Works with Raspberry Pi, supports Enttec DMX USB Pro

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%