@homebridge-plugins/homebridge-roomba
Version:
homebridge-plugin for Roomba devices
40 lines • 1.29 kB
TypeScript
import type { RobotMission } from 'dorita980';
import type { PlatformConfig } from 'homebridge';
import type { Robot } from './roomba.js';
/**
* This is the name of the platform that users will use to register the plugin in the Homebridge config.json
*/
export declare const PLATFORM_NAME = "Roomba";
/**
* This must match the name of your plugin as defined the package.json
*/
export declare const PLUGIN_NAME = "@homebridge-plugins/homebridge-roomba";
export interface RoombaPlatformConfig extends PlatformConfig {
devices: DeviceConfig[];
disableDiscovery?: boolean;
idleWatchInterval?: number;
debug?: boolean;
}
export interface DeviceConfig extends Robot {
name: string;
model: string;
serialnum?: string;
blid: string;
robotpwd: string;
ipaddress: string;
cleanBehaviour: 'everywhere' | 'rooms';
mission?: RobotMission;
stopBehaviour: 'home' | 'pause';
/**
* Idle Poll Interval (minutes).
* How often to poll Roomba's status when it is idle.
*/
idleWatchInterval?: number;
dockContactSensor?: boolean;
runningContactSensor?: boolean;
binContactSensor?: boolean;
dockingContactSensor?: boolean;
homeSwitch?: boolean;
tankContactSensor?: boolean;
}
//# sourceMappingURL=settings.d.ts.map