{
"api_description": "The standardised and verified data that the smart meter can deliver. The number of entries returned is optional. The data is added with a frequency of 10 seconds. Data is ordered on timestamp.",
"api_options": "limit {default all, >0 } number of entries returned, sort (on timestamp) {default desc, asc} sort on timestamp, json {default array, object} json output options see https://www.json.org/, round (default off, on} round to the nearest integer, no fractions in the output, starttime (default now, YYYY-MM-DD HH:MM:SS } from which moment in time data should retrieved",
"api_status": "production",
"api_usage": "/api/v1/smartmeter?limit=10&sort=asc&json=object&round=on&starttime=2018-01-03 12:03:55, /api/v1/smartmeter, /api/v1/smartmeter/help",
"api_version": 1,
"fields": [
{
"description": "Time in format yyyy-mm-dd hh:mm:ss",
"name": "TIMESTAMP_lOCAL",
"type": "string"
},
{
"description": "UTC timestamp",
"name": "TIMESTAMP_UTC",
"type": "integer"
},
{
"description": "Record is processed into the database. 1 is done, 0 is to do.",
"name": "RECORD_IS_PROCESSED",
"type": "integer"
},
{
"description": "Consumption of KWH during low (dal) period. Meter code 181.",
"name": "CONSUMPTION_KWH_LOW",
"type": "number or integer depending on the format specifier used."
},
{
"description": "Consumption of KWH during high (piek) period. Meter code 182.",
"name": "CONSUMPTION_KWH_HIGH",
"type": "number or integer depending on the format specifier used."
},
{
"description": "Production of KWH during low (dal) period. Meter code 281.",
"name": "PRODUCTION_KWH_LOW",
"type": "number or integer depending on the format specifier used."
},
{
"description": "Production of KWH during high (piek) period. Meter code 282.",
"name": "PRODUCTION_KWH_HIGH",
"type": "number or integer depending on the format specifier used."
},
{
"description": "High or low period for production of consumption of kWh. Low = D, High = P",
"name": "TARIFCODE",
"type": "string"
},
{
"description": "The consumption in Watt at this moment.",
"name": "CONSUMPTION_W",
"type": "number or integer depending on the format specifier used."
},
{
"description": "The production in Watt at this moment.",
"name": "PRODUCTION_W",
"type": "number or integer depending on the format specifier used."
},
{
"description": "Consumption of gas in M3.",
"name": "CONSUMPTION_GAS_M3",
"type": "number or integer depending on the format specifier used."
}
]
}
http://ipaddress/api/v1/smartmeter?limit=1
Results in JSON:
[["2020-06-21 22:19:10", 1592770750, 0, 3159.574, 3803.609, 0.0, 0.0, "D", 288, 0, 2733.716]]
Field definitions from help;
{ "api_description": "The standardised and verified data that the smart meter can deliver. The number of entries returned is optional. The data is added with a frequency of 10 seconds. Data is ordered on timestamp.", "api_options": "limit {default all, >0 } number of entries returned, sort (on timestamp) {default desc, asc} sort on timestamp, json {default array, object} json output options see https://www.json.org/, round (default off, on} round to the nearest integer, no fractions in the output, starttime (default now, YYYY-MM-DD HH:MM:SS } from which moment in time data should retrieved", "api_status": "production", "api_usage": "/api/v1/smartmeter?limit=10&sort=asc&json=object&round=on&starttime=2018-01-03 12:03:55, /api/v1/smartmeter, /api/v1/smartmeter/help",
"api_version": 1,
"fields": [
{
"description": "Time in format yyyy-mm-dd hh:mm:ss",
"name": "TIMESTAMP_lOCAL",
"type": "string"
},
{
"description": "UTC timestamp",
"name": "TIMESTAMP_UTC",
"type": "integer"
},
{
"description": "Record is processed into the database. 1 is done, 0 is to do.",
"name": "RECORD_IS_PROCESSED",
"type": "integer"
},
{
"description": "Consumption of KWH during low (dal) period. Meter code 181.",
"name": "CONSUMPTION_KWH_LOW",
"type": "number or integer depending on the format specifier used."
},
{
"description": "Consumption of KWH during high (piek) period. Meter code 182.",
"name": "CONSUMPTION_KWH_HIGH",
"type": "number or integer depending on the format specifier used."
},
{
"description": "Production of KWH during low (dal) period. Meter code 281.",
"name": "PRODUCTION_KWH_LOW",
"type": "number or integer depending on the format specifier used."
},
{
"description": "Production of KWH during high (piek) period. Meter code 282.",
"name": "PRODUCTION_KWH_HIGH",
"type": "number or integer depending on the format specifier used."
},
{
"description": "High or low period for production of consumption of kWh. Low = D, High = P",
"name": "TARIFCODE",
"type": "string"
},
{
"description": "The consumption in Watt at this moment.",
"name": "CONSUMPTION_W",
"type": "number or integer depending on the format specifier used."
},
{
"description": "The production in Watt at this moment.",
"name": "PRODUCTION_W",
"type": "number or integer depending on the format specifier used."
},
{
"description": "Consumption of gas in M3.",
"name": "CONSUMPTION_GAS_M3",
"type": "number or integer depending on the format specifier used."
}
]
}