The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Enlighted

The Enlighted lighting solution optimizes energy savings while enhancing occupant productivity, well-being, and security.

Get Scene Light Levels for a Switch¶

A Switch Group controls the light levels of selected fixtures. Each set of light level settings for fixtures is called a scene. Up to a maximum of six scenes can be created. Each fixture in a scene can have different light levels to achieve the desired effect.

The API returns the scene light levels for the group of fixtures controlled by the scene.

Request¶

GET https://{em_ip_address_or_hostname}/ems/api/org/scene/v1/list/getSceneLevels/{scene_id} 

Parameters¶

Request¶

ParameterDescription
em_ip_address_or_hostnameManage’s IP address or hostname
scene_idScene identifier. Returned in Get Switch Scenes API. Get Switch Scenes

Response¶

ParameterDescription
idFor internal use.
switch_idSwitch identifier.
scene_idScene identifier. Up to a maximum of six scenes can be defined.
fixture_idFixture identifier of the fixture for which the scene applies.
lightlevelReturns the light level (0-100%) for each fixture for the scene.
- 0% - Light level is set to off.
- 100% - Light level is set to full-on.
scenecolorCurrent color temperature value in Kelvin degrees

Sample Request¶

Use the Get Switch Scenes to obtain the Scene ID. Then, request the scene light levels for the fixtures using the Scene ID. For example, if Scene ID '157' is returned by the Get Switch Scenes use the Scene ID to return the light levels for the scene.

GET https://192.80.3.2/ems/api/org/scene/v1/list/getSceneLevels/157

Sample Response¶

{
  "sceneLevel": [
  {
    "id": "6",
    "switchid": "7",
    "sceneid": "157",
    "fixtureid": "885",
    "lightlevel": "100",
    "sceneColor": "3200"
  },
  {
    "id": "9",
    "switchid": "7",
    "sceneid": "157",
    "fixtureid": "886",
    "lightlevel": "60",
    "sceneColor": "3600"
  }
 ]
}