get_daily_totals
Retrieve today's cumulative energy totals in kWh from your AiSEG2: generation, consumption, grid-buy, and grid-sell. Unavailable meters are returned as null.
Instructions
Read-only. Get today's cumulative energy totals (kWh) as of the AiSEG2's current day.
Returns generation, consumption, grid-buy and grid-sell totals for the day. Any meter the device reports as unavailable ("-") comes back as null.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_daily_totals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| buy_kwh | No | ||
| sell_kwh | No | ||
| generation_kwh | No | ||
| consumption_kwh | No |