KraigM / homebridge-wink

Wink hub plugin for HomeBridge
54 stars 37 forks source link

Can't toggle switches #48

Open GarthDB opened 8 years ago

GarthDB commented 8 years ago

I have a pretty simple setup - a wink hub and 2 toggle switches right now.

I can run homebridge and flipping the switches shows

[8/1/2016, 6:15:28 PM] [Wink] Changing target property 'powered' of the undefined called Office Interior to 0

The lights do not turn on or off and on the homekit app I get an exclamation mark on the switch (it also doesn't show it as turned off so it knows something is wrong).

I tried running homebridge with the --debug flag, but I don't get any addition information than

[8/1/2016, 6:15:32 PM] [Wink] Refreshing Wink Data

I'm happy to jump into the code myself to fish out the issue, but I don't see any tests, and I'm not exactly sure where to dive in since I don't have an error message. Any ideas?

thechrisreese commented 8 years ago

I bet you are using V2 API? I have found that nothing actually works with V2 API.

corymccarty commented 7 years ago

This looks like it might be related to #32. The behavior seems to be the same. @thechrisreese, what do you mean about the V2 API? How can we tell?