vrm_get_stats
Retrieve time-series data for solar production, battery usage, consumption, energy yield, and forecasts from Victron VRM installations.
Instructions
Get time-series data for solar production, battery usage, consumption, energy yield, and forecasts over time.
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": {
"siteId": "<siteId>",
"type": "<type>"
},
"name": "vrm_get_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Installation/site ID | |
| type | Yes | Type of stats to retrieve | |
| interval | No | Time interval (e.g., '15mins', 'hours', 'days') | 15mins |
| start | No | Start time as epoch milliseconds | |
| end | No | End time as epoch milliseconds | |
| attributeCodes | No | Array of attribute codes to filter specific data points | |
| show_instance | No | Whether to show device instance information in response |