System User Guide
1. SuperBox System Overview
Think of SuperBox as a smart, always-on factory watchman — it continuously listens, records, and alerts you the moment something unusual happens with your machines or power supply.
A small device is attached to each machine on your factory floor. It constantly measures key indicators — like a doctor monitoring a patient's vitals — and sends that data to your web dashboard over Wi-Fi. You can see everything live from your phone or computer without setting foot on the shop floor.
See everything, anytime
How much power is being used? Is the machine running or idle? Any temperature spikes? All of this is visible on one screen, updated live.Know before machines break
The system analyses the subtle vibrations of each motor. When something seems off — even before you can hear or feel it — SuperBox alerts you early so you can plan maintenance and avoid unexpected shutdowns.Your data, yours alone
Every business using SuperBox has its own completely separate data space. Nobody — not even other customers — can see your operational data.2. Device Activation & Installation
Setting up a new SuperBox device is simple — just 3 basic steps, like setting up a new Wi-Fi router at home:
🖥️ Step 1: Get Organization Credentials from Portal
You don't need to manually create devices on the system — the Web Portal will automatically register the device once it connects to the network. Before installing, obtain 3 credentials from your account:
- Log in to SuperBox, and navigate to your Profile page by clicking your email address in the top-right corner.
- Click the Settings button → select the Integrations tab.
- Copy the Organization Slug, Username, and Password by clicking the 📋 button next to each credential.
📶 Step 2: Connect the Device to Factory Wi-Fi
On initial power-up, the device broadcasts its own temporary Wi-Fi network. Connect to this network with your phone or PC to configure factory Wi-Fi credentials and account credentials:
- Power on the device. On your phone/PC, find the Wi-Fi SSID SuperBox_AABBCC and connect.
Password: capitalizedESP+ the last 6 characters on the device label (e.g.ESPAABBCC) - Open your web browser and navigate to http://192.168.4.1 to load the configuration page.
- Select your factory Wi-Fi SSID, enter the Wi-Fi password, and paste the Organization Slug, Username, and Password copied in Step 1. Click Save Configuration.
🔍 Step 3: Check Status LEDs and Perform Mechanical Mounting
After saving, the device will reboot and attempt to connect. Observe the status LEDs on the enclosure to confirm status:
- Solid Green LED: Successfully connected to Wi-Fi and MQTT Broker. The device is measuring and shows as Online on the Web Portal.
- Blinking/Solid Yellow LED: The device is establishing connections (See the LED status table below for details).
- Blinking Red LED: Measurement error or disconnected sensor cables. Turn off power and check all sensor cable connections.
3. Status LED Signals
The SuperBox device is equipped with three colored status LEDs (Red, Yellow, Green) to help operators debug connection states and hardware errors directly on-site:
| LED Signal | Device State | Description & Troubleshooting |
|---|---|---|
| ⚫ All LEDs Off | Booting | The device is loading its firmware program on power-up. If it stays off, check the power supply. |
| 🟡 Yellow Slow Blink (1Hz) | Provisioning | Broadcasting the configuration Wi-Fi AP. Complete Step 2 to configure the network. |
| 🟡 Yellow Fast Blink (5Hz) | Wi-Fi Connecting | Attempting to locate and connect to the factory Wi-Fi SSID using saved credentials. |
| 🟡 Solid Yellow | MQTT Connecting | Wi-Fi connected with IP assigned. Currently handshaking with the secure MQTT Broker. |
| 🟢 Solid Green | Running | Connection successful. The device is publishing sensor telemetry data to the server. |
| 🔴 Red Slow Blink | Safe Mode | The device entered safe mode due to a critical firmware crash. Contact support to re-flash. |
| 🔴 Red Fast Blink | Measurement Error | Lost physical connection to a sensor, or a measured value exceeded a configured threshold. |
| 🟡 Yellow Rapid Blink | Reset Holding | The hardware reset button is being held down. Release to proceed or keep holding to factory reset. |
| ⚪ All LEDs Rapid Blink | Factory Reset | Erasing all saved Wi-Fi and credential data. The device will reboot into Provisioning mode. |
4. Remote Firmware Update (OTA)
When firmware updates or bug patches are released, you can upgrade devices remotely from the Web Portal without disconnecting or opening the enclosure:
🔄 How to perform an OTA update:
- Navigate to the Devices tab on the main sidebar.
- Click on the target device name to open its detail page.
- In the Firmware Info panel, select the target software version from the dropdown, then click Update Firmware.
- Confirm the prompt to dispatch the remote upgrade command.
⏳ Monitoring the update progress:
Once dispatched, the device detail page dynamically displays a real-time update monitoring card (powered by Turbo Streams):
5. Electrical & Environmental Monitoring
SuperBox monitors raw electrical parameters and local environmental conditions inside your electrical panels to catch anomalies before they cause damage or safety hazards:
⚡ Electrical Parameters (PZEM Sensor)
| Metric | Unit | Practical Description |
|---|---|---|
| ⚡ Voltage | V | Input electrical pressure. Voltage spikes or sags shorten equipment lifespan and can cause components to burn out. |
| 🔌 Current | A | The electrical flow drawn by the machine. Sudden increases suggest mechanical overload or electrical faults. |
| 💡 Active Power | W | Real energy consumed to perform work. This is the direct factor on your monthly utility bill. |
| 📊 Power Factor | 0.00 – 1.00 | Efficiency indicator — ideal value is close to 1.0. A low value (under 0.85) indicates wasted power capacity. |
| 🔋 Energy | kWh | Cumulative energy consumption used for billing. SuperBox breaks this down by EVN Peak, Normal, and Off-Peak brackets. |
🌡️ Environmental Parameters (AHT20 Sensor)
| Metric | Unit | Practical Description |
|---|---|---|
| 🌡️ Cabinet Temperature | °C | Ambient temperature inside the electrical cabinet. High temperatures degrade electronics and reduce lifespan. |
| 💧 Cabinet Humidity | % | Relative humidity. Excessively high humidity causes condensation and corrosion; low humidity risks static discharge. |
⚙️ Machine Operational State Logic
To compute overall equipment effectiveness (OEE) and operational metrics, SuperBox automatically synthesizes Active Power (W) and Vibration RMS (G) into one of three states:
This metric counts how many times the machine transitioned from Active (🟢 Running) to Idle (🟡 Waiting) during the day — i.e. every time an active machining operation was interrupted. The system scans each 5-minute window in chronological order; whenever it detects an Active → Idle sequence, the counter increments by 1. Connectivity gaps (slots with no sensor data) are skipped and do not affect the result.
6. Machine Health Monitoring (Vibration)
An ADXL345 vibration sensor is mounted to your machine's enclosure, listening to microscopic structural vibrations. The system analyzes these to detect mechanical issues and compute a health score:
| Metric | Formula / Physical Basis | Diagnostic Purpose |
|---|---|---|
| RMS (Z-axis) | Root Mean Square of acceleration amplitude on the Z-axis. | Reflects overall vibration energy. Steady increases indicate unbalance, misalignment, or structural looseness. |
| Kurtosis (Z-axis) | Statistical measure of the 'peakedness' of the vibration signal. | Extremely sensitive to early bearing defects, showing sharp spike spikes before overall energy rises. |
| Crest Factor | The ratio of Peak acceleration to RMS acceleration. | Detects severe localized impacts (e.g., chipped gear teeth or damaged bearing races). |
Predictive Maintenance (PdM) Health Score
The system rates your machine's overall mechanical health on a scale of 0-100 by referencing RMS vibration measurements against the ISO 10816 baseline standard:
Recommended Actions by Score
| Score | Status | Recommended Action |
|---|---|---|
| 90 – 100 | Operating normally | No action needed; continue routine monitoring. |
| 70 – 89 | Early watch | Increase bearing inspection frequency. |
| 50 – 69 | Maintenance required | Schedule maintenance within 2 weeks. |
| < 50 | Critical | Stop machine and perform urgent technical inspection. |
7. Threshold Settings & Notifications
The system dispatches multi-channel alerts to operators to ensure early detection of mechanical wear or electrical faults.
Notification Channels Gated by Subscription Plan:
- Starter Plan: Only receive alerts via Email and mobile push notifications. This is the no-cost base tier.
- Standard & Professional Plans: Receive alerts via Email, mobile push notifications, and Telegram.
- Enterprise Plan: Unlock all channels (Email, mobile push notifications, Telegram, Discord, Slack, MS Teams, and Messenger).
How to set up alerts:
- Select the target device from the Devices page.
- Navigate to 'Alert Configuration'.
- Set your thresholds — these values are user-defined to fit each machine type. Example values:
- Cabinet Overtemperature: AHT20 > 60°C
- High Vibration RMS: ADXL345 RMS > 4.5 G
- Overcurrent Alert: Current exceeds rated load amperage
- Link your Telegram, Discord, Slack, MS Teams, or Messenger account in your Account Settings to receive instant notifications (subject to subscription plan limits).
- 🔊 Green Speaker: Notifications are enabled.
- 🔇 Gray Speaker: All alerts/notifications for this device are muted.
⚠️ Alert Severity Levels (Warning vs Critical)
The alert engine automatically escalates severity based on how far a parameter exceeds your thresholds:
| Parameter | Warning Severity | Critical Severity |
|---|---|---|
| Voltage | Exceeds your [Min, Max] thresholds | Voltage exceeds > 105% of Max or drops below < 95% of Min |
| Current & Power | Exceeds the configured Max threshold | Value exceeds > 120% of the configured Max threshold |
| Temperature | Exceeds the configured Max threshold | Temperature exceeds the configured Max threshold by + 10°C |
| Vibration (RMS) | Exceeds the configured Max threshold | Value exceeds > 200% of the configured Max threshold |
🔇 Quiet Hours & Alert Cooldown
Keep notifications under control and avoid alert fatigue with built-in timing configurations:
Quiet Hours Mode
Define a block of time (e.g. 22:00 to 06:00) during which notifications are suppressed. You can toggle "Bypass Critical Alerts" to ensure that Critical severity alerts still reach you immediately even during quiet hours.Alert Cooldown Period
If a parameter repeatedly crosses a threshold within a short time, SuperBox will notify you once and then cool down for a user-specified interval (adjustable from 1 minute to 24 hours, default 5 minutes) before dispatching another notification for the same issue.8. Reports & Data Exports
SuperBox provides intuitive tools to monitor device performance over time and export historical records into spreadsheets:
Energy Report
Tracks cumulative active energy consumption (kWh), average power factor (cosφ), CO₂ emissions, and estimated energy costs calculated using EVN schedules or flat rates.
Operational Report
Monitors actual running time, idle time, and stopped durations (measured in minutes) to analyze equipment utilization rates and OEE indicators.
Diagnostic Report
Compiles historical alert occurrences, tracks trends in vibration acceleration, and records peak temperature and humidity readings inside the cabinet.
📁 Exporting Historical Data (CSV files):
- Navigate to the Reports tab in the main sidebar.
- Select your desired report type: Energy, Operational, or Diagnostic.
- Choose the Target Device and the Date Range (subject to your plan's history limits). Multiple devices can be selected at once; long device names are automatically truncated in the dropdown for a cleaner UI.
- Click Generate Report (select CSV format). The system processes the request in the background using a tiered snapshot mechanism, ensuring accurate figures even over long time ranges.
- Visit the Export Results tab to download your CSV spreadsheet once ready.
| Plan | File Retention | Storage Limit |
|---|---|---|
| Starter | 7 days | 50 MB |
| Standard | 15 days | 200 MB |
| Professional | 30 days | 1 GB |
| Enterprise | 90 days | 5 GB |
⏱️ Scheduled Automated Reports:
Automate your workflow without manual logins by scheduling recurring reports:
- Navigate to Reports -> Report Schedules tab.
- Name your schedule, choose the report type (Energy/Operational/Diagnostic), and pick the target device.
- Select the delivery interval: Daily, Weekly, or Monthly.
- The engine will automatically generate and deliver the files at 02:00 AM daily (ICT, GMT+7) via Email.
9. Administration & Privacy Rights
The Account portal supports corporate administration settings, UI customization, and strictly complies with personal data protection regulations (Decree 13/2023/NĐ-CP):
Single Sign-On (SSO) & Security
When transitioning to detailed Grafana dashboard pages, sessions are automatically authenticated via a secure, encrypted JWT token generated dynamically by the Rails portal.
Personal Data Rights
From the User Profile dropdown menu (by clicking your email address in the top-right corner) and selecting Data Rights, users can export all personal profile and activity data to a JSON file or withdraw consent to terminate account hosting and erase stored logs.
🎨 Customized Dashboard Templates
In the user settings, you can choose from 4 specialized dashboard templates tailored to your specific plant monitoring scenario:
💰 Electricity Tariff Configuration
To compute energy expenses accurately in energy reports, SuperBox supports three flexible tariff pricing configurations (either global defaults or custom per-device):
🏷️ Flat Rate (Fixed Price)
A single fixed charge is applied for every kWh of electricity consumed (supports VND or USD) regardless of the hour of the day.⏱️ Time-of-Use (TOU) Rates
Configures separate prices for Normal, Peak, and Off-peak hours, aligned automatically with EVN (Electricity of Vietnam) standard schedules.📊 Tiered / Block Rate
Applies a progressive pricing structure based on cumulative energy consumed within the billing period. The 6-block EVN tariff schedule is automatically kept up to date by the system — no manual entry required.| Days of Week | Time Interval | Bracket (TOU Class) |
|---|---|---|
| Monday to Saturday | 00:00 – 04:00 | Off-peak |
| 04:00 – 09:30 | Normal | |
| 09:30 – 11:30 | Peak | |
| 11:30 – 17:00 | Normal | |
| 17:00 – 20:00 | Peak | |
| 20:00 – 22:00 | Normal | |
| 22:00 – 23:59 (24:00) | Off-peak | |
| Sunday | 00:00 – 04:00 | Off-peak |
| 04:00 – 22:00 | Normal | |
| 22:00 – 23:59 (24:00) | Off-peak |
📊 EVN Residential Tiered Rate Schedule (6 Blocks)
When the Tiered Rate pricing mode is selected, the system automatically loads the latest 6-block EVN tariff and computes the progressive cost based on the device's actual consumption during the report period. The table below shows the currently active schedule:
| Block | Consumption Range (kWh/month) | Description | Current EVN Rate (VND/kWh) |
|---|---|---|---|
| Block 1 | 0 – 50 kWh | Minimal usage — lowest subsidised rate | ≈1,893 |
| Block 2 | 51 – 100 kWh | Basic household consumption | ≈1,956 |
| Block 3 | 101 – 200 kWh | Average household usage | ≈2,271 |
| Block 4 | 201 – 300 kWh | Above-average usage | ≈2,860 |
| Block 5 | 301 – 400 kWh | High consumption | ≈3,197 |
| Block 6 | > 400 kWh | Very high consumption — maximum progressive rate | ≈3,508 |