type alias DeviceTime

The fields of <Time>.

Properties

timeMode: string

<timeMode>: where the clock comes from. NTP, manual, local, satellite or timecorrect; an NVR enrolled with a cloud platform reports platform.

localTime: string

<localTime>: the device clock as ISO 8601 text, such as 2026-10-22T11:33:52+04:00. Some firmware leaves the offset out.

timeZone: string

<timeZone>: a POSIX TZ string such as CST-4:00:00.

optional
utcOffsetMinutes: number

The standard-time UTC offset of timeZone in minutes, ISO-style: CST-4:00:00 gives 240. Absent when timeZone does not parse.

optional
platformType: string

<platformType>, such as EZVIZ, when timeMode is platform.

Usage

import { type DeviceTime } from ".";