UNPKG

homebridge-unifi-protect

Version:

Homebridge UniFi Protect plugin providing complete HomeKit integration for the entire UniFi Protect ecosystem with full support for most features including HomeKit Secure Video, multiple controllers, blazing fast performance, and much more.

19 lines (18 loc) 742 B
import type { PlatformAccessory } from "homebridge"; import type { ProtectViewerConfig } from "unifi-protect"; import { ProtectDevice } from "./protect-device.js"; import type { ProtectNvr } from "../protect-nvr.js"; export declare class ProtectViewer extends ProtectDevice { ufp: ProtectViewerConfig; constructor(nvr: ProtectNvr, device: ProtectViewerConfig, accessory: PlatformAccessory); private configureDevice; updateDevice(configureHandlers?: boolean): string[]; private updateLiveviewSwitchState; private configureLiveviewSwitch; private getLiveviewSwitchState; private setLiveviewSwitchState; private addLiveviewSwitch; private setViewer; private configureMqtt; private eventHandler; }