Accelerometer Config
Controls the accelerometer and the motion‑detection algorithms for tap, double‑tap, fall, and shock events.
Key path: devcfg.accel
{ "devcfg": { "accel": { "enable": true, "enableDTap": true, "enableTap": true, "enableFall": true, "enableShock": true, "wantXYZ": false } }}enable
Section titled “enable”Master switch for the accelerometer. When false, no motion data is
collected.
Configuration variables
- Type: boolean
- Default:
true
{ "devcfg": { "accel": { "enable": false } } }enableDTap
Section titled “enableDTap”Enable double‑tap detection.
Configuration variables
- Type: boolean
- Default:
true
{ "devcfg": { "accel": { "enableDTap": false } } }enableTap
Section titled “enableTap”Enable single‑tap detection.
Configuration variables
- Type: boolean
- Default:
true
{ "devcfg": { "accel": { "enableTap": false } } }enableFall
Section titled “enableFall”Enable fall detection.
Configuration variables
- Type: boolean
- Default:
true
{ "devcfg": { "accel": { "enableFall": false } } }enableShock
Section titled “enableShock”Enable shock detection.
Configuration variables
- Type: boolean
- Default:
true
{ "devcfg": { "accel": { "enableShock": false } } }wantXYZ
Section titled “wantXYZ”If true, the device includes raw X‑Y‑Z acceleration values in the
uplink devdata.accel.xyzG array.
Configuration variables
- Type: boolean
- Default:
false
{ "devcfg": { "accel": { "wantXYZ": true } } }Related
Section titled “Related”- Alert Config —
onFall,onShock,onDTap - Sensors (Uplink) — accelerometer data