Skip to content

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
}
}
}

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 } } }

If true, a new alert automatically cancels the current one.

Configuration variables

  • Type: boolean
  • Default: true
{ "devcfg": { "alert": { "cancelByReplace": false } } }

Triggers an alert on a double‑click of the Home button.

Configuration variables

  • Type: boolean
  • Default: true
{ "devcfg": { "alert": { "onHomeDClk": false } } }

If true, pressing the Home button cancels the current alert.

Configuration variables

  • Type: boolean
  • Default: true
{ "devcfg": { "alert": { "cancelByHome": false } } }

Triggers an alert when the Duress button is pressed.

Configuration variables

  • Type: boolean
  • Default: true
{ "devcfg": { "alert": { "onDuress": false } } }

Triggers an alert when a fall is detected by the accelerometer.

Configuration variables

  • Type: boolean
  • Default: false
{ "devcfg": { "alert": { "onFall": true } } }

Triggers an alert when a shock is detected by the accelerometer.

Configuration variables

  • Type: boolean
  • Default: false
{ "devcfg": { "alert": { "onShock": true } } }

Triggers an alert on a double‑tap gesture.

Configuration variables

  • Type: boolean
  • Default: false
{ "devcfg": { "alert": { "onDTap": true } } }

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 } } }

Triggers an alert on a long press of the Blue button.

Configuration variables

  • Type: boolean
  • Default: false
{ "devcfg": { "alert": { "onBlue": true } } }

Triggers an alert when Blue and Red are pressed together.

Configuration variables

  • Type: boolean
  • Default: false
{ "devcfg": { "alert": { "onBlueRed": true } } }

Triggers an alert when Duress and Red are pressed together.

Configuration variables

  • Type: boolean
  • Default: false
{ "devcfg": { "alert": { "onDuressRed": true } } }

Triggers an alert when Duress and Blue are pressed together.

Configuration variables

  • Type: boolean
  • Default: false
{ "devcfg": { "alert": { "onDuressBlue": true } } }

Triggers an alert when Duress and Grey are pressed together.

Configuration variables

  • Type: boolean
  • Default: false
{ "devcfg": { "alert": { "onDuressGrey": true } } }

Triggers an alert when Duress, Blue, and Red are all pressed together.

Configuration variables

  • Type: boolean
  • Default: false
{ "devcfg": { "alert": { "onDuressBlueRed": true } } }

How many seconds the device must remain prone before onProne triggers an alert.

Configuration variables

  • Type: integer
  • Default: 10
{ "devcfg": { "alert": { "proneTimeSecs": 20 } } }

If true, the LED(s) flash when an alert is active.

Configuration variables

  • Type: boolean
  • Default: true
{ "devcfg": { "alert": { "showFlash": false } } }

If true, the vibration motor runs when an alert is active.

Configuration variables

  • Type: boolean
  • Default: true
{ "devcfg": { "alert": { "showVibr": false } } }

If true, the speaker plays the alert tone when an alert is active.

Configuration variables

  • Type: boolean
  • Default: true
{ "devcfg": { "alert": { "showSound": false } } }

If true, a visual message is shown on the screen during an alert.

Configuration variables

  • Type: boolean
  • Default: true
{ "devcfg": { "alert": { "showMsg": false } } }

Sound to play when a new alert message arrives (from backend).

Configuration variables

  • Type: string (audio code)
  • Default: "AT1"
{ "devcfg": { "alert": { "onMsgSound": "AT2" } } }

Vibration pattern to play when a new alert message arrives.

Configuration variables

  • Type: string (vibr song)
  • Default: "V10"
{ "devcfg": { "alert": { "onMsgVibr": "V20S10V20" } } }

If true, the LED flashes when a new alert message arrives.

Configuration variables

  • Type: boolean
  • Default: true
{ "devcfg": { "alert": { "onMsgFlash": false } } }

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 } } }

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 } } }