type alias Md

The motion detection settings in <MD>.

Properties

optional
channelId: number

Zero-based channel.

optional
enable: number

1 when motion detection is on, 0 when off.

optional
usepir: number

1 to use the PIR sensor, 0 not to.

optional
width: number

Detection grid columns, 1 to 155.

optional
height: number

Detection grid rows, 1 to 100.

optional
scope: { columns: number; rows: number; valueTable?: string; }

The detection grid.

Exactly four fixed sensitivity periods.

optional
sensInfoNew: { sensitivityDefault?: number; sensInfoList?: MdSensInfo[]; }

Sensitivity periods with priorities.

Weekly schedule, as runs of hours per weekday.

optional
handleException: { handleType?: string; chnHandleType?: string; relAlarmOut?: string; }

What to do on motion.

Usage

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