ayatec logo
Home Store Blog Contact
unispa user guide by ayatec
Home Store Blog Contact

Topics

  1. Getting started
    1. What is unispa
    2. Hardware specification
    3. Connectivity
    4. System controls
    5. Integration options
    6. Network API - HTTP
    7. Network API - MQTT
    8. Network security
    9. Download
  2. Web Interface
    1. Process
      1. Cabin
      2. Pool
      3. Kneipp
    2. Peripheral
      1. Calibration
      2. Mapping (edit)
    3. Device
    4. Network
    5. System

In this article

  • Introduction
advert
unispa > Web interface > Processes > Output > RGB Color

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 #7FFFD4 (Aquamarine).
© 2024 ayatec.eu • Found a mistake?  Let us know!