unicontrol > Web interface > Processes > Output > RGB Mode
POST: http://192.168.1.255/var_set?param=outrgbmod_2&val=5
will set the RGB mode on Process #2 to
RGB Mode
Introduced in version 1.09
This section relates to the process output variable.
For active parameter of the RGB driver, please refer to the Mode section.
This is the primary program Mode of the RGB driver, which is rendered by the LED strip. For a detailed description of each mode and the relevance of the auxiliary parameters, please follow here.
HTTP
The device will accept HTTP requests at the following URLs:
(POST) http://[IPv4]
/var_set?param=outrgbmod_[PROCESS ID]
&val=[VALUE]
(GET) http://[IPv4]
/var_request?param=outrgbmod_[PROCESS ID]
POST: http://192.168.1.255/var_set?param=outrgbmod_2&val=5
will set the RGB mode on Process #2 to
Candlelight
.
Learn more in HTTP API.
MQTT
This parameter can also be accessed via MQTT using [PARAMETER]
= outrgbmod
. Learn more in MQTT API.
Following two messages:
Topic: johndoe5896/home/garagedoor/sub/process_2/outrgbmod
Payload: 5
will set the RGB mode on Process #2 to
Topic: johndoe5896/home/garagedoor/sub/process_2/outrgbmod
Payload: 5
will set the RGB mode on Process #2 to
Candlelight
.