Skip to content

Vibration Config

Defines vibration patterns and the duration of the haptic pulse used for touch feedback.

Key path: devcfg.vibr

{
"devcfg": {
"vibr": {
"song": "V10S10V20S10V30",
"hapticDurMS": 100
}
}
}

Important To play a vibration pattern immediately, send an action — do not use devcfg. See Vibr action. Setting song here only changes the default pattern played on the next alert; it does not vibrate the device itself.

Vibration song string. A sequence of V (vibrate) and S (silence) tokens, each followed by a duration in units of 100 ms.

Configuration variables

  • Type: string
  • Default: "V10S10V20S10V30"
TokenMeaning
V + numberVibrate for number × 100 ms
S + numberSilence for number × 100 ms
{ "devcfg": { "vibr": { "song": "V20S5V20" } } }

Duration of the haptic vibration when a touch button is pressed. Set to 0 to disable touch haptics.

Configuration variables

  • Type: integer (milliseconds)
  • Default: 100
{ "devcfg": { "vibr": { "hapticDurMS": 200 } } }