Closed gtg465x closed 4 years ago
@gtg465x You can change the port of the API in the configuration if the default one is already in use.
@lukasroegner Yeah, I know. I have it configured for that port and this plugin is the only thing that should be using it. My problem is that sometimes the plugin doesn’t seem to release it properly. It will be working fine, and then homebridge will crash, and when it attempts to start again I sometimes, but not always, get this error.
I see, it is related to #9. I have to work on a reconnecting mechanism so that the plugin gets more stable.
Should be resolved with the latest release. Feel free to reopen if it still persists.
Homebridge just failed to restart for me and it looks like it's due to the API port already being in use. I'm guessing Homebridge may have crashed for some unrelated reason and maybe this plugin couldn't release its port? Not sure what, if anything, can be done in that case, but thought I would report just in case.