Skip to content

Instantly share code, notes, and snippets.

@blacklight
Last active July 26, 2019 17:36
Show Gist options
  • Save blacklight/5f1272a6787e8c0b99fcac1e39540408 to your computer and use it in GitHub Desktop.
Save blacklight/5f1272a6787e8c0b99fcac1e39540408 to your computer and use it in GitHub Desktop.
[Medium] platypush example response
{
"id": "6e5383cee53e8330afc5dfb9bde12a25",
"type": "response",
"target": "http",
"origin": "your_server_name",
"_timestamp": 1564154465.715452,
"response": {
"output": {
"1": {
"state": {
"on": false,
"bri": 254,
"hue": 14916,
"sat": 142,
"effect": "none",
"xy": [
0.4584,
0.41
],
"ct": 366,
"alert": "lselect",
"colormode": "xy",
"mode": "homeautomation",
"reachable": true
},
"type": "Extended color light",
"name": "Living Room Ceiling Right",
"manufacturername": "Philips",
"productname": "Hue color lamp"
},
"errors": [
// No errors were found in this case
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment