homebridge-hikvision-local
Version:
Homebridge plugin that connects to your HikVision DVR via a local connection and exposes your cameras in Homebridge. The plugin is heavily based on excellent [homebridge-camera-ffmpeg](https://github.com/Sunoo/homebridge-camera-ffmpeg) and the various hom
27 lines • 787 B
TypeScript
import { PlatformConfig } from 'homebridge';
export interface HikVisionNvrApiConfiguration extends PlatformConfig {
host: string;
port: number;
secure: boolean;
ignoreInsecureTls: boolean;
username: string;
password: string;
debugFfmpeg: boolean;
doorbells: string[];
debug: boolean;
}
export declare class HikvisionApi {
private _http;
private _httpStream;
private _parser?;
private log?;
_baseURL?: string;
connected: boolean;
constructor(config: HikVisionNvrApiConfiguration, log: any);
getSystemInfo(): Promise<any>;
getCameras(): Promise<any>;
startMonitoringEvents(callback: (value: any) => any): Promise<void>;
private getStream;
private _getResponse;
}
//# sourceMappingURL=HikvisionApi.d.ts.map