aggregate_site_light_energy
Returns the total energy used (in Watt-hours) by all of the light nodes in the site over the specified time period.
Similar to aggregate_site_interval_facts with interval=day and interval_type=1, but sums the total energy for the entire specified time span.
Parameters
| Field | Type | Description |
|---|
| site_id | string | Unique id of site |
| start_time | integer | Start time for report (Unix Epoch format) |
| end_time | integer | End time for report (Unix Epoch format) |
Example Call
Return total energy used by site's lights from 18 June 2018 through 21 June 2018.
Example Response
{
"total_energy": 17854.643605999976
}