OpenHAP::Bridge(3p) Perl Library Manual OpenHAP::Bridge(3p)

OpenHAP::Bridge - HAP bridge accessory

    use OpenHAP::Bridge;
    my $bridge = OpenHAP::Bridge->new(
        name => 'My Home Bridge',
    );
    $bridge->add_bridged_accessory($accessory);

This module represents a HAP bridge that can contain multiple bridged accessories. The bridge accessory carries the mandatory AccessoryInformation and ProtocolInformation services; bridged accessories carry only AccessoryInformation.

Change notifications from bridged accessories are forwarded to the bridge's own event callbacks with the originating accessory's aid preserved, so the server can deliver EVENT/1.0 notifications for device-side changes.

OpenHAP::Accessory, spec/HAP.md, spec/HAP-Categories.md

2026-07-27 OpenBSD