Skip to content

Get Sensor Details

This API reports information for an individual sensor at every five-minute interval. The data for the last five minutes of the sensor is reported.

Request

GET https://{em_ip_address_or_hostname}/ems/api/org/sensor/v3/details/{fixture_id}

Parameters

NameDescription
Request
em_ip_address_or_hostnameThe Enlighted Manage (EM) IP address or hostname.
fixture_idSensor identifier. Use the Sensor ID returned by the the Get Sensor Details by Floor, or in EM, select Facility > Floor in the left panel, Floor Plan tab, and double-click the sensor icon in the floor plan to obtain the Sensor ID.
Response
idSensor identifier
nameSensor name. For example, Sensorxxxxxx
powerThe average load of the fixture in watts for the last five-minute interval
temperatureTemperature in Fahrenheit
lightLevelReturns the light level (0-100%) information of the fixture
0% - Light level is set to off
100% - Light level is set to full-on
versionPlugload version number.
voltagePlugload voltage.
activetrue – Plugload working.
false – Plugload not working.
lastCommunicationTimeTime of last communication from the sensor (YYYY-MM-DD 24HH:MM)

Sample Request

Using the sensor ID returned by the Get All Sensor Details by Floor API, request data such as power, temperature, and light level settings from the sensor with ID ‘28’. For example, request data for the last five minutes for the sensor with ID ‘28’.

GET https://192.80.3.2/ems/api/org/sensor/v3/details/28

Sample Response

{
 "sensor":[
    {
        "id": "28",
        "name": "Sensor00ce56",
        "power": "69.07",
        "temperature": "74",
        "lightLevel": "50",
        "lastCommunicationTime": "2015-07-21 15:21"
    }
 ]
}

Community

Connect and Collaborate with Industrial Professionals and Join the Community!

Click to load comments