Horizontal pipe
Horizontal pipe with fluid and leak visualizations.
Horizontal pipe
A SCADA symbol widget that draws a horizontal pipe segment and animates what happens inside it: fluid presence, flow, flow direction and speed, plus a leak indicator. Ships as a built-in SCADA symbol in ThingsBoard.
Behaviors
Each behavior is a value the symbol reads at runtime. None of them is bound out of the box
(the default action is Do nothing) — point every behavior you need at a timeseries key, an
attribute, or an RPC call on the target device.
| Behavior | Type | Default | Effect |
|---|---|---|---|
| Fluid presence | Boolean | Absent | Fills the pipe with fluid |
| Flow presence | Boolean | Absent | Animates the fluid along the pipe |
| Flow direction | Boolean | Forward | true — forward, false — reverse |
| Flow animation speed | Double | 1 | Speed multiplier of the flow animation |
| Leak | Boolean | Absent | Shows the leak visualization |
Leak wins over Fluid presence: while a leak is reported the fluid is hidden, and the flow
animation stops.
Properties
| Property | Default |
|---|---|
| Fluid color | #1EC1F480 |
| Pipe color | #FFFFFF |
Default appearance
| Setting | Default |
|---|---|
| Widget size | 1 × 1 grid cell |
| Title | Shown, Horizontal pipe |
| Background | White |
| Padding | 12px |
How to customize
The widget has a basic configuration mode, so the target device, the value source of every behavior, the fluid and pipe colors and the background can be set without touching the advanced widget config. The symbol itself can be copied and edited in the SCADA symbol editor when the geometry or the rendering logic has to change.
Share Your Widget with the Community
Built a custom widget? Export it as a JSON from ThingsBoard and publish it to the IoT Hub through a simple 4-step wizard (Upload, Listing, Readme, Review & Submit). Share it with thousands of ThingsBoard developers worldwide and get featured in the catalog.