Resources
The Resources module is the consumption accounting and inventory management system for your automation setup. It tracks how much of each physical resource — nutrients, water, pH correction solutions — your pumps and actuators have dispensed over time. It also lets you maintain a physical stock inventory so you always know how much is left and when to reorder.
Dashboard
Period Selector
| Period | Duration |
|---|---|
| 1h | Last hour |
| 6h | Last 6 hours |
| 24h (default) | Last 24 hours |
| 7d | Last 7 days |
| 30d | Last 30 days |
| All | All recorded history |
Section 1 — Tracking Profiles
Each Tracking Profile card represents one resource you are monitoring — it could be a single pump (e.g., “pH+ Pump”) or a combination of actuators (e.g., “Nutrient Solution”).
Card Elements
| Element | Description |
|---|---|
| Name | The profile name |
| Total value | Total amount dispensed in the selected period |
| Trend badge | ↑ +X% (green) / ↓ -X% (red) / → stable |
| Sparkline | Small chart showing the consumption trend |
| ⚙ Settings | Appears on hover — click to edit the profile |
Clicking a card opens the Resource Detail View — a full breakdown with charts and event logs.
Create / Edit Tracking Profile
| Field | Description |
|---|---|
| Name | A descriptive name (e.g., “pH+ Solution”, “Nutrient Mix A”). Required. |
| Icon | Emoji icon to visually identify the profile |
| Unit | Base measurement unit (e.g., ml, L). Locked after creation. |
| Stock Source | Optional link to a Stock Source. Locked after creation. |
| Sources (Device list) | Actuators whose logged activity counts toward this profile |
Unit is locked after creation. Changing units after data exists would make historical records invalid.
Section 2 — Stock Inventory
Tracks your physical supplies — bottles, containers, or reservoirs that hold the resources your pumps consume.
Stock Profile Card
| Element | Description |
|---|---|
| Days Left badge | Estimated days until this stock runs out. Green = plenty, yellow = running low, red = critical |
| Remaining | Current remaining quantity (total supplied minus total consumed) |
| Progress bar | Visual representation of remaining vs. total supplied |
| Supplied | Total cumulative amount refilled |
| Consumed | Total cumulative amount used by linked tracking profiles |
+ Refill — quickly log a new refill event from the card header.
Add Refill Dialog
| Field | Description |
|---|---|
| Amount | How much was added. Required; must be > 0 |
| Unit | Compatible units (converted to base unit automatically) |
| Date | When the refill occurred. Defaults to today. Can be backdated. |
| Note | Optional note (e.g., “New 5L bottle”) |
| Price | Optional cost for financial tracking |
Section 3 — Runtime Summary
A compact summary showing total device runtime across all actuators for the selected period.
| Element | Description |
|---|---|
| Total Runtime | Combined active time of all devices (e.g., “3h 27m”) |
| Device Count | Number of unique devices that logged activity |
| View Analysis | Opens the full Runtime Detail View |
Resource Detail View
Opened by clicking any Tracking Profile card.
Summary KPI Cards
| Card | Description |
|---|---|
| Total Consumption | Grand total dispensed in the selected period |
| Average Daily | Average consumption per day |
| Peak Day | The day with the highest single-day consumption |
| Est. Days Left | Only shown if linked to a stock source — how many days remain at current rate |
Consumption Profile Chart
Area chart showing consumption over time. X axis adapts format based on the time range.
Event History Table
| Column | Description |
|---|---|
| Date & Time | Exact timestamp of the event |
| Window | The time window during which this event occurred |
| Device / Actuator | The physical device that performed the action |
| Duration | How long the actuator was active |
| Amount Consumed | Volume dispensed in this event |
Runtime Detail View
Per-device breakdown of how long each actuator ran and its estimated energy consumption.
- Enter Watts per device to see estimated kWh for the period
- Pie chart — proportional share of total runtime per device
- Bar chart — runtime per device for direct comparison
Key Concepts
| Concept | Meaning |
|---|---|
| Tracking Profile | A logical grouping of actuators whose combined consumption you track |
| Stock Source | A physical container that gets depleted as the linked profile consumes |
| Refill | A recorded replenishment event |
| Days Left | Estimated based on average daily consumption and current remaining quantity |
| Unit lock | Once created, the unit cannot be changed. Display units (from Settings) are separate from storage units |