Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HomeBridge listenerPort is re-assigned after reboot #6

Open
heythisisnate opened this issue Oct 3, 2022 · 0 comments
Open

HomeBridge listenerPort is re-assigned after reboot #6

heythisisnate opened this issue Oct 3, 2022 · 0 comments

Comments

@heythisisnate
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant