# Set Screen Color Temperature

This interface allows you to set the color temperature of a specified screen.

# API Path

{CLTPlatform-ip}:8086/processor/setColorTemperature

  • Replace {CLTPlatform-ip} with the corresponding IP address.
  • The request port is 8086.

# Protocol

HTTP

# Method

POST

# Request Parameter

  • Set the Content-Type of the request body to application/json.
Parameter Name Description Required Type Data Dictionary Limit Example
command Command type Yes string processor/setColorTemperature
data Data Yes object
data >> index Sender index (starting from 0, -1 for all senders) Yes int 0
data >> groupIndex Screen group index (0~screenGroupCount-1) Yes int 0
data >> colorTemperature Color temperature (2000~10000) Yes int 2000
data >> bEnableColorTemperature Whether to enable color temperature Yes boolean true

# Request Example

{
    "command": "processor/setColorTemperature",
    "data": {
        "index": 0,
        "groupIndex": 0,
        "colorTemperature": 2000,
        "bEnableColorTemperature": true
    }
}

# Response

Parameter Name Description Required Type Data Dictionary Limit Example
command Command type Yes string processor/setColorTemperature
code Status code Yes int 20000
message Message Yes string Common_Success
data Data No object

# Response Example

{
    "code": 20000,
    "command": "processor/setColorTemperature",
    "data": {},
    "message": "Common_Success"
}

# Detailed Description

* 2023.11.16
    1. Standardized description.