v1

latestOpenAPI 3.0.02026-07-14643983.3 KB
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/api/CustomDevice

Request body

Idstring

The ID of the device

Namestring

The Name of the Device

Serialinteger

The Serial number

ValueDatestring date-time

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

Response

OK

Idstring

The ID of the device

Namestring

The Name of the Device

Serialinteger

The Serial number

ValueDatestring date-time

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