


Activates the virtualenv defined in the conf file IF PyUSB is not found in the current environment.uDMX -helpįor each invocation, this program does the following: This program functions pretty much like the C++ based uDMX utility from Markus Baertschi. It also helped me resolve some issues with permissions on the RPi. Sends some basic commands to a Venue ThinPar64 demonstrating how to manipulate the light via DMX.Prints some information about the interface.The key is to follow the instructions for the "Driver Install Creator Wizard". However, the following libusb version has been successfully tested: There are likely a number of ways to get a libusb installed. To get this to work, you must install a Windows version of libusb. The code has also been tested on Windows 10. Try it on OS X, use brew to install libusb (it will install libusb 1.0). Was done on OS X 10.11.3 to conclude that this code will work or can be made to work on both OSes. Primary environment where the author deploys the code. The main purpose of this project was to learn about using the uDMX interface on an RPi. Install libusb on Windows and macOS is covered below.

PyUSB requires one of the following: libusb 1.0, libusb 0.1 or OpenUSB. virtualenv and virtualenvwrapper on macOSĪ quick Internet search will reveal many articles on how to install and setup virtualenv/virtualenvwrapper on.virtualenv and virtualenvwrapper on Linux.Here are some references for setting up virtualenv and virtualenvwrapper. The requirements.txt file can be used with pip to create the required virtual environment with all dependencies. Version 2.0.0 and above works on Python 3.5+.Ī suitable development environment would use virtualenv and virtualenvwrapper to create a working virtual environment. This work was originally written in Python 2.7 but has been adapted for both Python 2 and Python 3. Development Environment Virtual Environment See the LICENSE file for the full text of the license. The work presented here is licensed under the GNU General Public License v3 as published by theįree Software Foundation, Inc. His C++ based uDMX utility served as the basisįor the majority of my learning exercise. Many thanks go out to Markus Baertschi and the work he did on the uDMX-linux utility Programming this interface under Linux (Raspbian Jessie in this case). However, there seems to be a dearth of information available for Interface is relatively inexpensive and there are a large number of clones availableįrom sites like eBay. The purpose of this repo is to share what I have learned about programming theĪnyma uDMX interface using Python and PyUSB on the Raspberry Pi (RPi). Programming the Anyma uDMX interface (and clones) Using Python and PyUSBĬopyright © 2016 by Dave Hocker ( Overview
