ebaauw / homebridge-hue

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

What do these errors mean in the Homebridge? #1164

Closed Dakitoo closed 11 months ago

Dakitoo commented 11 months ago

Issue

Hello, greetings. I write in German and translate it with Google so that you know it immediately.

I installed the plugin in my Homebridge. I then always get these errors, which are displayed by HUE in the log. Seems to be a connection error. But how can I change it so that it works properly??

The settings in the plugin look like this: (even if I enter the IP of the Hue bridge 192.168.1.23 directly, the errors come) { "Name": "Huehomebridge", "anyOn": wahr, "Effekte": falsch, "Lichter": wahr, "nativeHomeKitLights": wahr, "nativeHomeKitSensors": wahr, "Ressource": wahr, "Benutzer": { "xxxx": "xxxx-xxxx" }, "Plattform": "Hue" }

Log Messages

[27.7.2023, 12:06:38] [Huehomebridge] Philips hue: Anfrage 44546: GET /lights [27.7.2023, 12:06:38] [Huehomebridge] Philips hue: Anfrage 44546: Timeout nach 5 Sekunden [27.7.2023, 12:08:03] [Huehomebridge] Philips hue: Anfrage 44563: GET /lights [27.7.2023, 12:08:03] [Huehomebridge] Philips hue: Anfrage 44563: Timeout nach 5 Sekunden [27.7.2023, 12:27:28] [Huehomebridge] Philips Farbton: Anfrage 44796: GET /lights [27.7.2023, 12:27:28] [Huehomebridge] Philips Farbton: Anfrage 44796: Timeout nach 5 Sekunden [27.7.2023, 12:36:58] [Huehomebridge] Philips hue: Anfrage 44910: GET /lights [27.7.2023, 12:36:58] [Huehomebridge] Philips hue: Anfrage 44910: Timeout nach 5 Sekunden [27.7.2023, 12:37:03] [Huehomebridge] Philips hue: Anfrage 44911: GET /lights [27.7.2023, 12:37:03] [Huehomebridge] Philips Farbton: Anfrage 44911: Timeout nach 5 Sekunden [27.7.2023, 12:39:33] [Huehomebridge] Philips hue: Anfrage 44941: GET /lights [27.7.2023, 12:39:33] [Huehomebridge] Philips hue: Anfrage 44941: Timeout nach 5 Sekunden [27.7.2023, 12:43:33] [Huehomebridge] Philips hue: Anfrage 44989: GET /lights [27.7.2023, 12:43:33] [Huehomebridge] Philips hue: Anfrage 44989: Timeout nach 5 Sekunden [27.7.2023, 12:48:28] [Huehomebridge] Philips hue: Anfrage 45048: GET /lights [27.7.2023, 12:48:28] [Huehomebridge] Philips hue: Anfrage 45048: Timeout nach 5 Sekunden [27.7.2023, 12:56:33] [Huehomebridge] Philips Farbton: Anfrage 45145: GET /lights [27.7.2023, 12:56:33] [Huehomebridge] Philips hue: Anfrage 45145: Timeout nach 5 Sekunden [27.7.2023, 12:56:58] [Huehomebridge] Philips hue: Anfrage 45150: GET /lights [27.7.2023, 12:56:58] [Huehomebridge] Philips Farbton: Anfrage 45150: Timeout nach 5 Sekunden [27.7.2023, 13:00:58] [Huehomebridge] Philips Farbton: Anfrage 45198: GET /lights [27.7.2023, 13:00:58] [Huehomebridge] Philips Farbton: Anfrage 45198: Timeout nach 5 Sekunden [27.7.2023, 13:03:28] [Huehomebridge] Philips hue: Anfrage 45228: GET /lights [27.7.2023, 13:03:28] [Huehomebridge] Philips Farbton: Anfrage 45228: Timeout nach 5 Sekunden

Debug Files

ebaauw commented 11 months ago

The error means that Homebridge Hue didn't receive a response from the Hue bridge within 5 seconds. Looking at the request IDs, this only happens intermittently, and during polling, so it shouldn't affect functionality (assuming the event stream from the gen-2 Hue bridge is working).

I would first try and power-cycle the Hue bridge, to rule out any error on that part. If that doesn't make the error go away, you might try and increase the timeout in config.json to, say, 15s (instead of default 5s). If that still causes issues, I'd check my (Wifi) network and any other clients/apps connecting to the Hue bridge.

Dakitoo commented 11 months ago

And where do I write this with the timeout? Under configuration?

ebaauw commented 11 months ago

See https://github.com/ebaauw/homebridge-hue/wiki/Configuration