smart-me AG Custom Device API
The CustomDevice API from smart-me AG — 2 operation(s) for customdevice.
The CustomDevice API from smart-me AG — 2 operation(s) for customdevice.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/smart-me-com:smart-me-com-customdevice-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: smart-me Custom Device API
version: v1
security:
- OAuth2: []
- Basic: []
tags:
- name: CustomDevice
paths:
/CustomDevice:
get:
tags:
- CustomDevice
summary: Gets all Custom Devices
description: Gets all Devices
responses:
'200':
description: OK
content:
text/plain:
schema:
type: array
items:
$ref: '#/components/schemas/CustomDeviceToPost'
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/CustomDeviceToPost'
text/json:
schema:
type: array
items:
$ref: '#/components/schemas/CustomDeviceToPost'
operationId: getCustomDevice
x-operation-id-source: derived
post:
tags:
- CustomDevice
summary: Creates or updates a Custom Device or updates it's values
description: 'Creates or updates a Custom Device or updates it''s values.
A Custom Device can be any device that like to add some measurement values to the smart-me Cloud.
Only use a custom device for all non meters.
For a new device leave the ID empty. To create a device you have to set the DeviceEnergyType.
To update values, add the ID of the device and the values you like to set. (See the Data Type Model for more Information)'
requestBody:
description: Device object with all the data
content:
application/json-patch+json:
schema:
$ref: '#/components/schemas/CustomDeviceToPost'
application/json:
schema:
$ref: '#/components/schemas/CustomDeviceToPost'
text/json:
schema:
$ref: '#/components/schemas/CustomDeviceToPost'
application/*+json:
schema:
$ref: '#/components/schemas/CustomDeviceToPost'
required: true
responses:
'200':
description: OK
content:
text/plain:
schema:
$ref: '#/components/schemas/CustomDeviceToPost'
application/json:
schema:
$ref: '#/components/schemas/CustomDeviceToPost'
text/json:
schema:
$ref: '#/components/schemas/CustomDeviceToPost'
'401':
description: Unauthorized
operationId: postCustomDevice
x-operation-id-source: derived
/CustomDevice/{id}:
get:
tags:
- CustomDevice
summary: Gets a Custom Device by it's ID
description: Gets a Device by it's ID
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/CustomDeviceToPost'
application/json:
schema:
$ref: '#/components/schemas/CustomDeviceToPost'
text/json:
schema:
$ref: '#/components/schemas/CustomDeviceToPost'
operationId: getCustomDeviceById
x-operation-id-source: derived
components:
schemas:
CustomDeviceToPost:
type: object
properties:
id:
type: string
description: The ID of the device
format: uuid
name:
type:
- string
- 'null'
description: The Name of the Device
serial:
type: integer
description: The Serial number
format: int64
values:
type:
- array
- 'null'
items:
$ref: '#/components/schemas/CustomDeviceValues'
description: The Values of the custom Device
valueDate:
type:
- string
- 'null'
description: The Date of the Value (in UTC). If this is null the Server Time is used.
format: date-time
additionalProperties: false
description: Container Class for the Web API
CustomDeviceValues:
type: object
properties:
name:
type:
- string
- 'null'
description: The Name of the Value.
value:
type: number
description: The Value
format: double
additionalProperties: false
description: Container Class for the Custom Device Values
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