View on GitHub

udmx-pyusb

Programming the Anyma uDMX interface using Python and PyUSB

Downloads

Source Download this project as a .zip file Download this project as a tar.gz file pyudmx package Download pyudmx package

pyudmx Package

The pyudmx.py module provides a simple, easy to use module for talking to the uDMX interface. Essentially, it is a uDMX specific adapter on top of the pyusb module. If you want to write a uDMX oriented application consider starting with pyudmx.py.

Simple usage example:


dev = pyudmx.uDMXDevice()
dev.open()
dev.send_single_value(0, 255) # sends the value 255 to DMX channel 1
dev.close()
            

In this example, the open() method will default to opening the first uDMX interface with vendor ID 0x16c0 and product ID 0x05dc. This is the vendor and product ID for the Anyma uDMX controller interface.

For additional notes on the Anyma uDMX and the pyusb package, check out the README file for the repo: https://github.com/dhocker/udmx-pyusb

To install the pyudmx package, use pip. Be sure to activate your venv first.


pip install https://dhocker.github.io/udmx-pyusb/dist/pyudmx-1.0.0.tar.gz