dim ( 255, 5000 ) # We can now start the web control panel built into PyDMXControl. # This is done over 5000 milliseconds, or 5 seconds. add_fixture ( Dimmer, name = "My_First_Dimmer" ) # Next, dim the intensity of the fixture from it's initial value of zero # to full, which is represented as 255 in DMX. # We give it a name so it's easier to identify in the debug control options. dmx = uDMXController () # Add a new Dimmer fixture to our controller # and save it to a variable so we can access it. # This will start outputting data immediately. from import Dimmer # Create an instance of the uDMX controller, # this holds all the fixture information and outputs it. from ntrollers import uDMXController # Import the fixture profile we will use, # the simple Dimmer in this example. # Import the uDMX controller from PyDMXControl, # this will be how the data is outputted. Providing the web control panel and the console debug system once started.
Install via GitHub (development version, with audio) pip install -U git+įIXTURE profiles per manufacturer ( see all included profiles) Install via pip with audio support pip install -U PyDMXControl Install via pip (recommended) pip install -U PyDMXControl A Python 3 module to control DMX using uDMX - Featuring fixture profiles, built-in effects and a web control panel.