battery_lifetime
Returns a daily time series of energy charged into the batteries and energy discharged from the batteries for a system over its lifetime. All measurements are in Watt hours. The time series includes one entry for each day from the start_date to the end_date with no gaps in the time series. If the response includes trailing zeroes, such as [909, 4970, 0, 0, 0], then no energy has been charged/discharged for the last days in the series.
Request
- Base URLhttps://api-qa2.enphaseenergy.com
- Authnone declared
- TypeScripthttps://skmtc.dev/enphase/apis/monitoring-api/docs/api/v4/systems/:system_id/battery_lifetime/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
The unique numeric ID of the system
Query parameters
Requested start date of the time series data. Defaults to the system’s operational date. If the start_date is earlier than the system’s operational_date, then the response data begins with the system operational_date as start_date. Pass as String date format YYYY-MM-DD.
End date of the time series data. Defaults to yesterday if start_date is earlier than the system’s current date; it defaults to today if start_date is the current date. Pass as String date format YYYY-MM-DD.
Response
battery_lifetime
Changes
No recorded changes to this operation across all 1 revision of this API.