type alias FloodlightTask

The automatic floodlight settings in <FloodlightTask>.

Properties

optional
channel: number

Zero-based channel; the firmware rejects a negative value.

optional
alarmMode: number

1 when motion switches the light on; the same setting as enable.

optional
enable: number

The same setting as alarmMode.

optional
preview_auto: number

1 when the light switches on automatically for live view.

optional
duration: number

How long the light stays on.

optional
brightness_cur: number

Current brightness.

optional
brightness_max: number

Highest brightness.

optional
brightness_min: number

Lowest brightness.

Night-light window.

Window in which motion switches the light on.

optional
detectType: string

Objects that trigger the light, comma-separated: any of people, vehicle, face, other and dog_cat, or none.

Usage

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