Dynamic routing & transformation
JavaScript functions or Blockly blocks to go beyond simple routes.
Routing and transformation functions are written in JavaScript. Beyond static 1↔1 routes, you build dynamic routing: a function can compute the destination address on the fly (1→n mapping), select targets with a regular expression, or adapt behaviour based on the message content. Routing therefore adjusts in real time to the structure of your installation.
Value transformation
The value can be transformed before it is written. Left empty, the field routes the value as-is. Otherwise, three modes:
- Constant — replaces the value with a fixed value (binary, numeric, string or JSON object).
- JavaScript function — receives the routed value, processes it and returns the transformed value.
- Blockly diagram — visual block programming, no coding skills needed (e.g. divide by 100 for a unit conversion).