HomebridgePlatform

This class is the main constructor for the iRobot Homebridge plugin.

Implements

  • DynamicPlatformPlugin

Constructors

Properties

accessories: PlatformAccessory<UnknownContext>[] = []
api: API
Characteristic: typeof Characteristic = ...
config: PlatformConfig
log: Logger
Service: typeof Service = ...

Methods

  • 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.

    Parameters

    • accessory: PlatformAccessory<UnknownContext>

    Returns void

  • Register discovered devices as accessories.

    Returns void