Advanced os2l commands from VDJ? Not just os2l_btn

Request a feature that you would like to see in QLC+.
Explain in details why you would need it and which is your usage case.
Post Reply
dben41
Posts: 18
Joined: Thu Apr 11, 2019 5:22 pm
Real Name: Daryl Bennett
Contact:

I'm seeing that in the protocol (http://os2l.org/), that you send JSON packets from your sound software to your lighting software. It looks like VDJ abstracts that details, and you have to send commands in the form of os2l_cmd or os2l_btn.
I followed the two guides:
http://www.virtualdj.com/wiki/QLC%20with%20OS2L.html, https://www.virtualdj.com/wiki/os2l.html

and I'm able to successfully send the os2l_btn "buttonName" messages from VDJ to QLC+.
But is there a list of more complicated commands? Using the "os2l_cmd"? Or with more parameters than just the button name? Is there more advanced documentation on the VDJ side of the possibilities?
Thanks

(cross posted on VDJ website)
User avatar
mcallegari
Posts: 4711
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

[moderator] moved to feature requests

Not every VDJ signal can be mapped 1-to-1 to QLC+
I'll have a look at it when I have some time, but lately I don't have much
dben41
Posts: 18
Joined: Thu Apr 11, 2019 5:22 pm
Real Name: Daryl Bennett
Contact:

Thanks mcallegari.

I'm able to get the beat, and the button to turn on. Now I'm trying to change the value of a slider with percentage, using the os2l_cmd feature from vdj.

I looked at the packets that VDJ was sending: {"evt":"cmd","id":1,"param":50}, if I issued the command os2l_cmd 1 50%.
I looked at the source code, and it looks like commands are being sent. https://github.com/mcallegari/qlcplus/b ... plugin.cpp (I didn't debug it)
I might just be configuring it wrong on the console? Attached is what I have configured.

Also, on the VDJ side, I want to send a command to turn off a button in VDJ. The command I send is os2l_button "Scene 1" off
The rendered packet sent to QLC+ is {"evt":"btn","name":"Scene 1","state":"off"}
But the button doesn't turn off. Has this been configured yet, or is there an additional step that I need to take?
Attachments
os2l slider.png
juski
Posts: 50
Joined: Wed Jun 24, 2015 10:28 pm
Real Name: Justin Hornsby

As far as I know you can only toggle virtual console buttons - you cannot set them to on or off. I work around this by having spare buttons in solo frames which stop functions so I start from a known state.
Post Reply