type alias SleepState

The privacy state in <sleepState>.

Properties

optional
operate: number

Request only: the operation; cmd 575 succeeds only with 2.

optional
sleep: number

The stored sleep word. 1 makes the doorbell refuse live view (cmd 3) and snapshots (cmd 109); 0 is the ordinary state.

optional
mode: number

Request only: parsed but unused on the doorbell.

optional
panPos: number

Request only: pan position; parsed but unused on the doorbell.

optional
tiltPos: number

Request only: tilt position; parsed but unused on the doorbell.

optional
imageName: string

Request only: an image name up to 32 bytes; parsed but unused on the doorbell.

Usage

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