wadesaunders
Posts: 3
Joined: Wed Feb 03, 2016 9:50 am

DMX Controller

Mon Aug 08, 2016 12:48 pm

Hey guys so basically what I want to do is send commands to my Pi and have my Pi respond by sending DMX commands through a USB to DMX converter. (Hope I've worded that correctly but you get the idea) I want to set up a bunch of presets for some RGB lights and basically tell the Pi which preset to use.

User avatar
karrika
Posts: 952
Joined: Mon Oct 19, 2015 6:21 am
Location: Finland

Re: DMX Controller

Mon Aug 08, 2016 5:51 pm

Welcome to the club. If you have an USB - DMX dongle already it probably works out of the box with OLA or QLC+. There is also card using the UART to generate DMX directly like http://www.discohat.com

wadesaunders
Posts: 3
Joined: Wed Feb 03, 2016 9:50 am

Re: DMX Controller

Tue Aug 09, 2016 3:16 pm

I have no issue with controlling them that way but I'd like to know if I could control them via terminal or something, I'm training in crestron programming and would like my crestron controller to send commands to the Pi which controls the lights

User avatar
karrika
Posts: 952
Joined: Mon Oct 19, 2015 6:21 am
Location: Finland

Re: DMX Controller

Tue Aug 09, 2016 6:44 pm

You can control the lights by several remote techniques. I am using OSC for triggering scenes. But my understanding is that you can use OSC also to send values to the channels.

Code: Select all

#!/usr/bin/env python

import liblo, sys

# send all messages to port 7770 on the local machine
try:
    target = liblo.Address(7770)
except liblo.AddressError, err:
    print str(err)
    sys.exit()

# send message "/foo/message1" with int, float and string arguments
liblo.send(target, "/foo/message1", 1)
The idea is that an universe can have one input function like GPIO pins or OSC and one output function like DMX. It is then up to you to do the mapping from the input function to the lights you have purchased.

User avatar
Arjan
Posts: 222
Joined: Sat Sep 08, 2012 1:59 pm

Re: DMX Controller

Mon Jul 31, 2017 7:55 pm

wadesaunders wrote:
Tue Aug 09, 2016 3:16 pm
I have no issue with controlling them that way but I'd like to know if I could control them via terminal or something, I'm training in crestron programming and would like my crestron controller to send commands to the Pi which controls the lights
Raspberry Pi Art-Net 3 (Wifi) ->DMX Out / RDM Controller / Pixel controller [Plug & Play]
http://www.raspberrypi-dmx.org/raspberr ... et-dmx-out

Raspberry Pi RDM Responder / Pixel controller [Plug & Play]
http://www.raspberrypi-dmx.org/raspberr ... -responder

Raspberry Pi OSC (Wifi) / Pixel controller [Plug & Play]
http://www.raspberrypi-dmx.org/raspberr ... spi-bridge
http://www.raspberrypi-dmx.org/
Open Source DMX/RDM/MIDI/OSC/Art-Net/sACN solutions

Return to “Other languages”

Who is online

Users browsing this forum: No registered users and 3 guests