Auto Mode for a Fixture¶
Sets the sensors to Auto mode. In this mode, the level of occupancy in the area determines the fixture dim level.
Request¶
POST https://{em_ip_address_or_hostname}/ems/api/org/fixture/v1/op/auto
<fixtures>
<fixture>
<id>27</id>
</fixture>
</fixtures>
Parameters¶
Name | Description |
---|---|
Request | |
em_ip_address_or_hostname | The Enlighted Manage (EM) IP address or hostname |
fixture_id | The fixture or sensor identifier. Use the Fixture ID returned in the Get Sensor Details by Floor API or in EM, select Facility > Floor in the left panel, Floor Plan tab, and double-click the fixture icon in the floor plan to obtain the Fixture ID. |
Response | |
status | 0 – Auto mode successful; lights are dimmed based on occupancy |
1 – Auto mode unsuccessful |
Sample Request¶
Sets the sensor with ID ‘27’ to auto mode. The response is successful, which means lights are dimmed based on occupancy level.
POST https://192.80.3.2/ems/api/org/v1/op/auto
<fixtures>
<fixture>
<id>27</id>
</fixture>
</fixtures>
Sample Response¶
{
"status": "0"
}