| OpenHAP::Bridge(3p) | Perl Library Manual | OpenHAP::Bridge(3p) |
NAME
OpenHAP::Bridge - HAP bridge accessory
SYNOPSIS
use OpenHAP::Bridge;
my $bridge = OpenHAP::Bridge->new(
name => 'My Home Bridge',
);
$bridge->add_bridged_accessory($accessory);
DESCRIPTION
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.
SEE ALSO
OpenHAP::Accessory, spec/HAP.md, spec/HAP-Categories.md
| 2026-07-27 | OpenBSD |