Smart Site
Home Docs Getting Started User Guide

User Guide

This guide is for daily users of the Smart SCADA Data Platform. It walks you through the system interface and core operations from scratch.

Prerequisite: System is installed and running. If not, please read the Installation Guide first.


📷 Screenshot language: All screenshots in this document use the English UI (captured from the live system). See the zh-CN counterpart for Chinese-UI screenshots.

1. System Interface Overview

After logging in, you will see the following interface layout. Understanding each area will help you quickly find the features you need.

System Home Layout

# Area Description
① Top Navigation Bar Current project name, language switch, user avatar, and logout
② Left Sidebar Menu System feature entry points — click to open each module page
③ Main Content Area Displays the operation interface of the currently selected module
④ Knowledge Base Assistant Floating button in the lower-right corner, click to view help docs for the current page

2. System Workflow

Smart SCADA Data Platform operations follow the main workflow below. We recommend completing each step in order when using the system for the first time.

┌─────────────────────────────────────────────────────────────────────┐
│                    Main Operation Workflow                           │
│                                                                     │
│  ┌──────────┐    ┌──────────┐    ┌──────────┐    ┌──────────┐      │
│  │ 1. Login  │───▶│2. Create │───▶│3. Add    │───▶│4. Config │      │
│  │           │    │  Project │    │  Device  │    │  Tags    │      │
│  └──────────┘    └──────────┘    └──────────┘    └──────────┘      │
│       │                                               │             │
│       │              ┌────────────────────────────────┘             │
│       │              ▼                                              │
│       │    ┌──────────────┐    ┌──────────────┐    ┌──────────────┐ │
│       │    │ 5. View      │    │ 6. Create     │    │7. Generate  │ │
│       │    │  Real-time   │    │  Alarm Rules  │    │  Reports    │ │
│       │    │  Data        │    │               │    │             │ │
│       │    └──────────────┘    └──────────────┘    └──────────────┘ │
│       │                                                             │
│       ▼                                                             │
│  ┌──────────────────────────────────────────────────────────────┐   │
│  │                 Daily Operations (Cycle)                      │   │
│  │  Device Monitoring → Alarm Handling → Data View → Report     │   │
│  │  Export → Parameter Adjustment → ...                         │   │
│  └──────────────────────────────────────────────────────────────┘   │
└─────────────────────────────────────────────────────────────────────┘

3. Step 1: Log In

3.1 First-Time Use (Initialization Wizard)

When starting the system for the first time, there is no admin account in the database. Visiting http://localhost:5173 will automatically enter the initialization wizard.

Initialization Wizard

Steps:

  1. Open http://localhost:5173 in your browser
  2. The system automatically redirects to the initialization page
  3. Fill in the admin information:
    • Username: admin (default, can be changed)
    • Password: Set a secure password (at least 6 characters)
    • Confirm Password: Re-enter the same password
    • Email: For password recovery (optional)
  4. Click the "Initialize System" button
  5. After initialization, you will be redirected to the login page

3.2 Daily Login

Login Page

Steps:

  1. Visit http://localhost:5173
  2. Enter your username and password
  3. Click the "Login" button
  4. After successful login, you enter the data platform home page

💡 Tip: If you forget your password, contact the system administrator to reset it. Self-service password recovery is not yet available in the current version.


4. Step 2: Create a Project

A project is the top-level organizational unit of the data platform. Devices, data tags, alarm rules, and reports all belong to a project.

Project Management Page

4.1 Create Your First Project

  1. After login, click "Project Management" in the left sidebar menu
  2. Click the "New Project" button in the upper-right corner
  3. Fill in the dialog:
Field Example Value Description
Project Name e.g., Demo Factory Display name shown in the interface
Project Code e.g., demo-factory Unique identifier, use only letters, numbers, and hyphens
Description e.g., A project for learning and demonstration Optional, helps remember the project's purpose
  1. Click the "Save" button

⚠️ Note: The project code cannot be changed once created. Choose carefully.

4.2 Enter a Project

After creating a project, click the project name dropdown in the top navigation bar and select the project you just created. The system remembers your last used project.


5. Step 3: Add a Device

A device represents the physical or virtual device whose data you need to collect.

Device Management Page

Virtual devices require no real hardware — the system generates simulated data automatically. They are ideal for learning and testing.

  1. Click "Device Management" in the left sidebar menu
  2. Click the "Add Device" button in the upper-right corner
  3. Fill in the device information:
Field Example Value Description
Device Name e.g., Temperature Sensor 1 Display name
Device Code e.g., TEMP-001 Unique identifier
Protocol Type Select virtual Choose from the dropdown list
Scan Rate 1000 Milliseconds — collect data once per second
Group Select or create a group Optional, for organizing devices
Enable Collection ✅ Check Device starts collecting immediately after saving
  1. Click the "Save" button

💡 Tip: Channel configuration for virtual devices can be left empty — the system automatically generates random simulated data.

5.2 Device Status

Status Meaning Description
🟢 Online Device is running normally Collector is connected, data is updating
🔴 Offline Device is disconnected or stopped Check device and collector status
⚪ Disabled Device exists but collection is off Edit the device and check "Enable Collection"

6. Step 4: Configure Data Tags

Data tags define the specific data points to collect from a device. For example, a temperature sensor might have "temperature" and "humidity" tags.

Device Detail - Data Tags

6.1 Add a Data Tag

  1. In the device list, click the device name to enter the device detail page
  2. Switch to the "Data Tags" tab
  3. Click the "Add Tag" button
  4. Fill in the tag information:
