Skip to content

HomeBridge listenerPort is re-assigned after reboot #6

Description

@heythisisnate

If a listenerPort is not specified in the config.json, HomeBridge randomly assigns a listenerPort. This is fine, except this port number is not persisted anywhere and doesn't survive reboots. The impact is that if a Konnected device is provisioned with a randomly assigned listenerPort, then after reboot the device would not be able to contact HomeBridge at the new port until it is re-provisioned (it's unclear if this happens automatically).

Workaround: set listenerPort to any available HTTP port number in the advanced section of the config.json. See README for example.

to Fix: persist the listenerPort in the config so that it survives Homebridge reboots.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions