Get Sensor Energy Consumption¶
Reports energy consumed in watt-hour for the last 15 minutes by the fixture.
Request¶
GET https://{em_ip_address_or_hostname}/ems/api/org/fixture/v1/energy/{fixture_id}
Parameters¶
Request¶
Name | Description |
---|---|
em_ip_address_or_hostname | The Manage 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¶
Name | Description |
---|---|
energy | Reports energy consumed in watt-hour for the last 15 minutes by the lighting fixture |
Sample Request¶
Send a request using the Fixture ID returned by the Get Sensor Details by Floor API to return the energy consumed in watt-hour for the last 15 minutes.
GET https://192.80.3.2/ems/api/org/fixture/v1/energy/28
Sample Response¶
{
"energy": "50.96"
}