Web API - Channel Values

Ask a generic question about the usage of QLC+, not related to a particular operating system
Post Reply
justinh
Posts: 6
Joined: Tue Nov 15, 2016 5:03 am
Real Name: Justin

The API to get channel values only returns values if the channels have been set from Simple Desk.
If a channel is not set by Simple desk (e.g. a set by a widget) then the channel values are '0' in the API response.
Is this a bug?

Code: Select all

QLC+API|getChannelsValues|1|13|20
janosvitok
Posts: 1274
Joined: Mon Apr 13, 2015 7:05 am
Location: Bratislava, Slovakia
Real Name: Jano Svitok
Contact:

You are right, the description at http://qlcplus.org/Test_Web_API.html is wrong. It indeed returns values from simple desk.
The function's intent is to help in implement Simple Desk in web interface.

TODO:
@massimo: adjust description of the Web API page
anybody: add another function to retrieve channel values
User avatar
mcallegari
Posts: 4480
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Fixed on GIT
However, I realized it still has issues with relative values coming from EFX.
The "native" simple desk works properly as it is a DMX source, but the web interface gets preGM values without the relative values added
Post Reply