I’m seeing state changes since I installed and got it set up properly, just for the record.
But as you remember, I didn’t really ever have the state change issue to any large degree, so you have to take that into consideration. So in my case, using my baseline performance, everything is nominal in the new code for me.
Yes, good point. And despite my signing up on the dev site and registering an app, I am using my old client ID and secret that I got the old way (manually requesting it from support and waiting) successfully.
So your old client_id and client_secret worked for the new Oauth flow? That is interesting because trying to use the android client_id and secret didn’t work.
Yep. Thought that might be of interest which was why I included it. I’m using the client ID and secret that I got from Wink support via email months ago when we were testing the big refactoring. And it appears to be working well.
I got them specifically for authorizing for HA use, which I explained to them in the request.
Cool, that should make it less confusing for people that have the old client_id and secret. Although after @rabittn reminded me that some people are using the android client_id and secret I added the old oauth method back in so really only the new client_id and secret will need to use a different config setup.
Oh yeah it is gonna need a doc update for sure. Might move all of the old auth methods to the end and make this new method the first thing that is seen so new people just start with it. Although the having to wait several days is annoying and might make people move on and attempt to authenticate another way…
I wonder why it takes them so long? I really can’t recall another platform where I requested API access or OAuth and it wasn’t done almost immediately.
For those that have been waiting on your new oauth client id and secret… I hadn’t yet received an email notification, but I logged back into the developer site and clicked on SHOW DETAILS and my client id and secret were there. I was able to get everything working, but I did have to remove my Hass password as well.
Okay, thanks. Not sure why that is happening, when I first started this I didn’t have that problem. Any chance you can comment on the pull request and let balloob know you are seeing the same thing. He might have some idea what is going on.
I just checked and same thing here; no notification email from Wink, but the app shows as approved as of 1:00 PM YESTERDAY and has been fully populated with all the details.
Hello everyone, after working with @dspille for several days, we were finally able to figure out how to keep updates working with these new changes. This method is much better than how it currently works as well!
So @dspille was able to test the username/password config and ran for ~12 hours without issues. I would like to request anyone else that was having the push update issue in the past to please test the newest wink.py from this PR https://github.com/home-assistant/home-assistant/pull/8208 and let me know how it goes.
It would be awesome to get someone to test oauth both new and old methods and if someone else could test out username/password that would be cool too.
@rabittn if you could test as well using the android client_id and password please do.