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:
| Tab | What It Contains |
|---|---|
| Devices | All sensors and actuators — the things that read values and perform actions |
| Relays | Relay modules that switch power to your actuators |
| Controllers | The 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:
- Controller first — the board that talks to the physical world
- Relay module (only if you have actuators) — switches power to pumps, lights, heaters
- 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)
| Button | What It Does |
|---|---|
| Refresh Status | Pings all controllers and updates their online/offline status. |
| Scan Network | Sends a UDP broadcast to find controllers on your local network automatically. |
| Firmware Builder | Opens the firmware configuration tool for generating controller firmware. |
| Template Builder | Opens 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
| Action | What It Does |
|---|---|
| ⋯ Actions Menu | Opens a dropdown with Monitor, Calibration, History, Settings, Edit, and Delete. |
| 🔄 Refresh | Reads this specific sensor immediately and updates the table. |
Device Statuses
| Status | Meaning | What To Do |
|---|---|---|
| 🟢 Online | Device is responding normally | Nothing — all good |
| 🔴 Offline | Device is not responding | Check wiring, controller status, and pin assignment |
| 🥶 Frozen | Sensor returns the same value repeatedly | Check 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 Type | When To Use | What You Need |
|---|---|---|
| Serial (USB) | Controller plugged directly into the server | USB cable, correct COM port |
| Network (UDP) | Controller on the same local Wi-Fi or LAN | IP address and port (default: 8888) |
| MQTT | Controller communicating via MQTT broker | MQTT 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