Get Sensor Energy Consumption by Area

Returns the aggregate energy consumed in watt hour by all fixtures in the area for the last 15 minutes.

Request

GET https://{em_ip_address_or_hostname}/ems/api/org/fixture/v1/energy/area/{area_id} 

Parameters

Request 
em_ip_address or hostname The Enlighted Manage (EM) IP address or hostname
area_id Area identifier. Use the Area ID returned in the Get all Areas API, or in EM, select Facility > Floor > Area in the left panel, and click the Settings tab to get the Area ID.
Response 
energy Reports aggregate energy consumed in watt-hour for the last 15 minutes by the lighting fixtures in the area

Sample Code

Send a request to the Manage using the Area ID ‘9’ returned by the Get all Areas API to return the energy consumed in watt-hour for the last 15 minutes by all fixtures in the area.

Get https://192.80.3.2/ems/api/org/fixture/v1/energy/area/9

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: application/json
Content-Length: 7582
Date: Sat, 21 Jul 2015 17:06:51 GMT
{
  "energy": "250.96"
}
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Article is closed for comments.