Hi
I'm trying to send a signal to QLC+ remotely over the network to triger a Next Cue event. I figured OSC might be the suitable protocol.
But 've been struggling for a while, but I can't seem to get QLC+ to do anything with my signals at all.
I using python and pyOSC to send the signal, I can see the Packets Received section in Inputs/Outputs increases when I send something, so I know it's receiving the packets.
I read somewhere that I need to use the cue stack on the virtual console, and that OSC won't work with the simpledesk cue stack.
On the cue widget's properties I enter the universe and channel number for the NextCue event from the OSC input, but when i send a signal such as "/0/dmx/5", then well, nothing happens.
I have not been able to find useful ways to debug this issue.
Strangely, when I use the AutoDetect on the widgets NextCue input settings, then it populates the channel number to something weird like "64725: ?".
Can someone point me in the right direction?
Edward
[SOLVED] Trigger a next cue remotely with pyOSC
- mcallegari
- Posts: 4827
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
You need to send float values in the range 0.0 - 1.0
To trigger a button send a 1.0 followed by a 0.0
It is also suggested to use an input profile
To trigger a button send a 1.0 followed by a 0.0
It is also suggested to use an input profile
-
- Posts: 5
- Joined: Sun Nov 01, 2015 1:57 pm
- Real Name: Edward van Kuik
Here is my example code in Python with pyOSC.
Code: Select all
import OSC
def send(address, value=0):
c = OSC.OSCClient()
c.connect(('127.0.0.1', 7700))
oscmsg = OSC.OSCMessage()
oscmsg.setAddress(address)
oscmsg.append(value)
c.send(oscmsg)
send('/0/dmx/1',1.0)
send('/0/dmx/1',0.0) # Button events require 1.0 followed by 0.0