Alarm Rules
Alarm Rules is a catalog of pre-built alarm rule templates in ThingsBoard’s IoT Hub, designed to detect critical conditions like low battery, threshold breaches, or devices going offline. Each alarm rule installs directly into ThingsBoard’s Alarm rules section and attaches to an entity of your choice — a device, asset, device profile, or asset profile.
Installing an Alarm Rule
Section titled “Installing an Alarm Rule”To open the catalog, click IoT Hub in the ThingsBoard left sidebar and select Alarm Rules.
- Browse the catalog and find the alarm rule you want.
- Click the alarm rule card to open its detail panel and review the description, trigger conditions, and severity levels before installing.
- Click Install — either directly on the card or from inside the detail panel.
- In the installation dialog, select the target entity: choose the entity type (Device, Asset, Device profile, or Asset profile) and the specific entity or profile to attach the rule to.
- Click Install to confirm. The button activates once an entity is selected.
- When installation completes, click Open Alarm Rule to view the installed rule in Alarms → Alarm rules, where you can review its trigger conditions, severity levels, and schedule.
Removing an Alarm Rule
Section titled “Removing an Alarm Rule”Click the Installed Items button at the top of the Alarm Rules page to open the list of installed rules. Click the Remove icon next to the rule you want to remove and confirm the action.
Checking for Updates
Section titled “Checking for Updates”Click the Installed Items button at the top of the Alarm Rules page, then click Check for updates in the top-right corner. ThingsBoard compares all installed rules against the latest versions and adds an Updates column showing either Up to date or an available version to install.
See Also
Section titled “See Also”- IoT Alarm Rule Contribution Guide — package and publish your own alarm rule to the IoT Hub marketplace
Was this helpful?