KraigM / homebridge-wink

Wink hub plugin for HomeBridge
54 stars 37 forks source link

Problems initializing #80

Open clubluver opened 7 years ago

clubluver commented 7 years ago

After successfully using this code (with V1 auth) for months, I'm suddenly unable to start homebridge. Attempts return the following error-

Initializing platform accessory 'Nest'... /usr/local/lib/node_modules/homebridge-wink/index.js:121 for (var i = 0; i < devices.data.length; i++) { ^

TypeError: Cannot read property 'length' of null at /usr/local/lib/node_modules/homebridge-wink/index.js:121:38 at /usr/local/lib/node_modules/homebridge-wink/node_modules/wink-js/index.js:245:9 at IncomingMessage. (/usr/local/lib/node_modules/homebridge-wink/node_modules/wink-js/index.js:77:7) at emitNone (events.js:91:20) at IncomingMessage.emit (events.js:185:7) at endReadableNT (_stream_readable.js:974:12) at _combinedTickCallback (internal/process/next_tick.js:74:11) at process._tickCallback (internal/process/next_tick.js:98:9)

Any help would be greatly appreciated!