UNPKG

magichome-platform

Version:

discover, control, and receive status for magichome devices

20 lines 901 B
import { BaseController } from "./baseController"; import { DeviceBundle } from "magichome-core"; export declare class ControllerGenerator { private interfaceOptions; private _activeControllers; set activeControllers(activeControllers: Map<string, BaseController>); get activeControllers(): Map<string, BaseController>; getDevices(subnets: string[]): Promise<Map<string, BaseController>>; discoverDeviceBundles(subnets: string[]): Promise<DeviceBundle[]>; private generateControllers; /** * class function scanForUniqueIds * This is a function that will scan the network for devices with the provided uniqueIds * @param uniqueIds * @returns */ scanForUniqueIds(uniqueIds: string[], subnets?: string[]): Promise<Map<string, BaseController>>; private iterateDevices; } //# sourceMappingURL=controllerGenerator.d.ts.map