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:

GroupDescription
💧 Water SystempH sensors, EC meters, water level sensors, dosing pumps, water pumps
🌬️ Climate & AirTemperature, humidity, CO2 sensors, fans, heaters, air conditioners
🌱 Soil SystemSoil moisture, soil temperature, soil EC sensors
💡 LightingPAR/PPFD meters, grow lights, UV lamps
⚡ Power & ControlPower monitors, generic relay-controlled devices
🔧 OtherCustom 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

FieldRequiredDescription
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

FieldDescription
Inverted LogicReverses 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:

  1. You have a Water Pump and a Water Level Sensor (witness)
  2. Pump turns ON → system records water level: 10,000 mL
  3. Pump turns OFF → system records water level: 9,150 mL
  4. Analytics calculates: 850 mL of water was pumped

Temperature Compensation

Some sensors (like pH and EC probes) need temperature data for accurate readings.

FieldDescription
SourceFixed 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.

FieldRequiredDescription
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).

FieldRequiredDescription
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.

FieldRequiredDescription
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