-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installed and recognized all devices, can't actually control them #71
Comments
This is all I'm getting in the console:
|
Exactly the same issue here |
Also having this same issue |
I'm having the same issue as well. The plug-in worked for me probably about 6+ months ago, but I haven't really tried using it again until recently, which is when I've observed this problem. Has anyone had any luck, or tried forking this and adding some additional debugging? |
So, with a few additional debug statements, I found that the device "desired_state" on the initial request was empty:
and this line in lib/wink-accessory.js was then causing the app to error out and never actually submit the requested desired_state (on/off):
I commented this section out and while I can now successfully control my devices there are few inconsistencies I'd like to understand. I'm not sure why the desired_state payload is empty first of all, given that when I call the API directly (for example through Postman) it returns data there. |
I tried this too, and it worked as expected. After that, I was getting a lot of messages about retries, though. Lights were turning on or off as appropriate, but then would change back and I'd see retry messages in the console output. I commented out the retry line in the block where I found the logs. Not an ideal solution, but it's working now. |
Same issue here, commenting out the undefined detection worked for me as well. Same as Charles, lots of retries. |
So, I have a fork and pull request that resolves the ability to control, the retries, and the dimness controls: #75, just waiting on either some feedback or an accept. I've been using it for a few weeks and it's behaving quite well. |
@scoobyshi nice! This works perfectly for me. |
@scoobyshi Your changes seem to be working for me. I'm still having some retries but they are very infrequent. |
I got homebridge and the plugin working, and I see all of my Wink devices in homekit, and they're even reading the correct statuses (on vs off at the time of config) but I can't actually control any of them in the iOS Home app.
The text was updated successfully, but these errors were encountered: