Closed eweiman closed 11 months ago
Homebridge UI uses 8581 so unless you changed that? This port should work fine.
Well I don't recall changing the port number to 8585 on the homebridge-UI but I suppose it is certainly possible that I did. I had deployed homebridge a while ago probably using https://github.com/homebridge/homebridge-config-ui-x/wiki/Manual-Configuration ... as i'm doing this in FreeBSD, those configs just called out port 8080, which is in use on my machine, I randomly picked 8585 then it would seem and that happened to collide with this. In the end I suppose it is all good and this is more in the end probably feature request to have an alternate port option or at least an error in the UI. Thanks for your time.
@eweiman If someone wants to open a PR to support that, I will except it.
Describe The Bug
It would seem that the server expects port 8585 to be open to allow the resideo login server to run, another part of homebridge was already using this port.
To Reproduce
Issue was present from the moment it was installed.
Expected behavior
If the port is in use there should be an alternate fallback port, or at the very least an indication as to the problem in the UI
Relevant log output
Note this also happened when I was using Node.js v18.16.1 so I'd say that variable is non applicable.
Config for homebridge-resideo
As this happens before you can configure this plugin it doesn't really matter.
I was able to work around this by modifying the following files to change the reference port to 8586 (which was unused on my machine).
However, in the end, while I was then able to complete the configuration now and login to Resideo unfortunately my TCC thermostat (which is accessible in Resideo Home app) isn't allowed to be controlled by third parties and therefore I can't add this.
Screenshots
This is what the freshly installed page looked like, the portion to actually configure it would not come up because the auth server couldn't start because the port was in-use.
This was just the sad moment when after all this I couldn't even use it :(
Device & Model
TCC-RedLink Gateway THX9421R5021WW
Node.js Version
v20.4.0
NPM Version
v9.7.2
Homebridge Version
v1.6.1
Homebridge Resideo Plugin Version
Tested v1.0 through v1.3.1-beta.3
Homebridge Config UI X Plugin Version
v4.50.4
Operating System
FreeBSD 13.1