Set Emergency

During an emergency, this command automatically sets the lighting level for all fixtures controlled by Manage to the maximum level of 100% or full-on, so the floor is entirely lit up.

Request

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

Parameters

Request 
em_ip_address or hostname:  Manage IP address or hostname
time: The emergency duration time. Set to 60 minutes by default
Response 
status:

 0 – Lights are on to a maximum level of 100% or full-on
 1 – Lights are off

Sample Code

Using the IP address, set all lights to full on for 60 minutes during an emergency.

Post https://{192.80.3.2}/ems/api/org/em/v1/setEmergency?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

Please sign in to leave a comment.