Skip to main content
Category: Display · Reads data: yes (points) · Sends commands: no

Mental model

A Heatmap is a thermal camera view. It renders a grid of points as a color gradient — dense/hot vs. sparse/cool — for pressure maps, coverage, or intensity.

When to use it

  • Pressure or intensity across a surface (e.g. a foot pressure sensor)
  • Density / coverage visualization

Settings

Style

  • Color scheme · custom colors
  • Min / Max value — scale
  • Point shape · size
  • Contour color / width

Example — push points from firmware

The Arduino library has a dedicated helper:
std::vector<HeatMapPoint> pts = { {0,0,10}, {1,0,42}, {2,1,88} };  // x, y, value
device.updateHeatMap(targetId, "pressureMap", pts);

Script API example

The same interactions from a dashboard script:
widget.on('pressureMap', 'update', () => {
  widget.setText('mapStatus', 'Updated ' + new Date().toLocaleTimeString());
});

Arduino API

updateHeatMap and other widget helpers.