Link to plugin on dropbox
https://www.dropbox.com/sh/i5888d8w4vpa1om/r-UdsAc8NSThis uses the Enttec dmx usb pro, which creates a hardware link from usb to your dmx controllers.
ie, indigo (via the plugin) ---> Enttec ---> dmx controller.
the plugin sends hex to the enttec, which then sends dmx commands out on the dmx wired network.
eg 7E,06,05,00,00,ff,ff,ff,34,E7
The first ff is dmx channel 0, the next channel 1 etc. just add further comma separated hex after 34 for more channels. The preceding hex is the authentication and send message code for the enttect.
In my setup I use the following, BUT this will depend on what your actual DMX controller requires for each of the channels you are using:
The hex ff,ff,ff are the RGB colour settings (in this case white)
the hex 34 is the brightness
I change the hex value for each channel to change lighting colours as required by the dmx controller.
It's a real hack as I know virtually no python, but has been stable for over a year for me. I only use the first four dmx channels. The final E7 is the enttec send command.
I call it from within indigo using the following:
- Code: Select all
simpleSerialId = indigo.server.getPlugin("org.yergeyjDoesntHaveaURL.dmx")
DMXdata = indigo.variables [1569549979] <--- insert variable containing full dmx above
if simpleSerialId.isEnabled():
simpleSerialId.executeAction("hexToSerial", deviceId=710465692, props={"newCommand":DMXdata.value})
Change the device id in the last line to match then enttec
Hope thats clear. Let me know if you need anything further.
It could be polished into a full plugin, but works for me like this and not had time to learn python.