Rules
Automation rules enable automatic control of filtration devices based on air quality measurements from AirWatch sensors.
Accessing Automation
Navigate to /sites/[id]/automation or click "Automation" in the site sidebar.
Concept
Automation rules connect:
Trigger device: AirWatch sensor measuring PM10
Target devices: Filtration devices to control
Threshold: PM10 level that activates the rule
When PM10 exceeds the threshold, target devices start. When PM10 falls below, they stop.
Rule Components
Trigger Device
AirWatch sensors that can be triggers:
AirWatch 3.0
AirWatch LTE Europe
AirWatch LTE America
Target Devices
Filtration devices that can be controlled:
AirDome
Clean Air Tower (Self-Cleaning)
Clean Air Tower (Disposable)
PM10 Threshold
The PM10 value (in µg/m³) that triggers action:
Below threshold: Target devices stop
Above threshold: Target devices start
Typical suggested thresholds:
Conservative: 50 µg/m³
Standard: 100 µg/m³
High activity: 150 µg/m³
PM10 Threshold Helper
A visual helper shows:
Current PM10 level
Historical averages
Suggested threshold range
WHO guideline reference
Creating Rules
Add Rule Modal
Threshold Selection
The system suggests thresholds based on:
Historical PM10 data
Average readings
Recommended ranges
Typical thresholds:
Conservative: 50 µg/m³
Standard: 100 µg/m³
High activity: 150 µg/m³
Rule Cards
Each rule displays as a collapsible card.
Card Header
Rule name (auto-generated or custom)
Trigger device name
Enable/Disable toggle
Edit/Delete buttons
Card Content
Trigger device with current PM10 value
Target device(s) list
Threshold value
Rule status
Managing Rules
Enable/Disable
Toggle rules on/off:
Disabled rules don't trigger
Keep rules for later use
Quickly pause automation
Edit Rule
Modify existing rules:
Change threshold
Add/remove targets
Update name
Delete Rule
Remove rules:
Confirmation required
Cannot be undone
Rule Behavior
Start Rule
Stop Rule
Paired Rules
Automation creates paired rules internally:
One rule for starting (PM10 > threshold)
One rule for stopping (PM10 < threshold)
These paired rules are managed together as a single rule in the UI.
Live Status
Rule cards show real-time:
Current PM10 from trigger
Whether threshold is exceeded
Target device status
Best Practices
Threshold Selection
Consider normal background levels
Allow for fluctuations
Test before deploying
Target Selection
Start with devices nearest sensor
Consider air flow patterns
Multiple targets for large areas
Monitoring
Review rule effectiveness
Adjust thresholds as needed
Check historical data
Empty State
If no rules exist:
Message indicating no automation
"Create Rule" button
Permissions
Creating/editing rules requires:
Member or Admin role
Access to trigger and target devices
Active licenses on devices