Device Wizard
This wizard helps you add a new sensor or actuator, or edit an existing one. It’s a 3-step process: choose system group, select device model, then configure.
Step 1: Choose System Group
Select which part of your environment this device belongs to:
| Group | Description |
|---|---|
| 💧 Water System | pH sensors, EC meters, water level sensors, dosing pumps, water pumps |
| 🌬️ Climate & Air | Temperature, humidity, CO2 sensors, fans, heaters, air conditioners |
| 🌱 Soil System | Soil moisture, soil temperature, soil EC sensors |
| 💡 Lighting | PAR/PPFD meters, grow lights, UV lamps |
| ⚡ Power & Control | Power monitors, generic relay-controlled devices |
| 🔧 Other | Custom or uncategorized devices |
This simply organizes the device list — it doesn’t limit functionality.
Step 2: Select Device Model
Browse and select your specific device model. Each card shows:
- Device name — the model (e.g., “Atlas Scientific pH EZO”, “SHT31”, “Generic Analog Sensor”)
- Type badge — SENSOR or ACTUATOR
- Interface badge — communication protocol (Analog, I²C, UART, Modbus, etc.)
- Voltage badge — supported operating voltages (3.3V, 5V)
Note: These are device templates — pre-configured hardware profiles. If your specific model isn’t listed, use a generic template or create one in the Template Builder.
Step 3: Configure Device
General Fields
| Field | Required | Description |
|---|---|---|
| Name | ✅ | A friendly name (e.g., “Reservoir pH Sensor”, “Acid Dosing Pump”) |
| Analytics Label | ✅ | A unique short identifier used in charts, logs, and analytics. Max 25 characters. Examples: reservoir_ph, acid_pump_1. This label persists even if you rename the device. |
| Description | ❌ | Optional notes |
| Enabled | ✅ | Toggle to activate/deactivate. Disabled devices are not polled or controlled. |
| Tags | ❌ | Custom tags for organizing (e.g., “greenhouse-1”, “reservoir”). Press Enter to add. |
Resource Role
Defines what this device measures or controls. The Resource Role determines:
- Resource Tracking — how consumption is measured in Analytics → Resources
- Smart Unit Display — the system assigns the correct measurement unit automatically
- Data Grouping — charts and logs aggregate devices with the same role
Common roles: ph, ec, temperature, humidity, water, nutrient_a, nutrient_b, ph_up, ph_down, light
Actuator-Specific Settings
| Field | Description |
|---|---|
| Inverted Logic | Reverses the ON/OFF signal. Enable if the actuator turns on when it should be off. |
| Control Mode (Variants) | Some actuators support multiple operating modes (e.g., mL Dosing vs Timed Mode). |
Witness Sensor
Select a sensor that measures the effect of this actuator’s action.
Example:
- You have a Water Pump and a Water Level Sensor (witness)
- Pump turns ON → system records water level:
10,000 mL - Pump turns OFF → system records water level:
9,150 mL - Analytics calculates:
850 mLof water was pumped
Temperature Compensation
Some sensors (like pH and EC probes) need temperature data for accurate readings.
| Field | Description |
|---|---|
| Source | Fixed Value (constant temperature, simple) or External Sensor (live reading from a temperature sensor, more accurate) |
Connection — How the Device Connects
Three connection types shown as tabs:
Direct
The device is wired directly to a controller’s pins.
| Field | Required | Description |
|---|---|---|
| Controller | ✅ | Select the controller this device is physically connected to |
| Pin(s) | ✅ | Assign the specific pin(s). Only available ports of the correct type are shown. |
Tip: For I²C or UART bus protocols, the same bus pin can be shared by multiple devices.
Via Relay
The device is controlled through a relay channel (for actuators that need power switching).
| Field | Required | Description |
|---|---|---|
| Relay Module | ✅ | Select which relay module controls this device |
| Channel | ✅ | Select which relay channel (1, 2, 3…) |
Via Parent
The device inherits its hardware connection from a parent device. Used for multi-value sensors — for example, an SHT31 reads both temperature AND humidity through a single I²C connection.
| Field | Required | Description |
|---|---|---|
| Parent Device | ✅ | Select the parent sensor that this device reads through |
Troubleshooting
“Analytics Label must be unique”
- Another device already uses this label. Choose a different one.
No pins available in the dropdown
- The controller may not have ports of the required type
- Available ports may be occupied by other devices
“Port fetch failed”
- The controller may be offline. Run Refresh Status on the Hardware page.
Save button is disabled
- Check all required fields: Name, Analytics Label, Resource Role (if template requires it), and pin/relay/parent assignment