Is there any documentation on retreiving information for the Animation through the API? The webaccess page has all the buttons I added inside the animation visualized, and I want to grab that information from the API. But I don't know how as that page is pre rendered and doesn't expose the actual API calls. The WebApi test page does not contain any information either.
I can control the values as I can set those by manually looking at the websocket traffic. But to automate this I need to actually retreive it first. Is there any information on this?
Web API Animation
-
- Posts: 375
- Joined: Thu Jun 17, 2021 9:31 am
- Location: Australia
- Real Name:
- Contact:
Hi there,
I sponsored the animation widget being added to the web interface, sorry that I overlooked the documentation.
Here is a link to a GitHub issue which will track us adding the animation widget documentation to the Web API Test page:
https://github.com/mcallegari/qlcplus/issues/1559
I sponsored the animation widget being added to the web interface, sorry that I overlooked the documentation.
Here is a link to a GitHub issue which will track us adding the animation widget documentation to the Web API Test page:
https://github.com/mcallegari/qlcplus/issues/1559
- mcallegari
- Posts: 4528
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
If you are a web developer, it's very easy to find it out yourself:
- create a VC with animation widget and preset buttons
- load the web page and hit F12
- select one animation widget preset button and you will find that it calls "wcMatrixPushButtonClicked"
- go to the source code and find this: https://github.com/mcallegari/qlcplus/b ... le.js#L707
So your syntax is
- create a VC with animation widget and preset buttons
- load the web page and hit F12
- select one animation widget preset button and you will find that it calls "wcMatrixPushButtonClicked"
- go to the source code and find this: https://github.com/mcallegari/qlcplus/b ... le.js#L707
So your syntax is
Code: Select all
animationWidgetId + "|MATRIX_PUSHBUTTON|" + controlID
-
- Posts: 6
- Joined: Mon Apr 01, 2024 12:06 pm
- Real Name:
Yes this is what I'm doing right now, but this requires manual work on it. I want to be able to load it like is done in the web interface. This way changes can be automatically reflected within my application without any manual steps. It should be possible as the web interface does this as wellmcallegari wrote: ↑Wed May 01, 2024 7:49 am If you are a web developer, it's very easy to find it out yourself:
- create a VC with animation widget and preset buttons
- load the web page and hit F12
- select one animation widget preset button and you will find that it calls "wcMatrixPushButtonClicked"
- go to the source code and find this: https://github.com/mcallegari/qlcplus/b ... le.js#L707
So your syntax isCode: Select all
animationWidgetId + "|MATRIX_PUSHBUTTON|" + controlID
-
- Posts: 6
- Joined: Mon Apr 01, 2024 12:06 pm
- Real Name:
I'll keep an eye on that thanks! You described my issue perfectly.Yestalgia wrote: ↑Tue Apr 30, 2024 11:46 pm Hi there,
I sponsored the animation widget being added to the web interface, sorry that I overlooked the documentation.
Here is a link to a GitHub issue which will track us adding the animation widget documentation to the Web API Test page:
https://github.com/mcallegari/qlcplus/issues/1559
Again, great job on your implementation! Any plans for the speed dial by any chance?