This guide shows you how to create offline alarms and threshold alarms for your Ally devices to monitor device status and receive notifications.
Note: Alarm rules can only be created from data collected in Leanheat Monitor. Historical data from before integration is not available for alarm evaluation.
Understanding Alarm Types
Offline Alarms: Triggered when a device loses connection and goes offline.
Threshold Alarms: Triggered when a sensor value (temperature, battery level, etc.) exceeds or falls below a defined limit.
Creating Offline Alarms
Offline alarms notify you when devices lose connection, helping you identify connectivity issues quickly.
Step 1: Access Alarm Configuration
- Go to Device Administration
- Click on a device
- Click Alarms tab
- Click + New rule
Step 2: Select Alarm Type
- Click Offline
Step 3: Configure Alarm Details
- Enter alarm Name (e.g., "Device Offline - Building A")
- Optionally add Description with additional context
- Click Next
Step 4: Select Devices
The device you selected initially appears in "Selected devices". You can apply the same alarm rule to additional devices:
- Select all devices in "Available devices" or pick individual ones
- Click the right arrow to move them to "Selected devices"
- Click Next
Step 5: Configure Recipients
- Enter Recipient email address
- Select Contact type (Email)
- Toggle Resolution notification if you want to be notified when the alarm clears
- Click + to add the recipient
- Select Language for notifications
- Click Next
You can add multiple recipients by repeating the process.
Step 6: Configure Schedule and Delays
- Click Active schedule
- Select Active days (e.g., Monday-Friday, or all days)
- Set Period (time range when alarm is active, e.g., 00:00-23:59 for 24/7)
- Set Occurrence Delay (how long device must be offline before alarm triggers)
- Set Notification Delay (additional delay before sending notification)
- Click Next
💡 Delay recommendations: Set Occurrence Delay to 15-30 minutes to avoid false alarms from brief connectivity issues. Notification Delay can usually be 0 minutes.
Step 7: Review and Save
- Review the alarm rule summary
- Click Save & Enable to activate immediately
- Or click Save & Disable to save for later activation
Creating Threshold Alarms
Threshold alarms monitor sensor values and alert you when they exceed defined limits.
Step 1: Start Alarm Creation
- From a device's Alarms tab, click + New rule
- Click Threshold
Step 2: Configure Alarm Details
- Enter alarm Name (e.g., "Low Battery Alert")
- Optionally add Description
- Click Next
Step 3: Select Devices
- Select devices to apply this alarm rule to
- Move them to "Selected devices"
- Click Next
Step 4: Configure Threshold Trigger
- Click Sensor dropdown
- Select the parameter to monitor:
- Status - Device online/offline status
- Battery level - Battery percentage
- Device lock - Lock enabled/disabled
- Digital lock - Digital lock status
- Room temperature - Measured temperature
- Away temp. Schedule - Away setpoint value
- At home temp. Schedule - At Home setpoint value
- Pause temp. Schedule - Pause setpoint value
- Manual temperature - Manual setpoint value
- Current setpoint - Active setpoint
- Schedule - Current schedule period
- Device name - Device name changes
- Mode - Manual or Schedule mode
- Configure Trigger Setting based on sensor selected:
- For numeric values (temperature, battery): Set "greater than", "less than", "equals" conditions
- For status values: Select specific states to trigger alarm
Example: Battery level less than 20%
- Click Next
Step 5: Configure Recipients
- Enter Recipient email address
- Select Contact type (Email)
- Select Severity:
- Critical - High-priority issues requiring immediate attention
- Warning - Lower-priority issues for monitoring
- All - Receive notifications for any severity
- Toggle Resolution notification if desired
- Click + to add recipient
- Select Language
- Click Next
Step 6: Configure Schedule and Delays
- Set active schedule (days and time period)
- Set Occurrence Delay (how long condition must persist)
- Set Notification Delay
- Click Next
Step 7: Review and Save
- Review the alarm summary
- Click Save & Enable or Save & Disable
Managing Alarm Rules
To enable, disable, edit, or delete alarm rules:
- Go to device's Alarms tab
- Click Alarm rules
- Toggle Enabled/Disabled to quickly activate or deactivate
- Click Edit to modify alarm settings
- Click Delete to remove alarm rule
Viewing Active and Historical Alarms
Monitor alarm activity for any device:
- Go to a device
- Select Alarms tab
- View three sections:
- Active alarms - Currently triggered alarms
- Historical alarms - Past alarm events
- Alarm rules - Configured alarm rules for this device
Use the filter options to find specific alarms by date range, severity, or type.
Common Alarm Scenarios
Low Battery Alert:
- Sensor: Battery level
- Trigger: Less than 20%
- Severity: Warning
- Occurrence Delay: 1 hour
Temperature Too Low (Freeze Risk):
- Sensor: Room temperature
- Trigger: Less than 10°C
- Severity: Critical
- Occurrence Delay: 30 minutes
Gateway Offline:
- Type: Offline alarm
- Occurrence Delay: 15 minutes
- Severity: Critical (gateway offline affects all devices)
Setpoint Changed Unexpectedly:
- Sensor: Current setpoint
- Trigger: Not equals expected value
- Severity: Warning
Alarm Best Practices
💡 Tips for effective alarm management:
- Start simple: Begin with offline and low battery alarms before adding complex threshold rules
- Use appropriate delays: Longer delays reduce false alarms but increase response time
- Group similar devices: Create one alarm rule for multiple devices instead of individual rules
- Set severity correctly: Reserve Critical for issues requiring immediate action
- Enable resolution notifications: Know when issues clear automatically
- Review regularly: Disable or delete rules that generate too many false alarms
Troubleshooting
Problem: Not Receiving Alarm Notifications
Check spam folder for alarm emails. Verify email address is correct in recipient list. Confirm alarm rule is Enabled. Check that alarm trigger conditions are actually met.
Problem: Too Many False Alarms
Increase Occurrence Delay to require condition to persist longer. Adjust threshold values (e.g., battery threshold from 30% to 20%). Restrict Active schedule to business hours only.
Problem: Alarm Doesn't Clear After Problem Resolved
Some alarms require manual clearing. Check if Resolution notification is enabled. Verify device has returned to normal state for the Occurrence Delay period.
Problem: Can't Create Alarm for Specific Sensor
Verify that sensor type is supported for the device. Check that device is collecting data for that sensor. Ensure integration is enabled and data is syncing.
Comments
0 comments
Please sign in to leave a comment.