Get monthly energy history
get_monthly_energy_historyRetrieve this month's counter history for any Domoticz device by ID or name to track energy consumption.
Instructions
Read this month's counter history. Preferred: idx.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idx | No | Numeric Domoticz idx; preferred over name when known | |
| name | No | Case-insensitive Domoticz entity name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idx | Yes | Resolved device idx | |
| Name | No | Resolved device name | |
| range | Yes | Domoticz graph range sent upstream | |
| title | No | Optional Domoticz response title | |
| period | Yes | Requested history period | |
| result | Yes | Normalized history samples | |
| status | Yes | Status returned by Domoticz, normally OK | |
| summary | Yes | Aggregate statistics for the returned samples | |
| include_instantaneous | Yes | Whether instantaneous samples were requested |