Field Example Value Description
Tag Name e.g., Temperature Display name
Tag Code e.g., temperature Unique identifier, use English
Data Type Select number Choose based on actual data type
Unit ℃ Display unit, e.g., ℃, %, Pa
Address random(20,80) Virtual device uses random function, generates values from 20 to 80
Collection Enabled ✅ Check Tag starts collecting immediately after saving
  1. Click the "Save" button

6.2 Virtual Device Address Expressions

Expression Effect Example
random(min,max) Generates random numbers within the specified range random(20,80)
sin(t) Generates a sine wave sin(t)
step(min,max,step) Generates stepped increasing/decreasing values step(0,100,5)
constant(value) Generates a fixed value constant(25.5)

7. Step 5: View Real-Time Data

After configuring devices and tags, you can view the collected data in real time.

Real-Time Data Monitor

7.1 View in Device Details

  1. Enter the device detail page
  2. Switch to the "Real-Time Data" tab
  3. View the current values of all tags, refreshed automatically every second

7.2 View in Device List

The "Data" column in the device list shows a summary of the latest collected data for each device.


8. Step 6: Create Alarm Rules

Alarm rules notify you promptly when data anomalies occur.

Alarm Management Page

8.1 Create an Alarm Rule

  1. Click "Alarm Management" → "Alarm Rules" in the left sidebar menu
  2. Click the "New Rule" button
  3. Fill in the rule information:
Field Example Value Description
Rule Name e.g., High Temperature Alarm Helps identify the alarm type
Associated Device Select Temperature Sensor 1 Choose from the dropdown list
Associated Tag Select temperature Choose from the dropdown list
Trigger Condition Select > and enter 75 Triggers when temperature exceeds 75℃
Alarm Level Select "Critical" Info/Warning/Critical/Emergency
Enabled ✅ Check Rule takes effect immediately after saving
  1. Click the "Save" button

8.2 View Alarm Records

When an alarm is triggered, you can view historical alarms on the "Alarm Records" page. The system records trigger time, alarm level, current value, and other information.

8.3 Alarm Level Reference

Level Color Use Case
Info Blue Informational, no immediate action needed
Warning Yellow Needs attention but does not affect operations yet
Critical Orange Needs to be addressed promptly
Emergency Red Needs immediate action, may affect safety

9. Step 7: Generate Reports

The report system helps you summarize and analyze device data.

Report System Page

9.1 Create a Report

  1. Click "Report System" in the left sidebar menu
  2. Click the "New Report" button
  3. Configure report parameters:
Field Example Value Description
Report Name e.g., Daily Temperature Report Helps identify the report
Data Source Select Temperature Sensor 1 Choose the device
Tags Check temperature, humidity Multi-select
Statistics Period Select "Daily" Hourly/Daily/Weekly/Monthly
Aggregation Check Average, Maximum, Minimum Statistics methods
  1. Click the "Save" button
  2. Click "Preview" to view the report
  3. Click "Export" to download as Excel or PDF

⚠️ Note: The report's historical data query feature depends on InfluxDB. If InfluxDB is not configured, reports can only display current snapshot data.


10. Left Sidebar Menu Quick Reference

Below is a complete description of the left sidebar menu items in the data platform.

Menu Item Description Use Case
Project Management Create, edit, and delete projects Getting started, managing multiple projects
Device Management Add devices, configure tags, view real-time data Adding new devices, daily device monitoring
Template Management Manage device templates (quickly reuse device configs) Batch creating similar devices
Collection Management Configure industrial protocol collectors (Modbus/OPC UA/MQTT) Connecting real industrial devices
Alarm Management Create alarm rules, view alarm records and statistics Setting up exception notifications, troubleshooting
Script Engine Write data processing scripts, scheduled tasks Custom data processing logic
Report System Create reports, preview and export Data summarization, periodic reporting
Storage Management Manage databases, view storage status Database maintenance, data backup
Real-Time Communication Monitor WebSocket connection status Diagnose real-time data push issues
System Management User management, system configuration, AI model config System operations, permission management
Data Dictionary Manage enumeration values and categorical data Standardize data fields

11. Common Operations Quick Guide

11.1 How to Edit a Device?

  1. Go to the "Device Management" page
  2. Find the target device in the device list
  3. Click the device name to enter details, or click the "Edit" button on the right
  4. Modify the information and click "Save"

11.2 How to Delete a Device?

  1. Go to the "Device Management" page
  2. Find the target device and click the "Delete" button on the right
  3. Click "Confirm Delete" in the confirmation dialog

⚠️ Warning: Deleting a device will also delete all its data tags and alarm rules, and cannot be undone. Proceed with caution.

11.3 How to Switch Projects?

In the top navigation bar, click the project name dropdown and select the project you want to switch to.

11.4 How to Switch Languages?

In the top-right corner of the navigation bar, click the language switch button (🌐) and select your target language. Currently supports Chinese and English.

11.5 How to View Help Documentation?

On any page, click the "Knowledge Base Assistant" floating button in the lower-right corner to view help documentation and operation tips for the current page.


12. Completion Checklist

After completing the above operations, verify that you have mastered the following:

  • [ ] Can log in to the system and understand the initialization process
  • [ ] Can create a project and understand the project concept
  • [ ] Can add a virtual device and understand device status meanings
  • [ ] Can configure data tags and use virtual device expressions
  • [ ] Can view real-time data
  • [ ] Can create alarm rules and understand alarm levels
  • [ ] Can create and preview reports

Next Steps