Skip to content

Cookie preferences

We use cookies for our own analytics and to see how our campaigns perform. We never sell your data. Necessary cookies keep the site working and cannot be switched off. See our Cookie Policy for details.

Security, load balancing and remembering your cookie choice.

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

Show us which of our ad campaigns bring visitors to the site (Google Ads).

© 2026 The ThingsBoard Authors
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

HP Vertical Tank

HP Vertical tank SCADA symbol

The HP Vertical tank widget represents a tall vertical storage tank with a built-in fluid level visualization — the fill rises proportionally to the ratio of current volume to total tank capacity. A configurable scale along the side shows the fill level in percentage or absolute units. Use it to monitor storage tanks, buffer vessels, or reservoirs in heating, cooling, water treatment, or process systems where a tall portrait-oriented tank fits the diagram layout.

  • Visualize the fluid fill level as a proportional bar driven by live volume and capacity data.
  • Display the level scale in percentage or absolute volume units.
  • Optionally show a unit label on the scale.
  • Configure major and minor tick intervals and their visual style.
  • Set independent colors for the tank body and the fluid.
  • Indicate warning and critical states with configurable alarm colors.
  • Animate a blinking effect when the tank is in warning or critical state.
  • Trigger separate dashboard actions when the widget is clicked in its warning or critical state.
  • Trigger a general dashboard action when the widget symbol is clicked in any state.
  • Receive state data from device attributes, time series, alarm status, or dashboard state.
  1. Open the dashboard and switch to edit mode.
  2. Click Add widget at the top, or the Add new widget icon in the center of the screen.
  3. Open the High-performance SCADA fluid system widget bundle.
  4. Select HP Vertical tank.
  5. Configure the widget settings, then click Add.

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. The HP Vertical tank widget has a pre-selected symbol from the High-performance 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 and how it responds to user interaction, driven by real-time data from the connected device.

Parameter Default Description
Tank capacity Use attribute 'tankCapacity' Total capacity of the tank. Together with Current volume, this value determines the fill level displayed on the widget. See Data source configuration.
Current volume Use time series 'liquidVolume' Current volume of fluid in the tank. The fill level is computed as Current volume ÷ Tank capacity. See Data source configuration.

Warning state

Parameter Default Description
Warning Use alarm status Whether the tank is in warning state. See Data source configuration.
Warning click Do nothing Action triggered when the user clicks the widget symbol while it is in warning state. See Click action configuration.

Critical state

Parameter Default Description
Critical Use alarm status Whether the tank is in critical state. See Data source configuration.
Critical click Do nothing Action triggered when the user clicks the widget symbol while it is in critical state. See Click action configuration.
Parameter Default Description
Warning/Critical state animation False Whether to enable blinking animation when the tank is in warning or critical state. See Data source configuration.
On click Do nothing Action triggered when the user clicks the widget symbol in any non-alarm state. See Click action configuration.

Applies to Warning click, Critical click, and On click. Select one action type from the list below.

  • Do nothing

    The symbol is clickable but performs no action. Use while testing styles or as a placeholder.

  • Navigate to new dashboard state

    Switches to a different view within the same dashboard, like opening a tank details screen.

    Parameter Description
    Target dashboard state The state to open (required).
    Open right dashboard layout (mobile view) Opens a side panel instead of replacing the view (mobile only).
    Set entity from widget Passes the current entity to the target state.
    State entity parameter name The key the entity is passed under.
    Dashboard state display option Normal (same view), In separate dialog (popup), or In popover (inline overlay).
  • Update current dashboard state

    Updates the context of the current view, like switching the selected device, without navigating away.

    Parameter Description
    Target dashboard state The state to switch to (optional).
    Open right dashboard layout (mobile view) Opens a side panel on mobile.
    Set entity from widget Passes the current entity to the updated state.
    State entity parameter name The key the entity is passed under.
  • Navigate to other dashboard

    Opens a completely different dashboard, like jumping from this system view to a global alarms view.

    Parameter Description
    Target dashboard The dashboard to open (required).
    Target dashboard state The specific view to open within that dashboard.
    Open in a new browser tab Opens the dashboard without leaving the current page.
    Set entity from widget Passes the current entity to the other dashboard.
    State entity parameter name The key the entity is passed under.
  • Custom action

    Runs custom JavaScript on click to implement any behavior not covered by the built-in options. Use it to make HTTP requests, open custom dialogs, call other widget APIs, or interact with external services. The function receives: $event, widgetContext, entityId, entityName, additionalParams, entityLabel.

  • Custom action (with HTML template)

    Same as Custom action, but also renders a custom HTML panel or dialog when the symbol is clicked. The function receives an additional htmlTemplate parameter: $event, widgetContext, entityId, entityName, htmlTemplate, additionalParams, entityLabel.

    Parameter Description
    Resources External scripts and styles loaded before the action runs.
    CSS Styling for the HTML template.
    HTML Layout of the rendered dialog or panel.
    JS Action logic.
  • Mobile action

    Triggers a native device feature inside a ThingsBoard mobile app, like the camera or QR scanner.

    Parameter Description
    Mobile action type Take picture from gallery, Take photo, Open map directions, Open map location, Scan QR Code, Make phone call, Get phone location, Take screenshot, or Device provision.
  • Open URL

    Opens a website or external link when clicked.

    Parameter Description
    URL The address to open (required).
    Open in a new browser tab Keeps the current dashboard open while opening the link.

Applies to Tank capacity, Current volume, Warning, Critical, and Warning/Critical state animation. Click the edit icon next to a parameter to open its configuration dialog. When Action is set to Do nothing, the Value options depend on which parameter you are configuring:

Parameter Value
Tank capacity Numeric value representing the total tank capacity
Current volume Numeric value representing the current fluid volume
Warning True or False
Critical True or False
Warning/Critical state animation True 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.

    Parameter Description
    Method RPC method to call, like getTankCapacity or getLiquidVolume.
    Action result converter None — parameter is activated when the result matches the value you specify; Function — parameter is activated when your f(data) returns true.
    ‘[parameter]’ when result is The 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 persistent Stores and retries the command until the device comes online (Advanced settings).
  • Get attribute

    Read the parameter value from a device attribute.

    Parameter Description
    Attribute scope Where the attribute is stored: Any, Client, Server, or Shared.
    Attribute key Attribute name to read, like tankCapacity.
    Action result converter None — parameter is activated when the attribute equals the value you specify; Function — parameter is activated when your f(data) returns true.
    ‘[parameter]’ when result is The value or condition that activates this parameter.
  • Get time series

    Read the parameter value from the latest telemetry reading.

    Parameter Description
    Time series key Telemetry key to monitor, like liquidVolume.
    Action result converter None — parameter is activated when the telemetry value equals what you specify; Function — parameter is activated when your f(data) returns true.
    ‘[parameter]’ when result is The value or condition that activates this parameter.
  • Get alarm status

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

    Parameter Description
    Alarm severity Which severity levels trigger the active state: Critical, Major, Minor, Warning, or Indeterminate.
    Alarm types Any alarm, or a specific alarm type.
  • Get dashboard state id

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

    Parameter Description
    Action result converter None — 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 is The 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.

    Parameter Description
    Parse value function A f(data) function that receives the current dashboard state object. Use data.id to read the active state name, or data.params to inspect state parameters.
    ‘[parameter]’ when result is The expected type and value that activates the parameter. Choose String, Integer, Double, Boolean (then select True or False), or JSON.

The Appearance section controls the widget title, tank and fluid colors, the level scale, and alarm colors.

Setting Default Description
Title HP Vertical tank Widget title displayed in the header. Supports entityName and entityLabel variables.
Card icon — Icon shown in the widget header. Configure its size and color.
Tank color Off Optional background fill color for the tank body. When disabled, the default tank style is used.
Fluid color Light blue Color of the fluid fill inside the tank.
Scale On Whether to display the level scale on the side of the tank.
Scale display format Percentage How scale values are labeled: Percentage (0–100) or Absolute (raw volume units).
Enable units on scale Off Whether to show a unit label alongside the scale values. Click Set to configure the label text.
Major ticks 10 intervals Spacing of the numbered major tick marks on the scale. Configure their color and font.
Minor ticks 5 intervals Spacing of the minor tick marks between major ticks. Configure their color.
Warning color Orange Tank color when in warning state.
Critical color Red Tank color when in critical state.

The Card appearance section controls the widget container style.

Setting Default Description
Background Transparent Card background color.
Show card buttons Fullscreen Buttons shown on the card when hovered.
Card border radius 0px Rounding of card corners.
Card padding 12px Inner spacing between the card edge and widget content.

Fill level does not update or is always empty

Cause Solution
Tank capacity or Current volume action is Do nothing with a zero or missing value Open the respective edit dialog and configure Tank capacity to read from a device attribute and Current volume to read from a time series key.
Device is not sending telemetry Confirm the device is online and publishing the expected time series key.

Fill level shows 100% even when the tank is not full

Cause Solution
Tank capacity is not configured or returns zero Open the Tank capacity edit dialog and confirm the attribute key and value are correct.

Warning or critical color does not appear

Cause Solution
Warning or Critical action is Do nothing and value is False Configure the state parameter to read from an alarm status or a device attribute.
Alarm is not active on the device Confirm that the device has an active alarm of the expected severity.
IoT Hub

Install the Swimming pool SCADA system Solution Template from the ThingsBoard IoT Hub to see this widget running in a complete, ready-to-use dashboard.

Browse the catalog

This widget is used in the following ready-made solution template built on the High-performance SCADA fluid system bundle:

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