type alias DingdongDeviceOpt

The chime operation in <dingdongDeviceOpt>.

Properties

optional
id: number

Chime id, 0 or more.

optional
opt:
"addDevice"
| "delDevice"
| "getParam"
| "setParam"
| "ringWithMusic"

What to do with the chime; request only.

optional
musicId: number

Ringtone id, 0 or more; request only.

optional
volLevel: number

Volume level. Its range is not established.

optional
ledState: number

LED state. Its values are not established.

optional
name: string

Chime name, up to 31 bytes.

Usage

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