Advertisement
Guest User

hue GET /api/groups response

a guest
Jul 10th, 2020
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.46 KB | None | 0 0
  1. {
  2.     "1": {
  3.         "name": "Tv",
  4.         "lights": [
  5.             "19",
  6.             "20"
  7.         ],
  8.         "sensors": [],
  9.         "type": "Zone",
  10.         "state": {
  11.             "all_on": true,
  12.             "any_on": true
  13.         },
  14.         "recycle": false,
  15.         "class": "Downstairs",
  16.         "action": {
  17.             "on": true,
  18.             "bri": 254,
  19.             "hue": 8597,
  20.             "sat": 121,
  21.             "effect": "none",
  22.             "xy": [
  23.                 0.4452,
  24.                 0.4068
  25.             ],
  26.             "ct": 343,
  27.             "alert": "none",
  28.             "colormode": "xy"
  29.         }
  30.     },
  31.     "2": {
  32.         "name": "Hallway",
  33.         "lights": [
  34.             "7",
  35.             "8",
  36.             "9"
  37.         ],
  38.         "sensors": [],
  39.         "type": "Room",
  40.         "state": {
  41.             "all_on": true,
  42.             "any_on": true
  43.         },
  44.         "recycle": false,
  45.         "class": "Other",
  46.         "action": {
  47.             "on": true,
  48.             "bri": 254,
  49.             "hue": 8597,
  50.             "sat": 121,
  51.             "effect": "none",
  52.             "xy": [
  53.                 0.4452,
  54.                 0.4068
  55.             ],
  56.             "ct": 343,
  57.             "alert": "select",
  58.             "colormode": "xy"
  59.         }
  60.     },
  61.     "3": {
  62.         "name": "Living Room",
  63.         "lights": [
  64.             "21",
  65.             "19",
  66.             "20",
  67.             "14",
  68.             "15",
  69.             "16",
  70.             "17",
  71.             "18"
  72.         ],
  73.         "sensors": [],
  74.         "type": "Room",
  75.         "state": {
  76.             "all_on": true,
  77.             "any_on": true
  78.         },
  79.         "recycle": false,
  80.         "class": "Living room",
  81.         "action": {
  82.             "on": true,
  83.             "bri": 254,
  84.             "hue": 8402,
  85.             "sat": 140,
  86.             "effect": "none",
  87.             "xy": [
  88.                 0.445,
  89.                 0.4067
  90.             ],
  91.             "ct": 346,
  92.             "alert": "select",
  93.             "colormode": "xy"
  94.         }
  95.     },
  96.     "4": {
  97.         "name": "Bedroom",
  98.         "lights": [],
  99.         "sensors": [],
  100.         "type": "Room",
  101.         "state": {
  102.             "all_on": false,
  103.             "any_on": false
  104.         },
  105.         "recycle": false,
  106.         "class": "Bedroom",
  107.         "action": {
  108.             "on": false,
  109.             "alert": "none"
  110.         }
  111.     },
  112.     "5": {
  113.         "name": "Main area",
  114.         "lights": [
  115.             "19",
  116.             "20",
  117.             "14",
  118.             "15",
  119.             "16",
  120.             "17",
  121.             "18",
  122.             "7",
  123.             "8",
  124.             "9"
  125.         ],
  126.         "sensors": [],
  127.         "type": "Zone",
  128.         "state": {
  129.             "all_on": true,
  130.             "any_on": true
  131.         },
  132.         "recycle": false,
  133.         "class": "Downstairs",
  134.         "action": {
  135.             "on": true,
  136.             "bri": 254,
  137.             "hue": 8597,
  138.             "sat": 121,
  139.             "effect": "none",
  140.             "xy": [
  141.                 0.4452,
  142.                 0.4068
  143.             ],
  144.             "ct": 343,
  145.             "alert": "select",
  146.             "colormode": "xy"
  147.         }
  148.     },
  149.     "6": {
  150.         "name": "Entertainment area 1",
  151.         "lights": [
  152.             "20",
  153.             "19"
  154.         ],
  155.         "sensors": [],
  156.         "type": "Entertainment",
  157.         "state": {
  158.             "all_on": true,
  159.             "any_on": true
  160.         },
  161.         "recycle": false,
  162.         "class": "TV",
  163.         "stream": {
  164.             "proxymode": "auto",
  165.             "proxynode": "/lights/20",
  166.             "active": false,
  167.             "owner": null
  168.         },
  169.         "locations": {
  170.             "19": [
  171.                 0.39,
  172.                 1,
  173.                 0
  174.             ],
  175.             "20": [
  176.                 -0.36,
  177.                 1,
  178.                 0
  179.             ]
  180.         },
  181.         "action": {
  182.             "on": true,
  183.             "bri": 254,
  184.             "hue": 8597,
  185.             "sat": 121,
  186.             "effect": "none",
  187.             "xy": [
  188.                 0.4452,
  189.                 0.4068
  190.             ],
  191.             "ct": 343,
  192.             "alert": "none",
  193.             "colormode": "xy"
  194.         }
  195.     },
  196.     "7": {
  197.         "name": "Custom group for $group",
  198.         "lights": [
  199.             "7",
  200.             "8",
  201.             "9",
  202.             "14",
  203.             "15",
  204.             "16",
  205.             "17",
  206.             "18",
  207.             "19",
  208.             "20",
  209.             "21"
  210.         ],
  211.         "sensors": [],
  212.         "type": "LightGroup",
  213.         "state": {
  214.             "all_on": true,
  215.             "any_on": true
  216.         },
  217.         "recycle": true,
  218.         "action": {
  219.             "on": true,
  220.             "bri": 254,
  221.             "hue": 8418,
  222.             "sat": 140,
  223.             "effect": "none",
  224.             "xy": [
  225.                 0.445,
  226.                 0.4067
  227.             ],
  228.             "ct": 346,
  229.             "alert": "select",
  230.             "colormode": "xy"
  231.         }
  232.     },
  233.     "8": {
  234.         "name": "Bathroom",
  235.         "lights": [],
  236.         "sensors": [],
  237.         "type": "Room",
  238.         "state": {
  239.             "all_on": false,
  240.             "any_on": false
  241.         },
  242.         "recycle": false,
  243.         "class": "Other",
  244.         "action": {
  245.             "on": false,
  246.             "alert": "none"
  247.         }
  248.     }
  249. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement