Skip to content

docker - HomeKitServer - HomekitRoot constructor with JmdnsHomekitAdvertiser never called #100

Closed
@gpr7700

Description

@gpr7700

Environment

  • raspberry 4
  • hypriotOS
  • openhab in docker
  • AVAHI active reflector enabled (enable-reflector=yes - /etc/avahi/avahi-daemon.conf)

Issue
The bridge (_hap._tcp) is never advertised when specifying the host container ip address.
With container ip address bridge is advertised.

When looking at the code it seems that HomeKitServer (createBridge) never calls the HomekitRoot constructor that takes the JmdnsHomekitAdvertiser instance. Therefore the bridge is not advertised and you have no logs at all to investigate why something is going wrong.

Regards

Gregory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions