Dashboard Widgets
Last updated
Was this helpful?
Last updated
Was this helpful?
Each widget has its own settings, similar to those on a but adjusted slightly to work correctly with multiple devices.
The following widgets are currently supported:
Control Widgets:
These widgets can be used to perform management operations on devices, such as turning devices on or off, or changing values.
Switch
Slider
Display Widgets:
These widgets can be used to display a metric value from multiple devices, or historical data for the selected period of time.
Label
Chart: Metrics over time, agg.
Chart: Metric by devices
The dashboard includes 9 ready-to-use widgets that display data about events. These widgets provide insights into the latest events, most frequent events, critical events, and more. You can analyze trends and event distribution across devices and organizations, helping you stay informed and make data-driven decisions.
Device metrics widgets are designed to display or interact with datastream values, offering insightful data visualization and control.
All device metrics widgets require an assigned datastream to function. To streamline this process and enhance your experience, we’ve developed a Virtual Pin approach for datastream selection.
Instead of manually mapping multiple datastreams one by one, you only need to select a single Virtual Pin. All datastreams associated with that Virtual Pin will automatically be assigned to the widget, saving time and reducing complexity.
This approach simplifies widget setup and ensures a seamless connection to the data you need.
Before creating a dashboard, standardize the datastreams across the templates included in it so that the corresponding Virtual Pins contain the same data. For example, V1 represents Brightness across all templates.
E.g. You have launched a new product model. And you want to add the data from it to one of your existing dashboards. If you have datastreams standardized the same way as for the existing products, you just need to add the new product (template) to the dashboard data source and all of your widgets will be updated immediately.
Current widgets support only Integer and Double data types. Datastreams of any other type will be ignored and excluded from calculations.
For example, if you set the V1 Pin to display the Average value in a Label widget, and V1 uses the Integer type in four templates but String type in two, the calculation will only include the four Integer datastreams. The two String datastreams will be ignored, regardless of the data selection.
To select datastreams, choose a row from the dropdown. The dropdown displays all datastreams, grouped by Virtual Pin, based on the templates included in the dashboard's data source.
Once you select the row, assigned datastreams preview appears on the right, displaying the datastreams associated with the selected Virtual Pin across all templates included in the dashboard. This preview helps you quickly assess the data and confirm that the correct datastreams are connected for each template.
Blynk supports 4 aggregation types across all widgets: Average, Min, Max, and Sum.
Also the Label widget supports additional aggregation type - Latest value.
Determines the number of decimal places displayed for numerical values in the widget (e.g., #.## for 25.35).
Specifies the measurement unit to display alongside values (e.g., °C, %, kWh) for clarity and context.
Note that this is purely a label and does not involve any unit conversion of the values.
The Switch widget sends a command to the devices, typically 1 for ON and 0 for OFF. This widget allows you to turn multiple devices on or off with a single click. Additionally, it can interact with other datastreams and perform various operations that involve two states, such as enabling or disabling features, toggling between modes, or setting specific conditions.
The value will be sent to all currently online devices. For offline devices, the value will be stored on the server. When any of these offline devices goes online, they may request the latest state via Blynk.sync() if necessary.
How to configure:
Select a datastream.
Set On/Off values.
Narrow down device selection (optional).
Design. Navigate to Design tab to adjust widget appearance such as color and labels.
The Slider widget sends a value to devices within a defined range. Move the slider handle or use the fine control buttons (+ and -) to set the value precisely. It may be used to adjust temperature setpoint, fan speed, brightness level, etc.
The value will be sent to all currently online devices. For offline devices, the value will be stored on the server. When any of these offline devices goes online, they may request the latest state via Blynk.sync() if necessary.
How to configure:
Select a datastream.
Set Values Range. Enter Min and Max values and Handle step value.
Narrow down device selection (optional).
Design. Navigate to Design tab to edit the name, choose a color, or enable fine controls.
The Label widget provides a clear, aggregated view of important data from single or multiple devices.
By combining data from multiple devices, the Label widget helps you make informed decisions. It is useful in many cases such as:
Construction: Display the total energy consumption of a building by aggregating data from all smart meters and sensors.
Agriculture: Show the average humidity level across multiple greenhouses to ensure optimal growing conditions.
Manufacturing: Present the total output or efficiency rate of production lines by aggregating data from various machines and sensors.
Smart Homes: Display the overall air quality index by combining readings from multiple air quality sensors throughout the house.
How to configure:
Select datastreams.
Choose aggregation type. You can choose Average, Min, Max, Sum, or Latest value (only if 1 device selected).
Narrow down device selection (optional).
Design. Navigate to Design tab to configure options such as Background color, Level, and Content Alignment.
Ensure that Enable History Data switch is enabled across all used datastreams. Otherwise the widget will not display the data.
Navigate to Developer Tools → Templates.
Open a template → Datastreams tab.
Click on a datastream.
Open Advanced Settings.
Turn on the Enable history data.
This widget provides a visual representation of historical data, making it easier to identify trends, patterns, and anomalies over time.
By supporting multiple data series, the widget allows you to compare different data types simultaneously, such as temperature and humidity, or energy consumption and production output. You can also compare energy consumption or any other metric by different aggregation types, e.g. Min Temperature vs Max Temperature.
How to configure:
Select datastreams. The chart supports up to 5 series.
Choose aggregation type. You can choose Average, Min, Max, or Sum for each data series.
Narrow down device selection (optional).
Design. Navigate to Design tab to select the chart view (line, area, column (bar), or stepline) set colors, axis and series names.
This chart displays datastream values from multiple selected devices on a single chart, with each device represented by a distinct line. You can customize the chart by selecting specific devices.
The chart can display data from up to eight devices at the same time.
How to configure:
Select datastream.
Narrow down device selection (optional).
Design. Navigate to Design tab to set widget title.
The Device Table widget displays the latest datastream values from multiple devices along with their connection statuses. This makes it ideal for quickly identifying outliers, and comparing metrics across devices. Whether you're managing 10 or 1,000 devices, the table gives you a clear and actionable overview of their current state—helping you make faster decisions and keep operations running smoothly.
Add the Device Table widget to your dashboard.
Select the devices you want to display in the table.
Configure the columns (up to 20 supported).
(Optional) Add conditional formatting.
Adjust table settings such as Title, Default Sort, and Devices per Page.
In this tab, you can choose which devices are shown in the table. You can:
Select segments
Apply filters
Manually pick individual devices
By default, all devices from the Dashboard Data Source are selected.
Once devices are selected, you can configure which datastreams appear as columns in the table (up to 20 columns).
Currently, only datastream value columns are supported, showing each datastream’s latest value. Data is refreshed every 10 seconds.
Preview displays dummy datastream values for 10 random devices from your selection. Real values will load after saving the dashboard.
Column Name: By default, the name is taken from one of the selected datastream, but you can rename it.
Display Options: There are three display options: Values, Bars, and Icons.
Values (default) - show datastream values as it is.
Bars: Adds a colored bar in the background of the cell. You can set a min/max range, pick a color, and optionally enable dynamic color based on conditional formatting. Threshold lines or ranges are also supported.
Icons: Replaces values with icons. Define a value range and assign specific icons and colors for each value step.
Once you’ve configured columns, you can enhance the table visually by applying conditional formatting rules.
This feature lets you highlight differences in device values using color gradients. You can start with one of the preset gradients or fully customize your own by adjusting the color and values. For each point on the gradient, you can define both the background and the content color.
If you want the same formatting applied across all columns in the table, simply enable the Color all columns option.
In this tab, configure:
Title: The table title.
Default Sort Option: Choose a column and sort direction (ascending/descending). Users can re-sort while viewing by clicking on column headers, but settings will reset to the default on refresh.
Devices per Page: Set the number of devices displayed per page to control the amount of visible data at a time.