smartMeterTelemetry
Query telemetry data collected by the CAD associated with the provided ESME or GSME device ID.
If only the smart meter device ID is provided, the latest data available will be returned.
Additionally including the range options (start, end, and grouping) will return the data for that time period, at the desired granularity.
Arguments
The ESME or GSME's EUI64 ID, e.g. '12-34-5A-FF-FF-6B-C7-89'
The end time of the range of readings (exclusive), e.g. '2022-01-28T16:34:42+00:00'. If no UTC timezone offset is included, UTC (+00:00) will be assumed.
The granularity of the returned data. The representative data item (e.g. consumption) for each group (e.g. every 5 minutes) will be the mean value over that period.
The start time of the range of readings (inclusive), e.g. '2022-01-28T16:33:22+00:00'. If no UTC timezone offset is included, UTC (+00:00) will be assumed.
Returns
[SmartMeterTelemetryType]Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-7899: An internal error occurred.
- KT-GB-4039: Unable to query smart meter telemetry data.
- KT-GB-4040: 'start', 'end', and 'grouping' must all be provided.
- KT-GB-4041: 'end' should be later than 'start'.
- KT-GB-4042: Too many requests. Please wait before trying again.
- KT-GB-4043: A network error occurred. Please try again.
- KT-GB-4050: Smart meter not found.
- KT-GB-4051: The start of the range is too far in the past.
- KT-GB-4056: No Device Network (HAN) record found for the device.
Allowed Viewers
Required Permissions
Can view detailed usageRate Limits
| Key | Steps |
|---|---|
user |
['125/h'] |
Query Complexity
1Examples
query SmartMeterTelemetry(
$deviceId: String!,
$end: DateTime,
$grouping: TelemetryGrouping,
$start: DateTime
) {
smartMeterTelemetry(
deviceId: $deviceId,
end: $end,
grouping: $grouping,
start: $start
) {
consumption
consumptionDelta
costDelta
costDeltaWithTax
demand
export
readAt
}
}
Variables
{
"deviceId": "35759942",
"end": "2007-07-08T04:14:31.255350+00:00",
"grouping": "TEN_SECONDS",
"start": "1992-01-19T17:55:47.836951+00:00"
}
Response
{
"data": {
"smartMeterTelemetry": [
{
"consumption": "1.0",
"consumptionDelta": "1.0",
"costDelta": "1.0",
"costDeltaWithTax": "1.0",
"demand": "1.0",
"export": "1.0",
"readAt": "2005-09-15T19:39:17.336227+00:00"
}
]
}
}