homebridge-loxone-proxy
Version:
Homebridge Dynamic Platform Plugin which exposes a Loxone System to Homekit.
30 lines • 968 B
TypeScript
import { LoxonePlatform } from '../LoxonePlatform';
declare class LoxoneHandler {
private socket;
private loxdata;
private log;
private host;
private port;
private tls;
private username;
private password;
private uuidCallbacks;
private uuidCache;
constructor(platform: LoxonePlatform);
private startListener;
private connect;
private startBinaryStatusUpdates;
private reconnect;
registerListenerForUUID(uuid: string, callback: (message: string) => void): void;
sendCommand(uuid: string, action: string): Promise<any>;
getsecuredDetails(uuid: string): Promise<string>;
getActiveCommunicationToken(): string | undefined;
getLastCachedValue(uuid: string): string;
pushCachedState(accessory: {
device: any;
ItemStates: any;
callBackHandler: (msg: any) => void;
}, uuid: string): void;
}
export default LoxoneHandler;
//# sourceMappingURL=LoxoneHandler.d.ts.map