Create / Edit Sensor

The request is intended to create or edit sensor for unit.

Request Example

    "id_unit": integer,
    "sensor_type": string,
    "sensor_name": string,
    "msg_param": string,
    "conversion": string,
    "measure": string


Parameter Desciption
id_unit Unique Unit ID
sensor_type Sensor Type
sensor_name Sensor Name
msg_param Sensor Parameters
conversion Conversion
measure Measure

Additional Information

To edit an existing sensor add a parameter:


Server Response

    "id_sensor": "74336" // Sensor ID