smart-me AG Smart Me Device Configuration API

The SmartMeDeviceConfiguration API from smart-me AG — 2 operation(s) for smartmedeviceconfiguration.

GitHub OpenAPI

Operations 2

GET /SmartMeDeviceConfiguration/{id} Gets the configuration of a smart-me device #
POST /SmartMeDeviceConfiguration Sets the configuration of a smart-me device. The device needs to be online #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/smart-me-com:smart-me-com-smartmedeviceconfiguration-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

smart-me-com-smartmedeviceconfiguration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: smart-me Smart Me Device Configuration API
  version: v1
security:
- OAuth2: []
- Basic: []
tags:
- name: SmartMeDeviceConfiguration
paths:
  /SmartMeDeviceConfiguration/{id}:
    get:
      tags:
      - SmartMeDeviceConfiguration
      summary: Gets the configuration of a smart-me device
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SmartMeDeviceConfigurationContainer'
            application/json:
              schema:
                $ref: '#/components/schemas/SmartMeDeviceConfigurationContainer'
            text/json:
              schema:
                $ref: '#/components/schemas/SmartMeDeviceConfigurationContainer'
      operationId: getSmartMeDeviceConfigurationById
      x-operation-id-source: derived
  /SmartMeDeviceConfiguration:
    post:
      tags:
      - SmartMeDeviceConfiguration
      summary: Sets the configuration of a smart-me device. The device needs to be online
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/SmartMeDeviceConfigurationContainer'
          application/json:
            schema:
              $ref: '#/components/schemas/SmartMeDeviceConfigurationContainer'
          text/json:
            schema:
              $ref: '#/components/schemas/SmartMeDeviceConfigurationContainer'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SmartMeDeviceConfigurationContainer'
        required: true
      responses:
        '200':
          description: OK
      operationId: postSmartMeDeviceConfiguration
      x-operation-id-source: derived
components:
  schemas:
    SmartMeDeviceConfigurationContainer:
      type: object
      properties:
        id:
          type: string
          description: The ID of the device
          format: uuid
        uploadInterval:
          $ref: '#/components/schemas/UploadInterval'
        switchConfiguration:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/SwitchConfigurationContainer'
          description: The configuration for the phase switches
        outputConfiguration:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/OutputConfigurationContainer'
          description: The configuration for the external outputs
        inputConfiguration:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/InputConfigurationContainer'
          description: The configuration for the intput outputs
        showReactiveEnergy:
          type:
          - boolean
          - 'null'
          description: Shows the reactive energy values (if the meter supports it). Enabling it needs a professional license.
        enableModbusTcp:
          type:
          - boolean
          - 'null'
          description: Enables or disables Modbus TCP (if the meter supports it). Enabling it needs a professional license.
        dnsUpdateState:
          $ref: '#/components/schemas/MeterDnsUpdateEnum'
        devicePinCode:
          type:
          - string
          - 'null'
          description: PIN code to enter on a external meter (e.g. for the FNN meters)
        deviceEncryptionKey:
          type:
          - string
          - 'null'
          description: The encryption key used to decrypt messages received from an external meter (used only for the smart-me modules)
      additionalProperties: false
      description: API Container class for the meter configuration
    UploadInterval:
      enum:
      - 1
      - 2
      - 3
      - 4
      - 5
      - 6
      - 7
      - 8
      - 9
      - 10
      - 11
      - 12
      type: integer
      description: '<p>Members: </p><ul><li><i>1</i> - UploadInterval_1s</li><li><i>2</i> - UploadInterval_5s</li><li><i>3</i> - UploadInterval_10s</li><li><i>4</i> - UploadInterval_30s</li><li><i>5</i> - UploadInterval_60s</li><li><i>6</i> - UploadInterval_5min</li><li><i>7</i> - UploadInterval_15min</li><li><i>8</i> - UploadInterval_30min</li><li><i>9</i> - UploadInterval_60min</li><li><i>10</i> - UploadInterval_6h</li><li><i>11</i> - UploadInterval_12h</li><li><i>12</i> - UploadInterval_24h</li></ul>'
      format: int32
    OutputConfigurationContainer:
      type: object
      properties:
        number:
          type: integer
          description: The number of the Output. (1 for Output 1, 2 for Output 2)
          format: int32
        name:
          type:
          - string
          - 'null'
          description: The Name of the Output
        type:
          $ref: '#/components/schemas/DigitalOutputType'
        digitalOutputNoConnectionAction:
          $ref: '#/components/schemas/DigitalOutputNoConnectionAction'
        s0PulseValue:
          $ref: '#/components/schemas/S0PulseValueType'
      additionalProperties: false
      description: Configuration for the outputs of a meter (analog/digital outputs)
    S0PulseValueType:
      enum:
      - 0
      - 1
      type: integer
      description: 'S0 Pulse values for the smart-me Meters<p>Members: </p><ul><li><i>0</i> - 1''000 pulses / kWh</li><li><i>1</i> - 10''000 pulses / kWh</li></ul>'
      format: int32
    MeterDnsUpdateEnum:
      enum:
      - 0
      - 1
      - 2
      type: integer
      description: 'Enumeration for the DNS Update of a device ip<p>Members: </p><ul><li><i>0</i> - No DNS Update</li><li><i>1</i> - Do an DNS Update of the public ip address</li><li><i>2</i> - Do an DNS Update of the internal ip address</li></ul>'
      format: int32
    SwitchConfigurationContainer:
      type: object
      properties:
        number:
          type: integer
          description: The number of the phase. (e.g. 1 for Phase L1)
          format: int32
        canSwitchOff:
          type: boolean
          description: Flag if the switch can be turned off or is always on.
      additionalProperties: false
      description: The configuration for a phase switch
    DigitalOutputType:
      enum:
      - 0
      - 1
      - 2
      - 10
      - 50
      - 51
      - 9999
      type: integer
      description: '<p>Members: </p><ul><li><i>0</i> - Normal impulse output (Active Energy Import and Export)</li><li><i>1</i> - ImpulseOutputActiveEnergyImport</li><li><i>2</i> - ImpulseOutputActiveEnergyExport</li><li><i>10</i> - ImpulseOutputReactiveEnergy</li><li><i>50</i> - DigitalOutput</li><li><i>51</i> - AnalogPwmSignalOutput</li><li><i>9999</i> - Disabled</li></ul>'
      format: int32
    DigitalOutputNoConnectionAction:
      enum:
      - 0
      - 1
      - 2
      - 3
      type: integer
      description: 'Action types of a digital output when the device lost the connection.<p>Members: </p><ul><li><i>0</i> - Does nothing, keep the last state</li><li><i>1</i> - TurnOff</li><li><i>2</i> - TurnOn</li><li><i>3</i> - SetPwmValue</li></ul>'
      format: int32
    InputConfigurationContainer:
      type: object
      properties:
        number:
          type: integer
          description: The number of the Input. (1 for Input 1)
          format: int32
        name:
          type:
          - string
          - 'null'
          description: The Name of the Input
        type:
          $ref: '#/components/schemas/DigitalInputType'
        onText:
          type:
          - string
          - 'null'
          description: The visualization text for an ON action
        offText:
          type:
          - string
          - 'null'
          description: The visualization text for an OFF action
      additionalProperties: false
      description: Configuration for the input of a meter (digital inputs)
    DigitalInputType:
      enum:
      - 0
      - 1
      type: integer
      description: '<p>Members: </p><ul><li><i>0</i> - TariffInput</li><li><i>1</i> - DigitalInput</li></ul>'
      format: int32
  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