type alias DingdongCfgAlarm

One alarm rule of a chime, an <alarminCfg> in <deviceCfg>.

Properties

optional
type:
"visitor"
| "people"
| "package"
| "MD"
| "vehicle"
| "dog_cat"

The alarm that rings the chime; the reply lists only supported types.

optional
valid: number

1 when the rule is on; the firmware copies only 0 or 1.

optional
musicId: number

Ringtone id.

Usage

import { type DingdongCfgAlarm } from "protocol/params/mod.ts";