unicontrol > Web interface > Processes > Output > RGB Color
POST: http://192.168.1.255/var_set?param=outcolor_7&val=%237FFFD4
will set the Color on Process #7 to
RGB Color
Introduced in version 1.09
This section relates to the process output variable.
For active parameter of the RGB driver, please refer to the Color section.
Determines the base Color for the RGB program, denoted using the standard 6-digit (non-abbreviated) RGB Hex code (web color), #RRGGBB
.
For further reference on web colors, please visit here.
This setting is only effective for relevant programs, as detailed here.
HTTP
The device will accept HTTP requests at the following URLs:
(POST) http://[IPv4]
/var_set?param=outcolor_[PROCESS ID]
&val=[VALUE]
(GET) http://[IPv4]
/var_request?param=outcolor_[PROCESS ID]
POST: http://192.168.1.255/var_set?param=outcolor_7&val=%237FFFD4
will set the Color on Process #7 to
#7FFFD4
(Aquamarine).
**Do not forget to URL-encode the
#
character by replacing it with %23
or exclude it completely!Learn more in HTTP API.
MQTT
This parameter can also be accessed via MQTT using [PARAMETER]
= outcolor
. Learn more in MQTT API.
Following two messages:
Topic: johndoe5896/home/garagedoor/sub/process_7/outcolor
Payload: #7FFFD4
will set the Color on Process #7 to
Topic: johndoe5896/home/garagedoor/sub/process_7/outcolor
Payload: #7FFFD4
will set the Color on Process #7 to
#7FFFD4
(Aquamarine).