Skip to content

Cookie preferences

We use cookies for our own analytics, to see how our campaigns perform and, if you allow it, to load content from other services such as the Google site search. We never sell your data. Necessary cookies keep the site working and cannot be switched off. See our Cookie Policy for details and our Privacy Policy for how we handle personal data.

Security, load balancing and remembering your cookie choice.

Show us which pages people read, how they find the site and where they get stuck, so we can improve it (Google Analytics, Microsoft Clarity).

Show us which of our ad campaigns bring visitors to the site and remember the campaign or partner link you arrived from (Google Ads, LinkedIn, Meta, partner program). We do not use these cookies to build advertising profiles.

Load the site search from Google when you use it. Google sets its own cookies and shows ads in the search results.

© 2026 The ThingsBoard Authors
22.5k Try for free

ThingsBoard Cloud

Choose your data region

Your data stays in the region you choose, for residency and compliance. No credit card required.

Rather run it yourself? Install on your own servers

Asset Profile Switch

Use this node to route messages to different downstream paths based on the originator asset’s profile name — for example, applying different alarm thresholds to HVAC assets versus Temperature Sensor assets. The originator must be an ASSET; any other entity type results in Failure.

This node has no configuration options. The connection label used for routing is determined entirely at runtime from the asset profile name.

  1. Check that the message originator entity type is ASSET. If not, route via Failure.
  2. Fetch the asset’s profile from the database to retrieve its name. If the profile is not found (e.g., the asset was deleted while the message was queued), route via Failure.
  3. Route the message via a connection whose label exactly matches the fetched profile name.
Connection Condition
<profile name> Originator is an ASSET and its profile was found; label equals the profile name.
Failure Originator is not an ASSET, profile not found, or an unexpected error occurred.

Example 1 — Asset profile is Boiler Room

Section titled “Example 1 — Asset profile is Boiler Room”

State: originator is an asset with profile name Boiler Room.

Result: message routed via Boiler Room.


Example 2 — Originator is not an asset → Failure

Section titled “Example 2 — Originator is not an asset → Failure”

State: originator entity type is DEVICE.

Result: message routed via Failure — asset profile switch requires an ASSET originator.


Example 3 — Asset deleted before processing → Failure

Section titled “Example 3 — Asset deleted before processing → Failure”

State: originator entity type is ASSET, but the asset no longer exists.

Result: message routed via Failure — profile cannot be fetched.

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "EmptyNodeConfiguration",
"type": "object",
"properties": {},
"additionalProperties": false
}