homebridge-bigAssFans icon indicating copy to clipboard operation
homebridge-bigAssFans copied to clipboard

Plugin crashes Homebridge on launch

Open oogje opened this issue 3 years ago • 2 comments

Hello,

My config is { "accessory": "BigAssFan", "name": "Big Fan", "fan_name": "Big Fan", "fan_id": "b8:f0:09:ac:bd:b8" }

The log is:

[4/11/2021, 11:10:43 AM] [Big Fan] Initializing BigAssFan accessory... [4/11/2021, 11:10:43 AM] [Big Fan] No light exists for: Big Fan Fan Light [4/11/2021, 11:10:43 AM] TypeError: existingAccessory.getService is not a function at new BigAssFanAccessory (/usr/local/lib/node_modules/@miblanchard/homebridge-big-ass-fans/index.js:277:44) at /usr/local/lib/node_modules/homebridge/src/server.ts:350:50 at Array.forEach () at Server.loadAccessories (/usr/local/lib/node_modules/homebridge/src/server.ts:270:29) at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:162:12) [4/11/2021, 11:10:43 AM] Got SIGTERM, shutting down Homebridge...

I should mention that I assumed the MAC address was the fan_id and the name I assigned the fan was the fan_name because getFanInfo.js from theBigAssFansAPI did not output anything. Will open an issue in the theBigAssFansAPI about that.

Thank you for your efforts.

  • brian

edited to add: Homebridge v1.3.4

oogje avatar Apr 11 '21 15:04 oogje

Same problem here, although I have no config set since I have 4 fans. Oddly enough the plugin still works on HOOBs.

Emotive9 avatar Jul 23 '21 14:07 Emotive9

Same issue here, exact same error

TopBanana123 avatar Nov 28 '21 22:11 TopBanana123