API documentation?

Post Reply
middi
Posts: 2
Joined: Sun Apr 30, 2017 12:52 pm
Real Name: 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.
User avatar
mcallegari
Posts: 4711
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

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.
middi
Posts: 2
Joined: Sun Apr 30, 2017 12:52 pm
Real Name: Middi

Thank you, I will study it.
User avatar
MontyZuma
Posts: 39
Joined: Sat Apr 01, 2017 11:11 am
Real Name: Klaus Muth

Whoops! Now that's intresting!
I totally missed the page on RGB Script API in the integrated manual.

Thanks for the hint!

klaus
Post Reply