homebridge
    Preparing search index...

    Enumeration MatterAccessoryEventTypes

    Matter Accessory Event Types

    Events that can be emitted by Matter accessories during their lifecycle.

    Listen for when a Matter accessory is ready
    const accessory: MatterAccessory = { ... };
    api.matter?.publishExternalAccessories('plugin-name', [accessory]);

    const internal = accessory as any;
    internal._eventEmitter?.on(MatterAccessoryEventTypes.READY, (port: number) => {
    console.log(`Accessory ready on port ${port}`);
    });
    Index

    Enumeration Members

    Enumeration Members

    READY: "ready"

    Emitted when the Matter server is ready and the accessory is available on the network. This is the main event to listen for to know when an external accessory is ready.

    HAP Equivalent: AccessoryEventTypes.ADVERTISED

    The port number the Matter server is listening on