-
Notifications
You must be signed in to change notification settings - Fork 20
Failed to refresh devices #9
Comments
And on another Wink Hub: [5/17/2017, 7:46:24 PM] [Wink] Failed to refresh devices. TypeError: Cannot read property 'pubnub' of undefined |
I've published The second error is weird. Not sure why the subscription data wouldn't be there. Could you retest with the new version? If the issue persists, I code add some code to handle that problem - but I am concerned that you'll possibly not have push notifications for that hub. |
Similar for me but with the property 'services' as below: [5/18/2017, 12:06:55 AM] Homebridge is running on port 51826. at AccessoryHelper.getDefinition (/homebridge/node_modules/homebridge-wink3/src/AccessoryHelper.js:25:17) |
Sorry, I messed up while publishing |
Thanks for the quick update. It fixed the errors. For the second errors, I removed my Wink-provided client ID/secret and the error did not reappear. Thanks for all the work on this! |
Ah right, seems there might be something up with push notifications and custom client ID/secret - I will look into that issue when I have a chance. |
@charlestephen looks like you're using version |
@charlestephen I just read through the code, and I can confirm the bug you're experiencing should be fixed in the latest version. |
Now that its working, I had a different issue. I have a light called "Master Ceiling" and I successfully turn it off via the Home App. The light is out. But the Home App reports that its "On" at "100%" -- here's the log: [5/17/2017, 9:52:57 PM] Homebridge is running on port 45960. |
There's no log messages after "Update sent successfully"? If so, looks like the plugin is not receiving push notifications for some reason. |
Nope. No messages after that. I'm using a Wink Hub 1 with the latest firmware (3.8.1) |
@sibartlett Fixed. Thanks |
@JimBobSD Did you mention that you're using 2 Wink Hubs? Do you have the same problem with the other? And I don't suppose restarting homebridge fixes it either? I might have to come back to this tomorrow, I got to get some sleep. |
I just restarted the Wink Hub that was giving me the trouble -- and now its working. Thanks for your patience! |
Good to hear that you both got the plugin working! I'm closing this ticket. If there are any other problems, please open a new issue. |
Wink3 fails to show any devices - I can add the Wink Hub but no devices appear:
[5/17/2017, 7:38:28 PM] [Wink] Failed to refresh devices. TypeError: Cannot read property 'powered' of undefined
at Object.get (/usr/lib/node_modules/homebridge-wink3/src/devices/light_bulb.js:11:27)
at s.characteristics.filter.forEach.c (/usr/lib/node_modules/homebridge-wink3/src/AccessoryHelper.js:139:28)
at Array.forEach (native)
at accessory.definition.services.forEach.s (/usr/lib/node_modules/homebridge-wink3/src/AccessoryHelper.js:138:44)
at Array.forEach (native)
at AccessoryHelper.updateAccessoryState (/usr/lib/node_modules/homebridge-wink3/src/AccessoryHelper.js:135:35)
at AccessoryHelper.configureAccessory (/usr/lib/node_modules/homebridge-wink3/src/AccessoryHelper.js:44:10)
at WinkPlatform.addDevice (/usr/lib/node_modules/homebridge-wink3/src/WinkPlatform.js:104:26)
at Array.forEach (native)
at /usr/lib/node_modules/homebridge-wink3/src/WinkPlatform.js:136:13
at Generator.next ()
at step (/usr/lib/node_modules/homebridge-wink3/dist/WinkPlatform.js:32:191)
at /usr/lib/node_modules/homebridge-wink3/dist/WinkPlatform.js:32:361
at process._tickCallback (internal/process/next_tick.js:109:7)
[5/17/2017, 7:38:30 PM] [Wink] Authenticated with local Wink hub (172.16.0.215)
The text was updated successfully, but these errors were encountered: