UNPKG

homebridge-shinobi

Version:

A Homebridge plugin integrating Shinobi for motion detector cameras

39 lines 1.26 kB
import { CharacteristicGetCallback, HAP, PlatformAccessory, PlatformConfig } from 'homebridge'; import { ShinobiHomebridgePlatform } from './platform'; export declare type Monitor = { displayName: string; useSubStream: boolean; proxyStream: boolean; monitorConfig: { monitor_id: string; }; shinobiConfig: any; }; /** * Shinobi Monitor Accessory */ export declare class ShinobiMonitorAccessory { private readonly platform; private readonly accessory; private readonly monitor; readonly config: PlatformConfig; readonly hap: HAP; private motionService; private readonly shinobiStreamingDelegate; private motionDetected; constructor(platform: ShinobiHomebridgePlatform, accessory: PlatformAccessory, monitor: Monitor, config: PlatformConfig); /** * Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. */ getMotionDetected(callback: CharacteristicGetCallback): void; /** * Handle update from shinobi webhook */ setMotionDetected(detected: boolean): void; /** * Handle homebridge shutdown */ shutdown(): void; } //# sourceMappingURL=shinobiMonitorAccessory.d.ts.map