The request is intended to create or edit sensor for unit.
&svc=edit_sensor¶ms={ "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 |
To edit an existing sensor add a parameter:
"id_sensor"
{ "id_sensor": "74336" // Sensor ID }