Set Area Emergency API¶
During an emergency, this command automatically sets the lighting level for all fixtures in the area to a maximum level of 100% (full-on), so the area is well-lit.
Request¶
POST https://{em_ip_address_or_hostname}/ems/api/org/area/v1/setEmergency/{area_id}?time=60
Parameters¶
Path Parameters¶
Name | Description |
---|---|
Request | |
em_ip_address_or_hostname | The Enlighted Manage IP address or hostname. |
area_id | Area identifier. Use the Get All Areas API, or in EM, select Facility > Floor > Area in the left panel, and click the Settings tab to obtain the Area ID. |
Response | |
status | 0 – Lights are on to a maximum level of 100% or fully-on. 1 – Lights are off. |
Sample Request¶
The Get All Areas API returns the list of all areas and area IDs. For example, if a floor has two areas: Hardware area-ID ‘9’ and Software area-ID ‘27’, the user can set all lights in the area with ID '9' to 100% max. light level.
https://192.80.3.2/ems/api/org/area/v1/setEmergency/9?time=60
Sample Response¶
{
"status": "0"
}