Get port settings
get_port_settingsRetrieve a single port's complete settings: active mode, power, auto temperature/humidity triggers, VPD thresholds, timer cycles, and schedule window.
Instructions
Get the mode configuration of one port: active mode, on/off power, auto temperature and humidity triggers (°C / %), VPD triggers (kPa), timer and cycle durations (minutes) and the schedule window (HH:MM). Units are already converted; nothing is scaled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port number as printed on the controller (1-based). | |
| controller_id | Yes | Controller id (`id` from list_controllers). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Active mode id (atType). | |
| port | Yes | ||
| on_power | Yes | ||
| mode_name | Yes | ||
| off_power | Yes | ||
| temp_low_c | Yes | ||
| temp_high_c | Yes | ||
| vpd_low_kpa | Yes | ||
| schedule_end | Yes | ||
| vpd_high_kpa | Yes | ||
| controller_id | Yes | ||
| target_temp_c | Yes | ||
| schedule_start | Yes | HH:MM or null when disabled. | |
| target_vpd_kpa | Yes | ||
| cycle_on_minutes | Yes | ||
| humidity_low_pct | Yes | ||
| vpd_setting_mode | Yes | ||
| auto_setting_mode | Yes | 'triggers' (high/low) or 'target'. | |
| cycle_off_minutes | Yes | ||
| humidity_high_pct | Yes | ||
| target_humidity_pct | Yes | ||
| timer_to_on_minutes | Yes | ||
| timer_to_off_minutes | Yes |