UNPKG

homebridge-lookin-http-ac

Version:
16 lines (15 loc) 479 B
import { EventEmitter } from 'events'; import type { Logging } from 'homebridge'; export declare class SensorPoller extends EventEmitter { private readonly ip; private readonly name; private readonly log; private readonly intervalMs; temperature: number; humidity: number; private intervalHandle?; constructor(ip: string, name: string, log: Logging, intervalMs?: number); private startPolling; private fetchSensorData; stop(): void; }