Hyperion
  1. Information
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
        POST
      • getSubscriptionInformation
        POST
      • getServerInformation
        POST
      • getImageSnapshot
        POST
      • getLedsSnapshot
        POST
    • Controls
      • Input Controls
        • setColor
        • setEffect
        • setImage
        • clear
        • clearAll
        • selectSource
      • 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. Information

getLedsSnapshot

Testing Env
https://{{host}}:8092
Testing Env
https://{{host}}:8092
POST
/json-rpc/instance-data/leds
Get a snapshot of LED colors which are currently processed by a given instance.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://localhost:8092/json-rpc/instance-data/leds' \
--header 'Content-Type: application/json' \
--data-raw '{
    "command": "instance-data",
    "subcommand": "getLedSnapshot",
    "instance": 1,
    "tan": 4711
}'
Response Response Example
Success
{
    "command": "instance-data-getLedSnapshot",
    "info": {
        "leds": [
            [
                7,
                0,
                155
            ],
            [
                4,
                0,
                171
            ],
            [
                1,
                0,
                197
            ],
            [
                0,
                0,
                235
            ],
            [
                2,
                0,
                183
            ],
            [
                2,
                0,
                27
            ],
            [
                0,
                0,
                0
            ],
            [
                2,
                0,
                4
            ],
            [
                12,
                0,
                15
            ],
            [
                25,
                0,
                21
            ]
        ]
    },
    "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 17:28:50
Previous
getImageSnapshot
Next
setColor
Built with