Set Brightness and Color Temperature
# Set Brightness and Color Temperature
# Set Brightness Value
Path:
/api/brightness
Method: PUT
Content-type: application/json; charset=utf-8
API Description: This can be used to set the brightness value.
Request
Name | Type | Example | Description |
---|---|---|---|
brightness | int | 255 | Brightness, ranging from 0 to 255. |
Example
{"brightness": 60}
# Set Color Temperature
Path:
/api/colortemp
Method: PUT
Content-type: application/json; charset=utf-8
API Description: This can be used to set the color temperature.
Request
Name | Type | Example | Description |
---|---|---|---|
colortemp | int | 6500 | Color temperature, ranging from 2000 to 10000. |
Example
{"colortemp": 6500}