Skip to content

Added note about Alarms count (deprecated) node - #559

Merged
vvlladd28 merged 1 commit into
thingsboard:mainfrom
stitenko:07.2026/Update-documentation-for-Alarms-Count-rule-node
Jul 20, 2026
Merged

Added note about Alarms count (deprecated) node#559
vvlladd28 merged 1 commit into
thingsboard:mainfrom
stitenko:07.2026/Update-documentation-for-Alarms-Count-rule-node

Conversation

@stitenko

Copy link
Copy Markdown
Contributor

Description

Type of change

  • New / updated documentation page (src/content/docs/**)
  • Shared include file (src/content/_includes/**)
  • Component, layout, or styling change (src/components/**, src/styles/**)
  • Landing / use-case / case-study page (src/pages/**, src/data/**)
  • Redirects (src/data/redirects.ts)
  • Version bump / release (see release skill)
  • Build, CI, scripts, or tooling
  • Other (please describe)

Affected products

Related issues

  • Closes #

Checklist

  • pnpm check passes (Astro / TypeScript)
  • pnpm lint:eslint passes
  • pnpm lint:slugcheck passes (required if pages were added/renamed/moved across languages)
  • pnpm lint:linkcheck passes locally — required to merge; run it before requesting review (use pnpm lint:linkcheck:nobuild if you already ran a build)
  • Renamed/removed pages have a redirect in src/data/redirects.ts, and pnpm generate:redirects was run
  • No hardcoded versions — values come from src/data/versions.ts
  • Screenshots attached for visual changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
vvlladd28 merged commit 2f59462 into thingsboard:main Jul 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants