Power history
get_curveRetrieve power and SOC history for a site: 5-minute points for one local day or daily values over 7 or 30 days.
Instructions
Power and SOC history of a site: 5-minute points for one local day, or daily values over the last 7 or 30 days. Returns times (UTC), local_times, and series per channel (pv, load, battery, grid, soc). Large: summarise before quoting. For the reading right now use get_status.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site_id": "<site_id>"
},
"name": "get_curve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | With range 1d: the local calendar day, YYYY-MM-DD. Omitted = today. | |
| range | No | 1d = 5-minute points for one local day; 7d / 30d = one value per day. | 1d |
| site_id | Yes | Site id from list_sites: vendor:station_id, e.g. sungrow:1445844. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||