Allocated Home DV (allocated_home.json)
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