Allocated Home DV (allocated_home.json)
Interactive preview & JSON source
Section titled “Interactive preview & JSON source”[!NOTE] Screenshot Placeholder: High-resolution rendering of this DataView on the CC2 e-paper display will be uploaded here.
// Raw DataView JSON payload scaffold (will be updated with full JSON){"id": "allocated-home","name": "allocated-home DataView","pages": []}Shown after allocation. Provides a self‑checkout flow, battery status, orientation, a pull‑test indicator, and a QR code of the device ID.
File: /dvs/allocated_home.json
Page 1: home (id: "1")
Section titled “Page 1: home (id: "1")”| Widget | Type | Behaviour |
|---|---|---|
devdata.fw.device_id |
dynamic | Dynamic devdata – TagID |
Checkout this device |
button | Navigates to test page |
Battery Status |
static | Label |
devdata.power.gauge |
dynamic | Battery percentage |
Page 2: QR (id: "2")
Section titled “Page 2: QR (id: "2")”| Widget | Type | Behaviour |
|---|---|---|
Device Id |
static | Label |
devdata.fw.device_id |
dynamic (graphic) | QR code of device ID |
Page 3: test (id: "test")
Section titled “Page 3: test (id: "test")”| Widget | Type | Behaviour |
|---|---|---|
devdata.power.gauge |
dynamic | Battery percentage |
devdata.accel.orient |
dynamic | Orientation (localized via dicts -> ALERT/OK) |
duress_pull |
dynamic | Pull test result (OK) |
test_result |
dynamic | Network test status (Wait/OK) |
Start |
button | Runs alloc_local |
Cancel |
button | Returns to page 1 |
duress_app/ MQTT interaction
Section titled “duress_app/ MQTT interaction”Self‑contained. No duress_appdata.
Related
Section titled “Related”- Dynamic devdata widgets
- Identity widgets – not used here (no user_name)
- unallocated_home DV – identical structure for unallocated state