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 Switch Groups¶

Switch Groups control turning on or off a group of fixtures. This API returns all Switch Groups on a floor in the building. The response includes the Switch Group ID and Switch Name for each Switch Group.

The Switch Name and ID are used as the primary identifiers in other API calls.

Request¶

GET https://{em_ip_address_or_hostname}/ems/api/org/switchgroups/list/{facility}/{floor_id}

Parameters¶

NameDescription
Request
em_ip_address_or_hostnameManage’s IP address or hostname
facilityThe facility type can be either a floor or a company.
floor_idFloor identifier. Use the Get All Floors API, or in EM, select Facility > Floor > in the left panel, and click the Settings tab to obtain the Floor ID.
Response
idSwitch Group identifier in Enlighted Manage
nameSwitch Name (**used as the primary identifier in other API calls)

Sample Request¶

Users can request the list of all Switch Groups on a floor using the Floor ID. The API lists the Switch Group ID, and the Switch name for all Switch Groups.

For example, if Floor 1 has two Switch Groups, the API returns the Switch Group ID and Switch Name for both Switch Groups. The Switch Name is used as the primary identifier in other API calls.

GET https://191.18.0.1/ems/api/org/switchgroups/list/floor/1

Sample Response¶

"gemsGroup":[
   {
      "id": 7,
      "name": "594_SWG"
   },
   {
      "id": 8,
      "name": "595_SWG"
   }
 ]