Set VPD triggers
set_vpd_triggersConfigure VPD high/low trigger values in kPa for a controller port, with optional activation of VPD mode, to control equipment based on vapor pressure deficit.
Instructions
Configure VPD-mode high/low triggers in kPa (one decimal). Pass only what should change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port number as printed on the controller (1-based). | |
| activate | No | Also switch the port into VPD mode. | |
| vpd_low_kpa | No | Turn on below this VPD (kPa). | |
| vpd_high_kpa | No | Turn on above this VPD (kPa). | |
| controller_id | Yes | Controller id (`id` from list_controllers). | |
| user_authorized | No | Must be true. Set only after the user explicitly approved this exact change. | |
| vpd_low_enabled | No | ||
| vpd_high_enabled | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| port | Yes | ||
| changed | Yes | API keys that were written, in API units. | |
| controller_id | Yes |