Page 1 of 1

API documentation?

Posted: Sun Apr 30, 2017 1:08 pm
by middi
Hi there,
I love QLCplus for controlling my RGB LED-Panel (4x Traxon 64PXLwash, makes 8x32 matrix).
Great work, a big thanks to the developpers!
Is there an API for changing values of the RGBMatrix function?
I want to do a script (python) which automatically changes the color-palettes or the presetpattern in use from while to while.
Is there an API or will I have to modify the sources and compile by myself (linux) for creating an API by myself?
Thank you all!
Kind regards, Middi.

Re: API documentation?

Posted: Mon May 01, 2017 9:42 am
by mcallegari
Hi, RGB Matrix scripts are written in JavaScript.
Once they are loaded, you cannot change them at runtime.

API are pretty straight forward. Start from here: https://github.com/mcallegari/qlcplus/t ... rgbscripts
and study empty.js. You can test a script with devtool.html.

Re: API documentation?

Posted: Mon May 01, 2017 8:10 pm
by middi
Thank you, I will study it.

Re: API documentation?

Posted: Thu May 04, 2017 8:09 am
by MontyZuma
Whoops! Now that's intresting!
I totally missed the page on RGB Script API in the integrated manual.

Thanks for the hint!

klaus