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 | |
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 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 | |
energy | Reports energy consumed in watt-hour for the last 15 minutes by the lighting fixture |
Sample Code
Send a request to the EM using the Fixture ID ‘28’ 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 |
Comments
Article is closed for comments.