I have 6 ceiling fans controlled by Bond. I am getting what appears to me as random timeout errors. Sometimes a bond fan will start properly, other times it will timeout. I feel like this started happening right after the last Bond firmware update - but I have no proof of that.
However, I will add a few things:
If left alone the errors cause the Fans to show up as “Unreachable” in iOS Home. But if I keep rebooting Homebridge, the Bond errors eventually go away - all of them, I see fewer errors with every continued reboot until finally the Bond plugin does a clean start. At this point all fans work… until they dont. I also noticed if I leave it for some time and come back and do another reboot the errors all come back and I have to continue the process described above.
±- homebridge-bond@3.2.9
HomeBridge UI
Bond Firmware 2.28.0
Log of my most recent error below showing some fans loaded while others timed out:
[2/5/2022, 9:38:23 AM] [homebridge-bond] 5 cached accessories were loaded
[2/5/2022, 9:38:23 AM] [homebridge-bond] Getting devices for this Bond (ZZDJ48976)…
[2/5/2022, 9:38:23 AM] [homebridge-bond] 6 devices were found on this Bond (ZZDJ48976).
[2/5/2022, 9:38:23 AM] [homebridge-bond] Attempting to add 1 devices that were not previously added.
[2/5/2022, 9:38:23 AM] [homebridge-bond] Configuring Accessory: Nook Nook Ceiling Fan
[2/5/2022, 9:38:23 AM] [homebridge-bond] [Nook Ceiling Fan] actions: TurnOff,SetSpeed,SetDirection,StartDecreasingBrightness,ToggleLight,StartIncreasingBrightness,Stop,TogglePower,TurnOn,IncreaseSpeed,DecreaseSpeed,ToggleDirection,TurnLightOn,TurnLightOff
[2/5/2022, 9:38:23 AM] [homebridge-bond] Configuring Accessory: Living Room Living Room Ceiling Fan
[2/5/2022, 9:38:23 AM] [homebridge-bond] [Living Room Ceiling Fan] actions: SetSpeed,StartIncreasingBrightness,StartDecreasingBrightness,ToggleLight,TurnOff,SetDirection,Stop,TogglePower,TurnOn,IncreaseSpeed,DecreaseSpeed,ToggleDirection,TurnLightOn,TurnLightOff
[2/5/2022, 9:38:23 AM] [homebridge-bond] Configuring Accessory: Kids Room KR1 Ceiling Fan
[2/5/2022, 9:38:23 AM] [homebridge-bond] [KR1 Ceiling Fan] actions: SetSpeed,SetDirection,StartDecreasingBrightness,TurnOff,ToggleLight,StartIncreasingBrightness,Stop,TogglePower,TurnOn,IncreaseSpeed,DecreaseSpeed,ToggleDirection,TurnLightOn,TurnLightOff
[2/5/2022, 9:38:23 AM] [homebridge-bond] Configuring Accessory: Master Bedroom Master Ceiling Fan
[2/5/2022, 9:38:23 AM] [homebridge-bond] [Master Ceiling Fan] actions: StartIncreasingBrightness,SetDirection,StartDecreasingBrightness,SetSpeed,ToggleLight,TurnOff,Stop,TogglePower,TurnOn,IncreaseSpeed,DecreaseSpeed,ToggleDirection,TurnLightOn,TurnLightOff
[2/5/2022, 9:38:23 AM] [homebridge-bond] Configuring Accessory: Kids Room KR2 Ceiling Fan
[2/5/2022, 9:38:23 AM] [homebridge-bond] [KR2 Ceiling Fan] actions: SetDirection,StartDecreasingBrightness,SetSpeed,StartIncreasingBrightness,TurnOff,ToggleLight,Stop,TogglePower,TurnOn,IncreaseSpeed,DecreaseSpeed,ToggleDirection,TurnLightOn,TurnLightOff
[2/5/2022, 9:38:33 AM] [homebridge-bond] A request error occurred: {“message”:“timeout of 10000ms exceeded”,“name”:“Error”,“stack”:“Error: timeout of 10000ms exceeded\n at createError (/homebridge/node_modules/homebridge-bond/node_modules/axios/lib/core/createError.js:16:15)\n at RedirectableRequest.handleRequestTimeout (/homebridge/node_modules/homebridge-bond/node_modules/axios/lib/adapters/http.js:303:16)\n at RedirectableRequest.emit (node:events:390:28)\n at Timeout. (/homebridge/node_modules/homebridge-bond/node_modules/follow-redirects/index.js:164:12)\n at listOnTimeout (node:internal/timers:557:17)\n at processTimers (node:internal/timers:500:7)”,“config”:{“url”:“http://192.168.7.29/v2/devices/6b2b0fbf/commands/4b476173",“method”:“get”,“data”:“{}”,“headers”:{“Accept”:"application/json, text/plain, /”,“BOND-Token”:“55191f48b032ac28”,“Bond-UUID”:“185fb29498928002”,“Content-Type”:“application/json”,“User-Agent”:“axios/0.21.4”,“Content-Length”:2},“transformRequest”:[null],“transformResponse”:[null],“timeout”:10000,“xsrfCookieName”:“XSRF-TOKEN”,“xsrfHeaderName”:“X-XSRF-TOKEN”,“maxContentLength”:-1,“maxBodyLength”:-1,“transitional”:{“silentJSONParsing”:true,“forcedJSONParsing”:true,“clarifyTimeoutError”:false},“axios-retry”:{“retryCount”:0,“lastRequestTime”:1644071903819}},“code”:“ECONNABORTED”}
[2/5/2022, 9:38:33 AM] [homebridge-bond] A request error occurred: {“message”:“timeout of 10000ms exceeded”,“name”:“Error”,“stack”:“Error: timeout of 10000ms exceeded\n at createError (/homebridge/node_modules/homebridge-bond/node_modules/axios/lib/core/createError.js:16:15)\n at RedirectableRequest.handleRequestTimeout (/homebridge/node_modules/homebridge-bond/node_modules/axios/lib/adapters/http.js:303:16)\n at RedirectableRequest.emit (node:events:390:28)\n at Timeout. (/homebridge/node_modules/homebridge-bond/node_modules/follow-redirects/index.js:164:12)\n at listOnTimeout (node:internal/timers:557:17)\n at processTimers (node:internal/timers:500:7)”,“config”:{“url”:“http://192.168.7.29/v2/devices/6b2b0fbf/commands/2119b3fb",“method”:“get”,“data”:“{}”,“headers”:{“Accept”:"application/json, text/plain, /”,“BOND-Token”:“55191f48b032ac28”,“Bond-UUID”:“185fb29498928003”,“Content-Type”:“application/json”,“User-Agent”:“axios/0.21.4”,“Content-Length”:2},“transformRequest”:[null],“transformResponse”:[null],“timeout”:10000,“xsrfCookieName”:“XSRF-TOKEN”,“xsrfHeaderName”:“X-XSRF-TOKEN”,“maxContentLength”:-1,“maxBodyLength”:-1,“transitional”:{“silentJSONParsing”:true,“forcedJSONParsing”:true,“clarifyTimeoutError”:false},“axios-retry”:{“retryCount”:0,“lastRequestTime”:1644071903819}},“code”:“ECONNABORTED”}
[2/5/2022, 9:38:33 AM] [homebridge-bond] A request error occurred: {“message”:“timeout of 10000ms exceeded”,“name”:“Error”,“stack”:“Error: timeout of 10000ms exceeded\n at createError (/homebridge/node_modules/homebridge-bond/node_modules/axios/lib/core/createError.js:16:15)\n at RedirectableRequest.handleRequestTimeout (/homebridge/node_modules/homebridge-bond/node_modules/axios/lib/adapters/http.js:303:16)\n at RedirectableRequest.emit (node:events:390:28)\n at Timeout. (/homebridge/node_modules/homebridge-bond/node_modules/follow-redirects/index.js:164:12)\n at listOnTimeout (node:internal/timers:557:17)\n at processTimers (node:internal/timers:500:7)”,“config”:{“url”:“http://192.168.7.29/v2/devices/6b2b0fbf/commands/1a21cf44",“method”:“get”,“data”:“{}”,“headers”:{“Accept”:"application/json, text/plain, /”,“BOND-Token”:“55191f48b032ac28”,“Bond-UUID”:“185fb29498928004”,“Content-Type”:“application/json”,“User-Agent”:“axios/0.21.4”,“Content-Length”:2},“transformRequest”:[null],“transformResponse”:[null],“timeout”:10000,“xsrfCookieName”:“XSRF-TOKEN”,“xsrfHeaderName”:“X-XSRF-TOKEN”,“maxContentLength”:-1,“maxBodyLength”:-1,“transitional”:{“silentJSONParsing”:true,“forcedJSONParsing”:true,“clarifyTimeoutError”:false},“axios-retry”:{“retryCount”:0,“lastRequestTime”:1644071903819}},“code”:“ECONNABORTED”}
[2/5/2022, 9:38:33 AM] [homebridge-bond] A request error occurred: {“message”:“timeout of 10000ms exceeded”,“name”:“Error”,“stack”:“Error: timeout of 10000ms exceeded\n at createError (/homebridge/node_modules/homebridge-bond/node_modules/axios/lib/core/createError.js:16:15)\n at RedirectableRequest.handleRequestTimeout (/homebridge/node_modules/homebridge-bond/node_modules/axios/lib/adapters/http.js:303:16)\n at RedirectableRequest.emit (node:events:390:28)\n at Timeout. (/homebridge/node_modules/homebridge-bond/node_modules/follow-redirects/index.js:164:12)\n at listOnTimeout (node:internal/timers:557:17)\n at processTimers (node:internal/timers:500:7)”,“config”:{“url”:“http://192.168.7.29/v2/devices/6b2b0fbf/commands/7161f811",“method”:“get”,“data”:“{}”,“headers”:{“Accept”:"application/json, text/plain, /”,“BOND-Token”:“55191f48b032ac28”,“Bond-UUID”:“185fb29498928005”,“Content-Type”:“application/json”,“User-Agent”:“axios/0.21.4”,“Content-Length”:2},“transformRequest”:[null],“transformResponse”:[null],“timeout”:10000,“xsrfCookieName”:“XSRF-TOKEN”,“xsrfHeaderName”:“X-XSRF-TOKEN”,“maxContentLength”:-1,“maxBodyLength”:-1,“transitional”:{“silentJSONParsing”:true,“forcedJSONParsing”:true,“clarifyTimeoutError”:false},“axios-retry”:{“retryCount”:0,“lastRequestTime”:1644071903819}},“code”:“ECONNABORTED”}
[2/5/2022, 9:38:33 AM] [homebridge-bond] [Office Ceiling fan] actions: OEMTimer,SetSpeed,StartDecreasingBrightness,SetDirection,OEMRandom,StartIncreasingBrightness,ToggleLight,TurnOff,Stop,TogglePower,TurnOn,IncreaseSpeed,DecreaseSpeed,ToggleDirection,TurnLightOn,TurnLightOff
[2/5/2022, 9:38:33 AM] [homebridge-bond] Error getting devices: TypeError: Cannot read properties of undefined (reading ‘action’)