Simple vibration chart card with background
Who it’s for
Maintenance engineers, reliability technicians, and plant operators ask “can I see vibration trend and severity at a glance?” The background variant combines a compact sparkline with a full-card color signal for wall-mounted maintenance center displays.
What it does
A device reporting vibration = 2.1 mm/s renders a compact sparkline-style trend line and the current value on a card whose entire background fills with the severity level color: green for Good (below 2.8 mm/s), orange for Moderate (2.8–4.5 mm/s), dark orange for Elevated (4.5–7.1 mm/s), and red for High (above 7.1 mm/s).
- Full-card background color makes vibration severity level readable across a room without reading the number
- Compact sparkline chart shows vibration direction at a glance in a space-efficient layout
- Shows one asset’s data per widget; add multiple widgets to monitor different pumps or motors side by side
How to set up
Data keys
| Key | Role | Type | Description |
|---|---|---|---|
vibration | Chart series | Timeseries | Vibration velocity in mm/s; change the key name to match your device’s telemetry key |
| Latest | Latest value | Timeseries | The headline figure above the chart. Its own color ranges are where the band colors are edited |
The widget ships with a simulated function datasource key labeled Vibration, so it draws random values until you point the datasource at a device and rename the key.
To point it at your own device: open the dashboard in edit mode, open the widget’s Datasources, pick the entity or entity alias, and replace the function key with the key your device reports.
Value ranges
| Range (mm/s) | Level | Color |
|---|---|---|
| 0–2.8 | Good | Green |
| 2.8–4.5 | Moderate | Orange |
| 4.5–7.1 | Elevated | Dark Orange |
| 7.1+ | High | Red |
How to customize
- To change the severity thresholds — edit the color ranges on the Latest data key to match your machinery class per ISO 10816.
- To change the background colors — edit the color of each range on the Latest data key.
- To rename the units label — change the Units field in the widget settings if needed.
Tips
- On a maintenance center wall display, the colored background announces current machine condition from across the room while the sparkline shows whether vibration is stable, worsening, or recovering after maintenance.
- Use this card when you need both a trend signal and at-a-glance severity status in a compact footprint — for example, one card per critical pump on a machinery health overview screen.
- Use consistent severity colors across all vibration widgets.
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.