ebaauw / homebridge-hue

Homebridge plugin for Philips Hue
Apache License 2.0
897 stars 91 forks source link

Bridge doesn't start after Update #1125

Closed MasterofKungfu9999 closed 1 year ago

MasterofKungfu9999 commented 1 year ago

Issue

After Updating i get the log messages and no light is found and the bridge isn't starting

Log Messages

6.12.2022, 17:24:54HOOBSHuePhoscon-GW: /resourcelinks/5: /lights/3: not available 6.12.2022, 17:24:54HOOBSHuePhoscon-GW: gateway not yet initialised - wait 1 minute

Debug Files

ebaauw commented 1 year ago

Homebridge Hue prevents Homebridge from starting by design: if Homebridge would start, you'd lose all associations to HomeKit room, groups, scenes, and automations.

You're referring to /lights/3 in the resourcelink, but that resource cannot be found? Is this deCONZ and did you delete the light from deCONZ? They still have an issue that resourcelinks aren't updated when resources are deleted; you'll need to update the resourcelink manually.

MasterofKungfu9999 commented 1 year ago

Yes, i deleted a power switch at deconz. How can i do in deconz. I only have the frontend installed

MasterofKungfu9999 commented 1 year ago

I did ph lightlist

and i got

ph: localhost: request 1: GET /config ph: warning: localhost: request 1: invalid response ph: error: localhost: not a Hue bridge nor deCONZ gateway

ebaauw commented 1 year ago

What port is deCONZ running on? Did you try this immediately after starting deCONZ or some time after?

MasterofKungfu9999 commented 1 year ago

its port 80. some time after

ebaauw commented 1 year ago

What’s the output of ph -DD config?

MasterofKungfu9999 commented 1 year ago

ph: localhost: request 1: GET /config ph: localhost: request 1: GET http://localhost/api/config ph: localhost: request 1: response: {"api":{"orgin":"*","polling_seconds":5,"inactive_logoff":30,"disable_auth":false},"theme":"light"} ph: localhost: request 1: 200 OK ph: localhost: request 1: GET /config ph: warning: localhost: request 1: invalid response ph: error: localhost: not a Hue bridge nor deCONZ gateway

ebaauw commented 1 year ago

That is not a response by deCONZ. Looks like something else is listening to port 80.

MasterofKungfu9999 commented 1 year ago

But i haven't changed standard port. how can i find the port?

ebaauw commented 1 year ago

Check the REST API plugin popup under the Plugins menu in the deCONZ GUI.

Typically the port is specified as command-line parameter when starting deCONZ.

MasterofKungfu9999 commented 1 year ago

The port is 8080

MasterofKungfu9999 commented 1 year ago

What should i do now?