Added note about Alarms count (deprecated) node - #559
Merged
vvlladd28 merged 1 commit intoJul 20, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a clarifying note to the ThingsBoard Rule Engine documentation to distinguish the current Alarms count node from an older deprecated variant, helping users choose the correct node for new rule chains.
Changes:
- Added a new “note” aside explaining that an older alarms count (deprecated) node still exists for legacy rule chains and how it differs.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| Use this node to count alarms matching configured criteria and write the count as telemetry — for example, maintaining a real-time `activeAlarmCount` metric on a device asset that increments when new alarms are created and decrements when they are cleared, or tracking how many critical alarms occurred in the last 24 hours. | ||
|
|
||
| <Aside type="note"> | ||
| An older *alarms count (deprecated)* node is still available for legacy rule chains. Instead of reacting to incoming messages, it runs on a fixed schedule and counts alarms for a statically configured target — a single entity, an entity group, or a relations query — rather than resolving the originator dynamically. Use the node described here for new rule chains. |
vvlladd28
approved these changes
Jul 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Type of change
src/content/docs/**)src/content/_includes/**)src/components/**,src/styles/**)src/pages/**,src/data/**)src/data/redirects.ts)releaseskill)Affected products
Related issues
Checklist
pnpm checkpasses (Astro / TypeScript)pnpm lint:eslintpassespnpm lint:slugcheckpasses (required if pages were added/renamed/moved across languages)pnpm lint:linkcheckpasses locally — required to merge; run it before requesting review (usepnpm lint:linkcheck:nobuildif you already ran a build)src/data/redirects.ts, andpnpm generate:redirectswas runsrc/data/versions.ts