Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: smart-me Values API
version: v1
security:
- OAuth2: []
- Basic: []
tags:
- name: Values
paths:
/Values/{id}:
get:
tags:
- Values
summary: Gets all (last) values of a device
parameters:
- name: id
in: path
description: The ID of the device
required: true
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
text/plain:
schema:
$ref: '#/components/schemas/ValuesData'
application/json:
schema:
$ref: '#/components/schemas/ValuesData'
text/json:
schema:
$ref: '#/components/schemas/ValuesData'
operationId: getValuesById
x-operation-id-source: derived
components:
schemas:
ValuesData:
type: object
properties:
deviceId:
type: string
description: The ID of the device
format: uuid
date:
type: string
description: The Date of the Value
format: date-time
values:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/ValueData'
description: All values
additionalProperties: false
description: API Container for a Meter Value
ValueData:
type: object
properties:
obis:
type:
- string
- 'null'
description: 'The Obis code of this value.
A description you can find here:
http://wiki.smart-me.com/index.php/Obis_codes'
value:
type: number
description: The Value
format: double
additionalProperties: false
description: API Container for a (Device) Value
securitySchemes:
OAuth2:
type: oauth2
description: OAuth 2.0 authorization
flows:
clientCredentials:
authorizationUrl: /oauth/authorize
tokenUrl: /oauth/token
scopes:
user.read: Read the user settings
user.readwrite: Read and write the user settings
device.read: Read data from the devices
device.readswitch: Read data from the device and controll the outputs
device.readwrite: Read data from the device and add/update the values
auditlog.read: Read the audit log
partner.read: Read the device of a partner
partner.write: Read and write the device of a partner
partner.updatefirmware: Update the firmware of all devices of a partner
realtimeapi.read: Read the realtime api registrations
realtimeapi.readwrite: Read and write the realtime api registrations
oauthapp.write: Write and change of oauth applications
authorizationCode:
authorizationUrl: /oauth/authorize
tokenUrl: /oauth/token
scopes:
user.read: Read the user settings
user.readwrite: Read and write the user settings
device.read: Read data from the devices
device.readswitch: Read data from the device and controll the outputs
device.readwrite: Read data from the device and add/update the values
auditlog.read: Read the audit log
partner.read: Read the device of a partner
partner.write: Read and write the device of a partner
partner.updatefirmware: Update the firmware of all devices of a partner
realtimeapi.read: Read the realtime api registrations
realtimeapi.readwrite: Read and write the realtime api registrations
oauthapp.write: Write and change of oauth applications
Basic:
type: http
description: Basic authorization
scheme: Basic