Hyperion
  1. Input Controls
Hyperion
  • JSON-RPC API Introduction
  • JSON-API Commands Overview
  • Connect to Hyperion
  • Components & Priorities
  • Hyperion API
    • Authorization
      • API Authentication - Introduction
      • createToken
      • renameToken
      • deleteToken
      • getTokenlist
      • tokenRequired
      • adminRequired
      • newPasswordRequired
      • requestToken
      • newPassword
      • answerRequest
      • getPendingTokenRequests
      • login
      • logout
    • Information
      • getSystemInformation
      • getSubscriptionInformation
      • getServerInformation
      • getImageSnapshot
      • getLedsSnapshot
    • Controls
      • Input Controls
        • setColor
          POST
        • setEffect
          POST
        • setImage
          POST
        • clear
          POST
        • clearAll
          POST
        • selectSource
          POST
      • Output Controls
        • adjustColors
        • setLedMapping
        • setVideomode
      • Subscription Controls
        • liveImageStream
        • liveLedColorStream
      • Operational Controls
        • setComponentState
        • setInstanceState
        • switchInstance
        • setSystemState
        • setSubscriptions
    • Configuration
      • createInstance
      • deleteInstance
      • renameInstance
      • getConfiguration
      • updateConfiguration
      • restoreConfiguration
      • getSchemas
  1. Input Controls

setColor

Testing Env
https://{{host}}:8092
Testing Env
https://{{host}}:8092
POST
/json-rpc/input/color
Set a color for all LEDs or provide a pattern of LED colors.
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

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Modified at 2025-05-19 20:38:44
Previous
getLedsSnapshot
Next
setEffect
Built with