I know I can query for a list of functions (scenes, EFX, etc) and their respective statuses, but how do I get one to run/stop without using a VC widget?
I can't find any method to directly "set" a function's status in the test api example page.
API Run/Stop Function
- mcallegari
- Posts: 4712
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
Web APIs have been written for the web interface, not quite to "do everything you want with QLC+".
Perhaps you can explain your usage case and why you need such APIs ?
Perhaps you can explain your usage case and why you need such APIs ?
-
- Posts: 3
- Joined: Sat Oct 13, 2018 8:45 am
- Real Name: Mark P
Ah, OK. I have an external application which I'd like to trigger lighting scenes/efx when certain events occur - it's for an interactive game, and I'd like the moving heads to run some pre-defined routines.
Alternatively I'm not sure if OSC can provide this functionality? The app is mostly written in Python so there is probably a library for this.
Alternatively I'm not sure if OSC can provide this functionality? The app is mostly written in Python so there is probably a library for this.
- mcallegari
- Posts: 4712
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
Just create some functions and assign each one of them to a dedicated button in the Virtual console.
The you can trigger buttons on/off via web API.
The you can trigger buttons on/off via web API.