{"__v":1,"_id":"57f4990f95dc7c0e00d44e3c","category":{"project":"56130e29d2b2370d0096b91a","version":"56130e2ad2b2370d0096b91d","_id":"57f52ed668a53b2000e03efa","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-10-05T16:48:22.773Z","from_sync":false,"order":1,"slug":"stack-enabled","title":"Stack Enabled"},"parentDoc":null,"project":"56130e29d2b2370d0096b91a","user":"56130dcf8e503f0d00648b03","version":{"__v":11,"_id":"56130e2ad2b2370d0096b91d","project":"56130e29d2b2370d0096b91a","createdAt":"2015-10-05T23:56:26.509Z","releaseDate":"2015-10-05T23:56:26.509Z","categories":["56130e2bd2b2370d0096b91e","56130f638e503f0d00648b05","561317cdbe80130d00f188dd","561317d8ff92880d005ca212","56f97c0f8fef7520003f818e","570d751180c9010e00d77f4d","570d7543e2a0b40e0077aa90","571699927256fb0e00c1d01c","57f43db31592cb0e00761dd6","57f52ed668a53b2000e03efa","57f5350f485e6e2b005b2f27"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"0.0.0","version":"0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-10-05T06:09:19.094Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"curl -X GET 'https://api.stacklighting.com/v0/sense/status?site_id=6133345811384985&device_id=xdDEVVLmzGDydWnoJLy7AQGyLw \\\n     -H 'Content-Type: application/json' \\\n     -H 'Authorization: Bearer YmE3MTU5MWItZTIwMC00MDc2LWJmZTQtZDH5YmUxMTA0ZTNmOjU3NjE2NzM5MzE1MjIwNDg='","language":"curl","name":null}]},"results":{"codes":[{"name":"","code":"{\n  \"status\": \"0\",\n  \"report_time\": \"2016-10-05T06:59:31.234740\",\n  \"avg_level\": \"0\",\n  \"power_used_kwh\": \"3.614761953940615E-5\",\n  \"thermal_throttle\": 1,\n  \"site_id\": \"6133345811384985\",\n  \"motion_timeout\": 600,\n  \"temperature_c\": \"21.0\",\n  \"motion_change_time\": \"2016-10-05T06:36:58.327540\",\n  \"brightness_level\": \"0\",\n  \"als_level\": \"58\",\n  \"device_id\": \"xdDEVVLmzGDydWnoJLy7AQGyLw\",\n  \"uptime\": \"121593\",\n  \"zone_id\": \"5204430093479938\",\n  \"max_brightness\": 1800,\n  \"mains_voltage\": \"0\",\n  \"hub_id\": \"548A168E2C982\",\n  \"max_als\": null,\n  \"vfb\": \"0.05\",\n  \"is_motion_detected\": false,\n  \"color\": \"2700\",\n  \"min_brightness\": 200,\n  \"lqi\": \"42\",\n  \"min_als\": null,\n  \"default_brightness\": 1000\n}","language":"json","status":200}]},"settings":"","auth":"required","params":[{"_id":"57f4a5ea95dc7c0e00d44e43","ref":"","in":"query","required":true,"desc":"The unique identifier for the site.","default":"","type":"string","name":"site_id"},{"_id":"57f4a5ea95dc7c0e00d44e42","ref":"","in":"query","required":true,"desc":"The unique identifier for the device.","default":"","type":"string","name":"device_id"}],"url":"/sense/status?site_id=:side_id&device_id=:device_id"},"isReference":true,"order":0,"body":"","excerpt":"This endpoint returns sensory information from a device.\n\n<strong>Currently only available to <a href=\"http://stacklighting.com/stack-enabled\">Stack Enabled</a> partners.</strong> Contact partners:::at:::stacklighting.com for more information.","slug":"sense","type":"get","title":"Bulb Status"}

getBulb Status

This endpoint returns sensory information from a device. <strong>Currently only available to <a href="http://stacklighting.com/stack-enabled">Stack Enabled</a> partners.</strong> Contact partners@stacklighting.com for more information.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

site_id:
required
string
The unique identifier for the site.
device_id:
required
string
The unique identifier for the device.

Examples


Result Format


User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}