Badge Lock DV (badge_lock.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": "badge-lock","name": "badge-lock DataView","pages": []}Shown when the device is locked and unallocated. Displays the wearer’s name, role, and a duress flag (hidden unless alerting).
File: /dvs/badge_lock.json
Page 1 (id: "1")
Section titled “Page 1 (id: "1")”| Widget | Type | Behaviour |
|---|---|---|
user_name |
dynamic | Identity widget |
user_role |
dynamic | Identity widget |
duress_flag |
dynamic (hidden) | Identity widget |
duress_app/ MQTT interaction
Section titled “duress_app/ MQTT interaction”No duress_appdata. Identity values come from device config.
Related
Section titled “Related”- Identity widgets
- duresshome DV – the allocated equivalent