homebridge-rachio-irrigation
Version:
Rachio Irrigation System platform plugin for [Homebridge](https://github.com/nfarina/homebridge).
23 lines (22 loc) • 934 B
TypeScript
import { Service, Characteristic, Logging } from 'homebridge';
import { BinaryLike, KeyObject } from 'node:crypto';
import RachioPlatform from './rachioplatform.js';
import RachioUpdate from './rachioupdate.js';
export default class listen {
private readonly platform;
private readonly log;
private rachio;
readonly Service: typeof Service;
readonly Characteristic: typeof Characteristic;
eventMsg: (systemService: Service | null, service: Service, myJson: any) => void;
constructor(platform: RachioPlatform, log?: Logging, rachio?: RachioUpdate);
configureListener(): void;
checkKey(secret: BinaryLike | KeyObject, signature: string, message: BinaryLike): boolean;
checkAuth(message: {
headers: {
authorization: string;
};
}): boolean;
webMessage(listener: any): void;
localMessage(systemService: Service | null, service: Service, myJson: any): void;
}