User Association & Notification Names
When a duress alert is triggered, the notification that appears on other devices includes a subject name — this is the person who triggered the alert. Understanding where this name comes from is critical for fixing mismatches.
Where the notification name comes from
Section titled “Where the notification name comes from”The portal builds the notification command using its own device record, not the device’s internal data.
The field associatedUser from the portal’s device list is used as
the subj in the MQTT command.
Fallback order:
associatedUser(if set)device.name(the device’s display name in the portal)"Unknown User"
What the device itself stores (independent)
Section titled “What the device itself stores (independent)”The device’s own duresshome DV shows
user_name and user_role widgets. These are set by the device’s
allocation configuration (vname, vrole) and are displayed to
the wearer.
These values are never used for alert notifications. The portal
does not read the device’s vname or user_name widget.
How to verify
Section titled “How to verify”- Open the portal’s device list and find the device that triggered the duress.
- Look at the “Associated User” column.
- Compare it with the expected name.
- Optionally, the device’s
user_namewidget can be inspected via MQTT (fget /dvs/duresshome.jsonor viadevdata), but this only confirms the device’s internal setting — it does not affect the notification.
How to fix a wrong notification name
Section titled “How to fix a wrong notification name”- Do not try to change the device’s
vnameor duress DV. - Instead, update the Associated User field in the portal (Device Assignment page or API).
- After updating, the next duress alert will use the new name.
Related
Section titled “Related”- Duress App Overview – the full alert flow
- Troubleshooting – step‑by‑step for common issues
- duresshome DV – where the wearer’s name is shown
- duress DV – where the notification appears