Dashboard – program control panel¶
Dashboard is a panel in which you monitor program values and can also change them. It can contain numbers, status indicators, graphs, sliders, switches, and other elements. It works with the data of the running program in the board or in the simulator.
Unlike the graphical display designer, this panel is displayed in the browser. It doesn't draw the screen to the OLED attached to the processor.
Where to start¶
| I want to… | Where can I find it |
|---|---|
| Add a dashboard and familiarize yourself with its window | Getting started, Window Control |
| Link panel with variables | Data Points and Block Inputs |
| Select the correct element and set its range | Element Overview |
| Connect the panel to the running program | Connection and Data Transfer |
| Control board without open editor | Standalone HMI |
Getting started¶
The entire procedure has three parts: data points → panel elements → block wiring.
- In the Program category, insert the Dashboard block into the program. This block must be executed repeatedly, for example inside repeat forever, to keep the panel running.
- Click on its button Open dashboard. The same panel can be opened via Device → Dashboard if the project contains the relevant block.
- An empty dashboard opens in edit mode with Data points management. Otherwise, select Edit first, then Data points.
- Add the points you want to display or control. Set a name, type and direction of communication for each. Confirm Apply.
- From the Widgets palette, add the required views and controls. Assign Data point to the selected element in its properties.
- Click on Save. Then, on the Blockly workspace, plug the values into the new inputs of the Dashboard block.
- Set initial values in the program with variables intended for control, even before the first pass through the dashboard.
- Run the project. Connect the panel to its run; details are in connection guide.
Opening the dashboard does not load the program
The Open dashboard button opens a panel and may attempt to connect to an already running program. It will not replace Run code by itself. An empty, unconnected, or not-yet-started project may therefore provide no data.
Edit mode¶

| Area | What it contains |
|---|---|
| Name | Naming the dashboard; with multiple dashboards, it helps to distinguish their panels. |
| Refresh | Required data sending period. Offers 50, 100, 250, 500ms or 1s. Default is 100ms. |
| Data points | Management of transmitted values, their types and direction of communication. |
| Widgets | A palette of views and controls that you can put on the workspace. |
| Properties | Setting the currently selected element, its point, label, range and other options. |
| Workspace | Positioning, resizing, and selecting elements. |
| Status bar | Panel status, time of last data, and summary of points and elements. |
You add the element by clicking in the palette or by dragging it to the workspace. Then select it and set its properties. An unavailable element usually does not have a suitable data point in the design: for example, for text input you need a writable point of type Text.
Shift and size of elements¶
- Drag element header to move.
- The lower right corner is used to change the size.
- Width and Height in grid units can be specified in properties. It is not the number of pixels of the monitor.
- When the header is focused, use Alt + Arrows to move and Alt + Shift + Arrows to size.
- A cross/trash on an element or Remove in the properties will remove the element. The data point remains the same.
On a narrower surface, the layout adapts to the available space. Direct input of dimensions and listed key grid adjustments are available in full 12-column layout.
In Edit mode, controls do not send changes to the program. Entering edits disconnects the active panel, but does not itself stop the running program.
What the main buttons do¶
| Button or option | Meaning |
|---|---|
| Edit | Opens the design panel; the active dashboard connection is terminated. |
| Data points | Opens the management of points in the draft in progress. Apply will accept the changes to the design, not yet save them to the block. |
| Save | Saves the design to the Dashboard block and returns the panel to operational mode. |
| Cancel | Discards panel modifications in progress and returns the saved configuration. |
| Run project | It loads and runs the current project using the usual ESP IDE path, then opens a panel for it. |
| Stop project | Stops the program, just like stopping from the main IDE. |
| Connect to program | Connects the panel to the corresponding program already running. It does not reload or restart the project from the beginning. |
| Disconnect panel | Terminates the dashboard transfer. The program continues. |
| Export / Import | Transfers panel configuration in file .espdash.json. It is not an export of the entire program. |
| Save for standalone HMI | The next time you upload a project, it also saves the configuration of this panel to the device. Default is off. |
Saving a design in a block does not replace saving the entire block project. To preserve the program, its input links and the dashboard, also save the .blk project or use project sharing.
Operating mode¶

In operation mode, the values are updated according to the program. The controls are usable after connecting and receiving the relevant data. A dash or Waiting for data in a freshly opened panel is not a measured zero.
In the bottom line, watch the last update time. The old value may still be the last value received correctly displayed; but it does not mean that the program has just sent a new sample.
Window control¶
Dashboard can be used as a maximized window or as Floating window above the IDE. Move the floating panel behind the entire top header, away from its buttons; decrease the size using the handle in the lower right corner. The Expand window button will return it to the large view.
Design edits open in zoomed mode. Switching to a floating window is unavailable during editing.
Closing a window terminates its connection, not the program on the device. It is a different action than Stop project.
Multiple dashboards in one project¶
A project can contain multiple Dashboard blocks with custom points and layouts. The panel then offers a dashboard selection in the top bar. Opening with a button on a specific block will select this particular dashboard; the menu item opens the first available one.
The program must repeatedly go through the dashboard block you want to use. Switching the panel to another dashboard does not itself change the flow of the program or cause its block to be executed.
Each dashboard can have a maximum of 32 data points and 64 elements. Multiple elements above the same point do not increase the number of block inputs.