⚠️ Internal: This API is not publically exported by the package.
interface Options {
    acceptJoiningDeviceHandler: ((ieeeAddr) => Promise<boolean>);
    adapter: AdapterOptions;
    backupPath: string;
    databaseBackupPath: string;
    databasePath: string;
    network: AdapterTypes.NetworkOptions;
    serialPort: SerialPortOptions;
}

Properties

acceptJoiningDeviceHandler: ((ieeeAddr) => Promise<boolean>)

Type declaration

    • (ieeeAddr): Promise<boolean>
    • This lambda can be used by an application to explictly reject or accept an incoming device. When false is returned zigbee-herdsman will not start the interview process and immidiately try to remove the device from the network.

      Parameters

      • ieeeAddr: string

      Returns Promise<boolean>

backupPath: string
databaseBackupPath: string
databasePath: string
serialPort: SerialPortOptions