homebridge-http-motion-sensor
Version:
Homebridge plugin for a remote motion sensor based on http
20 lines (19 loc) • 638 B
TypeScript
import { AccessoryPlugin, API, HAP, Logging, Service } from 'homebridge';
export declare class HttpMotionSensorAccessory implements AccessoryPlugin {
private readonly log;
private readonly api;
readonly name: string;
private readonly config;
private motionDetected;
private timeout;
private readonly motionSensorService;
private readonly informationService;
private server?;
private readonly bindIP;
constructor(log: Logging, config: unknown, api: API, hap: HAP);
private setupHttpServer;
private httpHandler;
private getState;
private shutdown;
getServices(): Service[];
}