Set and Retrieve Brightness and Color Temperature
# Set and Retrieve Brightness and Color Temperature
# Set Brightness and Color Temperature
Path:
/api/savebrightnessandcolortemp
Method: PUT
Content-type: application/json; charset=utf-8
API Description: Set the brightness and color temperature.
Request
Name | Type | Example | Description |
---|---|---|---|
brightness | int | 255 | Brightness, ranging from 0 to 255 (adjusted manually in most cases). |
colortemperature | int | 6500 | Color temperature, ranging from 2000 to 10000. |
Example
{
"brightness": 255,
"colortemperature": 6500
}
# Retrieve Brightness and Color Temperature
Path:
/api/brightnessandcolortemp.json
Method: GET
Content-type: application/json; charset=utf-8
API Description: This can be used to retrieve the brightness and color temperature.
Response
Name | Type | Example | Description |
---|---|---|---|
brightness | int | 255 | Brightness, ranging from 0 to 255 (adjusted manually in most cases). |
colortemperature | int | 6500 | Color temperature, ranging from 2000 to 10000. |
Example
{
"brightness": 255,
"colortemperature": 6500
}