Hardware Management

The Hardware page is your central hub for all physical devices connected to the system. From here you manage everything that is wired or connected — controllers, relay modules, sensors and actuators.


What You See

The page is organized into three tabs across the top:

TabWhat It Contains
DevicesAll sensors and actuators — the things that read values and perform actions
RelaysRelay modules that switch power to your actuators
ControllersThe microcontroller boards (Arduino, ESP32) that connect to everything

The Right Order — Setting Up Hardware

Before you can read sensors or control pumps, add hardware in this order:

  1. Controller first — the board that talks to the physical world
  2. Relay module (only if you have actuators) — switches power to pumps, lights, heaters
  3. Devices last — sensors and actuators, each linked to a controller

Why this order? A device needs a controller to communicate through. A relay needs a controller to receive commands from. Without a controller, nothing works.


Global Actions (Always Visible)

ButtonWhat It Does
Refresh StatusPings all controllers and updates their online/offline status.
Scan NetworkSends a UDP broadcast to find controllers on your local network automatically.
Firmware BuilderOpens the firmware configuration tool for generating controller firmware.
Template BuilderOpens the device template editor for creating custom sensor/actuator profiles.

Tab: Devices

The Devices tab lists every sensor and actuator in your system.

Device Actions

ActionWhat It Does
⋯ Actions MenuOpens a dropdown with Monitor, Calibration, History, Settings, Edit, and Delete.
🔄 RefreshReads this specific sensor immediately and updates the table.

Device Statuses

StatusMeaningWhat To Do
🟢 OnlineDevice is responding normallyNothing — all good
🔴 OfflineDevice is not respondingCheck wiring, controller status, and pin assignment
🥶 FrozenSensor returns the same value repeatedlyCheck if the probe is properly placed/submerged

Tab: Relays

The Relays tab manages relay modules — electronic switching boards that control power to actuators.

Important: Sensors do NOT need relays. Only actuators that switch power need a relay channel assigned.


Tab: Controllers

Connection TypeWhen To UseWhat You Need
Serial (USB)Controller plugged directly into the serverUSB cable, correct COM port
Network (UDP)Controller on the same local Wi-Fi or LANIP address and port (default: 8888)
MQTTController communicating via MQTT brokerMQTT broker address and topic

Network Discovery

The Scan Network button sends a UDP broadcast. When a controller is found:

  • If it’s new — you’re offered to add it as a new controller
  • If it matches an existing MAC — you can update its IP address
  • If it’s unlinked — you can link it to an existing controller entry

Troubleshooting

Device shows “Offline”

  • Check the physical connection (cable, pin, wiring)
  • Run Refresh Status to re-ping all controllers

Device shows “Frozen”

  • The sensor is returning the same value repeatedly — possible probe issue
  • Run a manual Test to confirm

No controllers appear after Scan Network

  • Ensure the controller and server are on the same network/subnet
  • Verify no firewall is blocking UDP port 8888