luc-ass / homebridge-evohome

Homebridge plugin for Honeywell Evohome
29 stars 16 forks source link

Plugin takes a lot of time to start #87

Closed Maykel1969 closed 3 years ago

Maykel1969 commented 3 years ago

Hi,

I just moved from Hoobs to Homebridge and I immediately noticed something I haven't seen before. After every restart I see one or sometimes even 5 of the following warnings in the log.


[homebridge-evohome] This plugin is taking long time to load and preventing Homebridge from starting. See https://git.io/JtMGR for more info.

Is this a real problem? Everything seems to work fine.

luc-ass commented 3 years ago

I have never seen this with my homebridge (which I recommend anyways). What kind of hardware are you running?

PuzzledUser commented 5 months ago

I've just seen this when my internet connection was down. Wifi still up, but no connectivity via router. The issue persisted for hours, even after I sorted my broadband issue. I had to restart Homebridge to fix, see below.

[28/04/2024, 19:57:01] [homebridge-evohome] This plugin is taking long time to load and preventing Homebridge from starting. See https://homebridge.io/w/JtMGR for more info.
[28/04/2024, 19:57:21] [homebridge-evohome] This plugin is taking long time to load and preventing Homebridge from starting. See https://homebridge.io/w/JtMGR for more info.
[28/04/2024, 19:57:41] [homebridge-evohome] This plugin is taking long time to load and preventing Homebridge from starting. See https://homebridge.io/w/JtMGR for more info.
[28/04/2024, 19:58:01] [homebridge-evohome] This plugin is taking long time to load and preventing Homebridge from starting. See https://homebridge.io/w/JtMGR for more info.
[28/04/2024, 19:58:21] [homebridge-evohome] This plugin is taking long time to load and preventing Homebridge from starting. See https://homebridge.io/w/JtMGR for more info.
[28/04/2024, 19:58:36] [Homebridge UI] Homebridge restart request received
[28/04/2024, 19:58:36] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[28/04/2024, 19:58:36] [Homebridge UI] Sending SIGTERM to Homebridge
[28/04/2024, 19:58:37] Got SIGTERM, shutting down Homebridge...
[28/04/2024, 19:58:37] AssertionError [ERR_ASSERTION]: Cannot generate setupURI on an accessory that isn't published yet!
    at Bridge.Accessory.setupURI (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:994:11)
    at Server.setServerStatus (/usr/local/lib/node_modules/homebridge/src/server.ts:155:45)
    at Server.teardown (/usr/local/lib/node_modules/homebridge/src/server.ts:199:10)
    at signalHandler (/usr/local/lib/node_modules/homebridge/src/cli.ts:93:12)
    at process.emit (events.js:315:20)
    at process.emit (/usr/local/lib/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21)
[28/04/2024, 19:58:37] Got SIGTERM, shutting down child bridge process...
[28/04/2024, 19:58:41] [homebridge-evohome] This plugin is taking long time to load and preventing Homebridge from starting. See https://homebridge.io/w/JtMGR for more info.
[28/04/2024, 19:58:42] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null