Skip to content
Stand with Ukraine flag

Long Vertical Pipe

Long vertical pipe SCADA symbol

The Long vertical pipe widget represents an extended vertical pipe segment in a SCADA fluid system diagram. It visualizes fluid presence, flow state, direction, and leak conditions based on real-time device data.

This widget belongs to the Traditional SCADA fluid system bundle — a collection of pipe segments, fittings, valves, pumps, and gauges designed for building fluid system diagrams on ThingsBoard dashboards. It connects to a device and reflects real-time fluid state through its SCADA symbol.

  • Visualize fluid presence and flow state in real time.
  • Animate fluid flow in either direction at configurable speed.
  • Indicate leak conditions on the pipe.
  • Apply custom colors to fluid and pipe elements independently.
  • Receive state data from device attributes, time series, alarm status, or dashboard state.

The widget connects to a single data source: either a Device or an Entity alias that resolves to a device. This device provides the telemetry or attribute values used to drive the widget’s visual state.

The SCADA symbol defines the visual shape of the widget. Each pipe widget has a pre-selected symbol from the Traditional SCADA fluid system bundle. To use a different symbol, click Browse SCADA symbol from gallery and choose one from the library, or upload your own.

Behavior parameters define what the widget displays, driven by real-time data from the connected device. Each parameter supports the same set of actions — see Behavior configuration for the full list.

ParameterDefaultValuesDescription
Fluid presenceAbsentPresent, AbsentWhether fluid is present in the pipe.
Flow presenceAbsentPresent, AbsentWhether fluid is flowing through the pipe.
Flow directionForwardForward, ReverseDirection of the fluid flow animation.
Flow animation speed1numberSpeed of the flow animation. 1 is normal speed, 0 disables animation, < 1 - slower animation, > 1 - faster animation.
LeakFalseTrue, FalseWhether a leak is present on the pipe.

To configure a parameter, click its edit icon. When Action is set to Do nothing, the Value options depend on which parameter you are configuring:

ParameterValue
Fluid presencePresent or Absent
Flow presencePresent or Absent
Flow directionForward or Reverse
Flow animation speedAny number — 1 for normal speed, 0 to stop, < 1 - slower animation, > 1 - faster animation.
LeakTrue or False

For all other actions, the configuration dialog works the same way regardless of which parameter you are editing:

  • Execute RPC

    Read the parameter value from an RPC response.

    ParameterDescription
    MethodRPC method to call, like getState or getFlowStatus.
    Action result converterNone — parameter is activated when the result matches the value you specify; Function — parameter is activated when your f(data) returns true.
    ’[parameter]’ when result isThe value or condition that activates this parameter.
    RPC request timeout (ms)How long to wait for a device response before timing out (Advanced settings).
    RPC request persistentStores and retries the command until the device comes online (Advanced settings).
  • Get attribute

    Read the parameter value from a device attribute.

    ParameterDescription
    Attribute scopeWhere the attribute is stored: Any, Client, Server, or Shared.
    Attribute keyAttribute name to read, like state or flowActive.
    Action result converterNone — parameter is activated when the attribute equals the value you specify; Function — parameter is activated when your f(data) returns true.
    ’[parameter]’ when result isThe value or condition that activates this parameter.
  • Get time series

    Read the parameter value from the latest telemetry reading.

    ParameterDescription
    Time series keyTelemetry key to monitor, like flowState or leakSensor.
    Action result converterNone — parameter is activated when the telemetry value equals what you specify; Function — parameter is activated when your f(data) returns true.
    ’[parameter]’ when result isThe value or condition that activates this parameter.
  • Get alarm status

    Activate the parameter when a specific alarm is active on the device.

    ParameterDescription
    Alarm severityWhich severity levels trigger the active state: Critical, Major, Minor, Warning, or Indeterminate.
    Alarm typesAny alarm, or a specific alarm type.
  • Get dashboard state id

    Activate the parameter based on which dashboard state is currently open.

    ParameterDescription
    Action result converterNone — parameter is activated when the state name matches the text you enter; Function — parameter is activated when your f(data) returns true.
    ’[parameter]’ when result isThe state name or condition that activates this parameter.
  • Get dashboard state object

    Activate the parameter using the full dashboard state context; use this when you need to evaluate multiple state parameters at once.

    ParameterDescription
    Parse value functionWrite a f(data) function that returns true to activate this parameter.

The Appearance section controls the widget title and pipe element colors.

SettingDescription
TitleWidget title displayed in the header. Supports entityName and entityLabel variables.
Card iconIcon shown in the widget header. Configure its size and color.
Fluid colorColor of the fluid rendered inside the pipe.
Pipe colorColor of the pipe structure itself.

The Card appearance section controls the widget container style.

SettingDefaultDescription
BackgroundTransparentCard background color.
Show card buttonsFullscreenButtons shown on the card when hovered.
Card border radius0pxRounding of card corners.
Card padding12pxInner spacing between the card edge and widget content.

Widget shows no fluid state or incorrect state

CauseSolution
Action is set to Do nothingOpen the parameter edit dialog, set the correct Action, and specify the attribute or time-series key.
Attribute or telemetry key mismatchVerify that the key name in the behavior configuration matches exactly what the device reports.
Target device is not connectedConfirm that the selected device is online and actively sending data.

Flow animation does not play

CauseSolution
Flow animation speed is 0Set Flow animation speed to a non-zero value (e.g. 1 for normal speed).
Flow presence is AbsentConfigure the Flow presence behavior to read from the device and verify the device reports an active flow state.

These widgets are used in the following ready-made solution templates built on the Traditional SCADA fluid system bundle:

  • SCADA Swimming pool — a complete swimming pool monitoring dashboard built with pipe, pump, valve, and gauge widgets from the Traditional SCADA fluid system bundle.