Set Area Emergency

During an emergency, this command automatically sets the lighting level of all fixtures in the area to a maximum level of 100% (full-on), so the area is lit up.  

Request

POST https://{em_ip_address_or_hostname}/ems/api/org/area/v1/setEmergency/{area_id}?time=60

Parameters

Request 
em_ip_address or hostname: The Enlighted Manage’s (EM) 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 get the Area ID.
time: The emergency duration time. The default emergency time is set to 60 minutes.
Response 
status: 0 – Lights are on to a maximum level of 100% or full-on
1 – Lights are off

Sample Code

For example, the Get All Areas  API returned two areas: Hardware area with ID ‘9’ and Software area with ID ‘27’. Using the EM IP address and Area ID, set all lights in the area with ID '9' to turn on for 60 minutes.

Post https://192.80.3.2/ems/api/org/area/v1/setEmergency/9?time=60

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/json
Content-Length: 7582
Date: Sat, 21 Jul 2015 17:06:51 GMT
{
  "status": "0"
}

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Article is closed for comments.