Page 1 of 1

Web API - Channel Values

Posted: Thu Mar 02, 2017 3:33 am
by justinh
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

Re: Web API - Channel Values

Posted: Fri Mar 03, 2017 1:04 pm
by janosvitok
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

Re: Web API - Channel Values

Posted: Sat Mar 04, 2017 4:15 pm
by mcallegari
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