Alert Config
Controls what events trigger an alert, how the alert behaves once
active, and how the device notifies the user.
The trigger and cancel parameters are one‑shot — set them to
true to fire or cancel; the device resets them to false immediately.
Key path: devcfg.alert
{ "devcfg": { "alert": { "enabled": true, "cancelByReplace": true, "onHomeDClk": true, "cancelByHome": true, "onDuress": true, "onFall": false, "onShock": false, "onDTap": false, "onProne": false, "onRed": false, "onBlue": false, "onBlueRed": false, "onDuressRed": false, "onDuressBlue": false, "onDuressGrey": false, "onDuressBlueRed": false, "proneTimeSecs": 10, "showFlash": true, "showVibr": true, "showSound": true, "showMsg": true, "onMsgSound": "AT1", "onMsgVibr": "V10", "onMsgFlash": true, "cancel": false, "trigger": false } }}enabled
Section titled “enabled”Master switch for the alert system. When false, no alert triggers
(button, sensor, or backend) will activate the alert state.
Configuration variables
- Type: boolean
- Default:
true
{ "devcfg": { "alert": { "enabled": false } } }cancelByReplace
Section titled “cancelByReplace”If true, a new alert automatically cancels the current one.
Configuration variables
- Type: boolean
- Default:
true
{ "devcfg": { "alert": { "cancelByReplace": false } } }onHomeDClk
Section titled “onHomeDClk”Triggers an alert on a double‑click of the Home button.
Configuration variables
- Type: boolean
- Default:
true
{ "devcfg": { "alert": { "onHomeDClk": false } } }cancelByHome
Section titled “cancelByHome”If true, pressing the Home button cancels the current alert.
Configuration variables
- Type: boolean
- Default:
true
{ "devcfg": { "alert": { "cancelByHome": false } } }onDuress
Section titled “onDuress”Triggers an alert when the Duress button is pressed.
Configuration variables
- Type: boolean
- Default:
true
{ "devcfg": { "alert": { "onDuress": false } } }onFall
Section titled “onFall”Triggers an alert when a fall is detected by the accelerometer.
Configuration variables
- Type: boolean
- Default:
false
{ "devcfg": { "alert": { "onFall": true } } }onShock
Section titled “onShock”Triggers an alert when a shock is detected by the accelerometer.
Configuration variables
- Type: boolean
- Default:
false
{ "devcfg": { "alert": { "onShock": true } } }onDTap
Section titled “onDTap”Triggers an alert on a double‑tap gesture.
Configuration variables
- Type: boolean
- Default:
false
{ "devcfg": { "alert": { "onDTap": true } } }onProne
Section titled “onProne”Triggers an alert when the device remains in a prone position
(face‑up or face‑down) for proneTimeSecs seconds.
Configuration variables
- Type: boolean
- Default:
false
{ "devcfg": { "alert": { "onProne": true } } }Triggers an alert on a long press of the Red button.
Long‑press duration is 3 seconds (2 seconds in earlier firmware).
Configuration variables
- Type: boolean
- Default:
false
{ "devcfg": { "alert": { "onRed": true } } }onBlue
Section titled “onBlue”Triggers an alert on a long press of the Blue button.
Configuration variables
- Type: boolean
- Default:
false
{ "devcfg": { "alert": { "onBlue": true } } }onBlueRed
Section titled “onBlueRed”Triggers an alert when Blue and Red are pressed together.
Configuration variables
- Type: boolean
- Default:
false
{ "devcfg": { "alert": { "onBlueRed": true } } }onDuressRed
Section titled “onDuressRed”Triggers an alert when Duress and Red are pressed together.
Configuration variables
- Type: boolean
- Default:
false
{ "devcfg": { "alert": { "onDuressRed": true } } }onDuressBlue
Section titled “onDuressBlue”Triggers an alert when Duress and Blue are pressed together.
Configuration variables
- Type: boolean
- Default:
false
{ "devcfg": { "alert": { "onDuressBlue": true } } }onDuressGrey
Section titled “onDuressGrey”Triggers an alert when Duress and Grey are pressed together.
Configuration variables
- Type: boolean
- Default:
false
{ "devcfg": { "alert": { "onDuressGrey": true } } }onDuressBlueRed
Section titled “onDuressBlueRed”Triggers an alert when Duress, Blue, and Red are all pressed together.
Configuration variables
- Type: boolean
- Default:
false
{ "devcfg": { "alert": { "onDuressBlueRed": true } } }proneTimeSecs
Section titled “proneTimeSecs”How many seconds the device must remain prone before onProne
triggers an alert.
Configuration variables
- Type: integer
- Default:
10
{ "devcfg": { "alert": { "proneTimeSecs": 20 } } }showFlash
Section titled “showFlash”If true, the LED(s) flash when an alert is active.
Configuration variables
- Type: boolean
- Default:
true
{ "devcfg": { "alert": { "showFlash": false } } }showVibr
Section titled “showVibr”If true, the vibration motor runs when an alert is active.
Configuration variables
- Type: boolean
- Default:
true
{ "devcfg": { "alert": { "showVibr": false } } }showSound
Section titled “showSound”If true, the speaker plays the alert tone when an alert is active.
Configuration variables
- Type: boolean
- Default:
true
{ "devcfg": { "alert": { "showSound": false } } }showMsg
Section titled “showMsg”If true, a visual message is shown on the screen during an alert.
Configuration variables
- Type: boolean
- Default:
true
{ "devcfg": { "alert": { "showMsg": false } } }onMsgSound
Section titled “onMsgSound”Sound to play when a new alert message arrives (from backend).
Configuration variables
- Type: string (audio code)
- Default:
"AT1"
{ "devcfg": { "alert": { "onMsgSound": "AT2" } } }onMsgVibr
Section titled “onMsgVibr”Vibration pattern to play when a new alert message arrives.
Configuration variables
- Type: string (vibr song)
- Default:
"V10"
{ "devcfg": { "alert": { "onMsgVibr": "V20S10V20" } } }onMsgFlash
Section titled “onMsgFlash”If true, the LED flashes when a new alert message arrives.
Configuration variables
- Type: boolean
- Default:
true
{ "devcfg": { "alert": { "onMsgFlash": false } } }cancel
Section titled “cancel”Set to true to cancel the current alert from the backend.
The device resets this flag after processing.
Configuration variables
- Type: boolean
- Default:
false - One-shot: yes
{ "devcfg": { "alert": { "cancel": true } } }trigger
Section titled “trigger”Set to true to force‑trigger an alert from the backend.
The device resets this flag after processing.
Configuration variables
- Type: boolean
- Default:
false - One-shot: yes
{ "devcfg": { "alert": { "trigger": true } } }Related
Section titled “Related”- Alert State (Uplink) —
alertingflag and origin enum - Audio Config — tone codes and volume limits
- Alert Origins Reference — complete origin enum (0‑15)