Skip to content

Alert Origins

The origin field in devdata.alert indicates what triggered the current alert. This value is sent automatically on every alert state change.

{
"devdata": {
"alert": {
"alerting": true,
"origin": 2,
},
},
}
Value Name Description
0 NONE No active alert
1 APP Triggered by backend (devcfg.alert.trigger)
2 DURESS_BUTTON Duress button pressed
3 LPRED Red button long press
4 DCLKHOME Home button double‑click
5 PRONE Prone position detected (FU or FD)
6 DTAP Double‑tap detected
7 SHOCK Shock detected
8 FALL Fall detected
9 AUDIO Audio trigger
10 BLUERED Blue and Red buttons pressed together
11 DURESSRED Duress and Red buttons pressed together
12 DURESSBLUE Duress and Blue buttons pressed together
13 DURESSBLUERED Duress, Blue, and Red buttons pressed together
14 DURESSGREY Duress and Grey buttons pressed together
15 LPBLUE Blue button long press