type alias LedState

The LED settings in <LedState>.

Properties

optional
channelId: number

Zero-based channel, 0 to 63.

optional
ledVersion: number

LED feature version, 0 to 2.

optional
state: "auto" | "close" | "open"

Infrared LED mode.

optional
lightState: "close" | "open"

Status light on or off.

optional
doorbellLightState: "close" | "open" | "keepOff" | "keepOn"

The doorbell button's light. Video Doorbell PoE only: its nets_led_state_s2x writes it after lightState.

Usage

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