setColor
Testing Env
https://{{host}}:8092
Testing Env
https://{{host}}:8092
POST
/json-rpc/input/color
WebsocketHTTP/S
For best practices on using priorites, see Components & Priorities.
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location -g --request POST 'https://localhost:8092/json-rpc/input/color' \
--header 'Content-Type: application/json' \
--data-raw '{
"command": "color",
"instance": [],
"color": [
0,
0,
255
],
"priority": 50,
"origin": "My Fancy App"
}'
Response Response Example
Success
{
"command": "color",
"success": true,
"tan": 4711
}
Request
Body Params application/json