Closed ronnycarr closed 6 months ago
Seeing this a bit late, sorry about that - did you configure the plugin with valid client_id
and client_secret
?
I am also seeing the same error and yes I followed the instructions and added both username/password and clientid/secret to the json config
This probably has to do with which API version your client has access to. The underlying API client this plugin uses is https://github.com/winfinit/wink-js, which leverage API v1. My guess is your client is for API v2
Hmm, so how do I work around this? Thanks!
On Wed, Aug 9, 2017 at 4:31 PM, Florent Bonomo notifications@github.com wrote:
This probably has to do with which API version your client has access to. The underlying API client this plugin uses is https://github.com/winfinit/ wink-js, which leverage API v1. My guess is your client is for API v2
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/flochtililoch/homebridge-pivot-power-genius/issues/4#issuecomment-321409283, or mute the thread https://github.com/notifications/unsubscribe-auth/Ada1hbVLncQuVDaDOxaXxKtP8hiQp-RGks5sWkFRgaJpZM4N6o-U .
You should email Wink (same contact you used to get your client ID/secret created) and ask them to switch your client to API v1
they have actually "upgraded" the process of creating an app - its all done online now, I didn't have to email any one..
On Wed, Aug 9, 2017 at 6:23 PM, Florent Bonomo notifications@github.com wrote:
You should email Wink (same contact you used to get your client ID/secret created) and ask them to switch your client to API v1
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/flochtililoch/homebridge-pivot-power-genius/issues/4#issuecomment-321424271, or mute the thread https://github.com/notifications/unsubscribe-auth/Ada1hWqP_u5nUIEhH1BDrarDtd20ZgUMks5sWlt4gaJpZM4N6o-U .
@flochtililoch maybe you should try adding support for API v2?
I've implemented it in homebridge-wink3, so you can use that as a reference.
Thanks - I don't have time to maintain this plugin anymore, but I will gladly review pull requests for such improvements. @sibartlett does you plugin supports the pivot power genius? If so I may as well direct users to use your plugin instead
No my plugin doesn't support pivot power genius - in fact, I've been directing users to your plugin!
Is this plugin still working for anyone? If so, please see https://github.com/flochtililoch/homebridge-pivot-power-genius/issues/8 and let me know, thanks!
Hi there, I got access to the Wink API and installed the plugin but when I try to start homebridge i get an authorization error
invalid_grant: This client is not permitted to use the password grant type
. Any advice is much appreciated!