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 Sensor Profiles¶

The API returns the existing and applicable light profiles that can be assigned to the sensor. The applicable light profiles are child profiles created from the parent template. Each profile is associated with a unique ID called the profile group ID. The group_id returned is used as the primary identifier in other API calls.

Request¶

GET https:/{em_ip_address_or_hostname}/ems/api/org/fixture/v1/getFixtureApplicableProfiles/{fixture_id}

Parameters¶

NameDescription
Request
em_ip_address_or_hostnameThe Enlighted Manage (EM) IP address or hostname
fixture_idFixture or sensor identifier. Use the Fixture ID returned by the Get Sensor Details by Floor API or in EM, select Facility > Floor in the left panel, Floor Plan tab, and double-click the fixture icon in the floor plan to obtain the Fixture ID.
Response
idThe fixture or sensor identifier
nameSensor name. For example, Sensorxxxxxx
currentProfileDisplays the name of the existing profile assigned to the sensor
group_id**Profile group identifier. The ID of the profile associated with the fixture.
(**used as the primary identifier in other API calls)
applicableProfilesLists profiles derived from the same profile template as the current profile

Sample Request¶

Request the profile name assigned to the sensor using the Fixture ID returned by the Get Sensor Details by Floor API.

The response below shows that 'Open Office Max 35' light profile is assigned to the fixture with ID ‘28’. The API also returns the list of applicable profiles and their IDs.

GET https://192.80.3.2/ems/api/org/fixture/v1/getFixtureApplicableProfiles/28

Sample Response¶

{
    "id": "28",
    "name": "Sensor00ceed",
    "currentProfile": "Open Office Max 35",
    "groupId": "27",
    "applicableProfiles": [
        {
            "name": "Open Office Max 35",
            "groupId": "27"
        },
        {
            "name": "Open Office Max 70",
            "groupId": "28"
        },
        {
            "name": "Open Office Max 50",
            "groupId": "29"
        },
        {
            "name": "default.Open Office_Normal",
            "groupId": "46"
        },
        {
            "name": "default.Open Office_AlwaysOn",
            "groupId": "47"
        },
        {
            "name": "default.Open Office_Dim",
            "groupId": "48"
        }
    ]
}