Page 1 of 1

Advanced os2l commands from VDJ? Not just os2l_btn

Posted: Wed Nov 06, 2019 6:39 pm
by dben41
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)

Re: Advanced os2l commands from VDJ? Not just os2l_btn

Posted: Thu Nov 07, 2019 8:45 am
by mcallegari
[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

Re: Advanced os2l commands from VDJ? Not just os2l_btn

Posted: Thu Nov 07, 2019 3:56 pm
by dben41
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?

Re: Advanced os2l commands from VDJ? Not just os2l_btn

Posted: Fri Nov 08, 2019 9:35 am
by juski
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.