import type { API, Characteristic, DynamicPlatformPlugin, Logging, PlatformAccessory, PlatformConfig, Service, UnknownContext } from "homebridge"; import { AccessoryBase } from "./accessoryBase.js"; import { BlindsController } from "./blindsController.js"; import { LoxoneWebinterface } from "./loxone/loxoneWebinterface.js"; import { PlatformFanAccessory } from "./platformFanAccessory.js"; import { PlatformLightAccessory } from "./platformLightAccessory.js"; import { PlatformOutletAccessory } from "./platformOutletAccessory.js"; import { PlatformTemperatureAccessory } from "./platformTemperatureAccessory.js"; import { PlatformToggleAccessory } from "./platformToggleAccessory.js"; import { PlatformCentralBlindsAccessory } from "./platformCentralBlindsAccessory.js"; import { PlatformWindowCoveringAccessory } from "./platformWindowCoveringAccessory.js"; import { Logger } from "./logger.js"; /** * 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 LoxoneControlPlatform implements DynamicPlatformPlugin { readonly log: Logging; readonly config: PlatformConfig; readonly api: API; readonly Service: typeof Service; readonly Characteristic: typeof Characteristic; readonly accessories: Map; readonly discoveredCacheUUIDs: string[]; readonly CustomServices: any; readonly CustomCharacteristics: any; readonly logger: Logger; readonly instances: AccessoryBase[]; blindsController: BlindsController; private requestServer?; private loxoneWebinterface; private loxoneWebinterfaceReady; private allStates; constructor(log: Logging, config: PlatformConfig, api: API); /** * This function is invoked when homebridge restores cached accessories from disk at startup. * It should be used to set up event handlers for characteristics and update respective values. */ configureAccessory(accessory: PlatformAccessory): 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; /** * Custom code of the loxone platform plugin */ createHttpService(): void; private parseQuery; private findInstanceByName; private jsonResponse; private handleRequest; toggleAccessoryState(identifier: string): Promise; setAccessoryStateOn(identifier: string): Promise; identifyAccessory(identifier: string): Promise; createDeviceInstance(identifier: string, accessory: PlatformAccessory): PlatformWindowCoveringAccessory | PlatformFanAccessory | PlatformLightAccessory | PlatformOutletAccessory | PlatformTemperatureAccessory | PlatformToggleAccessory | PlatformCentralBlindsAccessory | null; getLoxoneWebinterface(): import("puppeteer-core").Page | null | undefined; getLoxoneWebinterfaceInstance(): LoxoneWebinterface | null; markWebinterfaceNotReady(): void; onReady(): Promise; onStatusUpdateBefore(newValue: any): void; onStatusUpdate(stateContainer: any): void; resetAllBlindAutoCooldowns(): void; sendCommandToAllBlinds(commands: string[]): Promise; }