def
func:energyStarUsageRead
energyStarUsageRead(conn, meterId, limit: Number.<ctor>(100))
Read consumption data for given meter. Return grid with cols:
- id: Str identifier for the consumption data item
- startDate: first Date of consumption
- endDate: last Date of consumption
- usage: Number for usage of date range
- recownership (optional): If present, the Str REC ownership status.
- energyExportedOffSite (optional): If present, the Number for the amount of energy exported off site.
It is expected for the EnergyStar web service to give us pages of data from newest dates down to oldest dates. We continue to read pages of data until no data is left or we hit our limit for rows of usage data.
meta
| def | func:energyStarUsageRead |
|---|---|
| is | func |
| lib | lib:energyStar |
| name | energyStarUsageRead |