UNPKG

homebridge-caddx-interlogix

Version:

A homebridge plugin for integrating the ComNav/NetworX/CaddX NX-595E network module with HomeKit

42 lines 1.76 kB
import { API, DynamicPlatformPlugin, Logger, PlatformAccessory, PlatformConfig, Service, Characteristic } from 'homebridge'; import { NX595ESecuritySystem } from "./NX595ESecuritySystem"; /** * HomebridgePlatform * This class is the main constructor for your plugin, this is where you should * parse the user config and discover/register accessories with Homebridge. */ export declare class NX595EPlatform implements DynamicPlatformPlugin { readonly log: Logger; readonly config: PlatformConfig; readonly api: API; readonly Service: typeof Service; readonly Characteristic: typeof Characteristic; readonly accessories: PlatformAccessory[]; securitySystem: NX595ESecuritySystem; private pollTimer; private areaSequences; private zoneSequences; private zoneDeltas; private radarPersistence; private smokePersistence; private displayBypassSwitches; private displayOutputSwitches; private useHTTPS; private loggedIn; constructor(log: Logger, config: PlatformConfig, api: API); /** * This function is invoked when homebridge restores cached accessories from disk at startup. * It should be used to setup event handlers for characteristics and update respective values. */ configureAccessory(accessory: PlatformAccessory): void; didCompleteLogin(): boolean; setCatastrophe(accessories: any[]): void; updateAccessories(): Promise<void>; /** * This is an example method showing how to register discovered accessories. * Accessories must only be registered once, previously created accessories * must not be registered again to prevent "duplicate UUID" errors. */ discoverDevices(): void; } //# sourceMappingURL=platform.d.ts.map