Tibber · Schema

Tibber Consumption

One bucket of historical consumption returned by the GraphQL `home.consumption` connection at HOURLY, DAILY, WEEKLY, MONTHLY, or ANNUAL resolution.

EnergySmartHomeSmartMeterElectricityPricingElectricVehicleChargingHeatPumpSolarInverterHomeBatteryGraphQLOAuth2Nordic

Properties

Name Type Description
from string
to string
unitPrice number
unitPriceVAT number
consumption number Energy consumed in the bucket.
consumptionUnit string
totalCost number
unitCost number
cost number
currency string
View JSON Schema on GitHub

JSON Schema

tibber-consumption-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tibber/main/json-schema/tibber-consumption-schema.json",
  "title": "Tibber Consumption",
  "description": "One bucket of historical consumption returned by the GraphQL `home.consumption` connection at HOURLY, DAILY, WEEKLY, MONTHLY, or ANNUAL resolution.",
  "type": "object",
  "required": ["from", "to"],
  "properties": {
    "from": { "type": "string", "format": "date-time" },
    "to": { "type": "string", "format": "date-time" },
    "unitPrice": { "type": "number" },
    "unitPriceVAT": { "type": "number" },
    "consumption": { "type": "number", "description": "Energy consumed in the bucket." },
    "consumptionUnit": { "type": "string", "examples": ["kWh"] },
    "totalCost": { "type": "number" },
    "unitCost": { "type": "number" },
    "cost": { "type": "number" },
    "currency": { "type": "string" }
  }
}