CustomDevice

Creates or updates a Custom Device or updates it's values.

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)

post/CustomDevice

Request

  • Base URL: https://api.smart-me.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.smart-me.com/CustomDevice
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token; client credentials, token URL /oauth/token)
    • HTTP basic

Request body

idstring uuid

The ID of the device

namestring nullable

The Name of the Device

serialinteger

The Serial number

valueDatestring date-time nullable

The Date of the Value (in UTC). If this is null the Server Time is used.

Response

OK

idstring uuid

The ID of the device

namestring nullable

The Name of the Device

serialinteger

The Serial number

valueDatestring date-time nullable

The Date of the Value (in UTC). If this is null the Server Time is used.

Changes

No recorded changes to this operation across all 1 revision of this API.