update_sensor_settings
Modify ZONT sensor thresholds, notifications, and calibration, then verify the changes by rereading the device configuration.
Instructions
Изменить настройки датчика (пороги, уведомления, калибровка).
Параметры: device_id: идентификатор устройства. sensor_type: раздел конфигурации: wired_temperature_sensors, analog_temperature_sensors, radiosensors или analog_inputs. sensor_id: идентификатор датчика в этом разделе. settings: поля для изменения, например: {"upper_threshold": 30, "lower_threshold": 10, "calibration_shift": -0.5}
Инструмент проверяет применение перечитыванием конфигурации (запись выполняется методом save_z3k_config — целиком весь конфиг, как это делает официальное веб-приложение).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device_id": "<device_id>",
"sensor_type": "<sensor_type>",
"sensor_id": "<sensor_id>",
"settings": "<settings>"
},
"name": "update_sensor_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settings | Yes | ||
| device_id | Yes | ||
| sensor_id | Yes | ||
| sensor_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |