Container
A Container groups related widgets into one tile, so a busy dashboard stays tidy. Tap the container to open it and see the widgets inside, like a folder of apps on a phone.
Try it
Press Start Clubbing, tap two or more widgets, give the container a name like Pump room, then press Finish Clubbing. Tap the container to open it. The widgets inside keep working.
How to add and set up
- Open the dashboardOpen the device. Clubbing works in normal view, not in edit mode.
- Start ClubbingOpen the dashboard menu and choose Start Clubbing.
- Select the widgetsTap two or more widgets to select them.
- Finish Clubbing and name itChoose Finish Clubbing and type a name, for example Dehradun Site or Bedroom 2. The container appears on the dashboard with that name.
- Open itTap the container. It opens over the dashboard with its widgets inside. Tap the back arrow at the top left to close.
- Add more laterIn edit mode, drag a widget onto the container and confirm Move Widget to put it inside.
Settings
| Action | What it does |
|---|---|
| Rename | Changes the name shown under the container (edit mode → container menu). |
| Ungroup | Puts every widget back on the dashboard and removes the container. |
| Remove from Container | On a widget inside: moves just that widget back out. |
| Info | A short card about the container. |
How it looks
On the dashboard a container is drawn like an app folder on a phone: a frosted square with up to three big tiles and, in the fourth corner, a small group of the rest. Each tile is a tiny live version of its widget — a switch shows its state, an LED its glow, a graph its curve — in a colour per widget type. A container needs at least two widgets.
Code for your device
A Container needs no code of its own. The widgets inside keep their Telemetry Points, so your board reads and writes them exactly as on the main dashboard.
SME_LISTEN(TP0) // a Switch inside the container
{
digitalWrite(PUMP_PIN, data.toInt());
}
SME.publish(TP1, reading); // a Value or Gauge inside the containerSee the guide for each widget for its code: Switch, Button, Slider, LED, Value, Gauge and Graph.
Docs