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 |
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 |
Comments
Article is closed for comments.