JointSpace API Documentation

REST API Method: GET ambilight/measured

Returns the measured ambilight colours before processing by the internal ambilight algorithm.

URL

http://ip-address:1925/1/ambilight/measured

Format

json

HTTP Method

GET

Requires Authentication

false

Parameters

Response

This resource returns a JSON object with key/value pairs. See the JSON example for how these key/value pairs are returned.

Keys

JSON example


{
    "layer1":
    {
        "left":
        {
            "0":
            {
                "r": 100,
                "g": 210,
                "b": 30
            },
            "1":
            {
                "r": 110,
                "g": 220,
                "b": 25
            },
            "2":
            {
                "r": 115,
                "g": 230,
                "b": 20
            },
            "3":
            {
                "r": 125,
                "g": 235,
                "b": 15
            }
        },
        "top":
        {
            "0":
            {
                "r": 140,
                "g": 250,
                "b": 10
            },
            "1":
            {
                "r": 140,
                "g": 250,
                "b": 10
            },
            "2":
            {
                "r": 140,
                "g": 250,
                "b": 10
            },
            "3":
            {
                "r": 140,
                "g": 250,
                "b": 10
            },
            "4":
            {
                "r": 140,
                "g": 250,
                "b": 10
            },
            "5":
            {
                "r": 140,
                "g": 250,
                "b": 10
            }
        },
        "right":
        {
            "0":
            {
                "r": 125,
                "g": 235,
                "b": 15
            },
            "1":
            {
                "r": 115,
                "g": 230,
                "b": 20
            },
            "2":
            {
                "r": 110,
                "g": 220,
                "b": 25
            },
            "3":
            {
                "r": 100,
                "g": 210,
                "b": 30
            }
        },
        "bottom":
        {
        }
    }
    "layer2":
    {
        etc.
    }
}