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.
26 lines (25 loc) • 963 B
TypeScript
import type { Nullable } from "homebridge-plugin-utils";
import type { ProtectEventMetadata } from "unifi-protect";
import type { ProtectCamera, ProtectDevice } from "./devices/index.js";
import { EventEmitter } from "node:events";
import type { ProtectNvr } from "./protect-nvr.js";
export declare class ProtectEvents extends EventEmitter {
private api;
private hap;
private log;
private mqttPublishTelemetry;
private nvr;
private readonly eventTimers;
private ufpApi;
private ufpDeviceState;
private platform;
private unsupportedDevices;
constructor(nvr: ProtectNvr);
private updateUfp;
private ufpUpdates;
private manageDevices;
private configureEvents;
motionEventHandler(protectDevice: ProtectDevice, detectedObjects?: string[], metadata?: ProtectEventMetadata): void;
private motionEventDelivery;
doorbellEventHandler(protectDevice: ProtectCamera, lastRing: Nullable<number>): void;
}