====== Create / Edit Sensor ======
The request is intended to create or edit sensor for unit.
=== Request Example ===
&svc=edit_sensor¶ms={
"id_unit": integer,
"sensor_type": string,
"sensor_name": string,
"msg_param": string,
"conversion": string,
"measure": string
}
=== Parameters ===
^ 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: "id_sensor"
=== Server Response ===
== Result: ==
{
"id_sensor": "74336" // Sensor ID
}