Set auto triggers
set_auto_triggersConfigure Auto-mode temperature and humidity triggers for a controller port by setting threshold values and enabling or disabling each trigger.
Instructions
Configure Auto-mode temperature/humidity triggers. Each trigger has a value and an enabled flag; pass only what should change. Temperatures are °C (the °F twin is derived).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port number as printed on the controller (1-based). | |
| activate | No | Also switch the port into Auto mode. | |
| temp_low_c | No | Turn on below this °C. | |
| temp_high_c | No | Turn on above this °C; null = unchanged. | |
| 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. | |
| humidity_low_pct | No | ||
| temp_low_enabled | No | ||
| humidity_high_pct | No | ||
| temp_high_enabled | No | ||
| humidity_low_enabled | No | ||
| humidity_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 |