KraigM / homebridge-wink

Wink hub plugin for HomeBridge
54 stars 37 forks source link

Wink Connection Details #82

Closed akarmakar closed 7 years ago

akarmakar commented 7 years ago

i am trying to get wink client_id for that . They use website for this https://developer.wink.com/login Listed below are required info . Any one know what will be Website & REDIRECT URIS? Name of Application : homebridge-wink Website : ? REDIRECT URIS: ?

AppleTechy commented 7 years ago

For website just use the github page for the Wink plugin. And the redirect URL I don't believe is required so you can just skip that

On Apr 4, 2017, 4:01 PM -0700, Anup Karmakar notifications@github.com, wrote:

i am trying to get wink client_id for that . They use website for this https://developer.wink.com/login Listed below are required info . Any one know what will be Website & REDIRECT URIS? Name of Application : homebridge-wink Website : ? REDIRECT URIS: ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub (https://github.com/KraigM/homebridge-wink/issues/82), or mute the thread (https://github.com/notifications/unsubscribe-auth/APh0orYE2ERHHIzmU6IdaDXJxicnEiC4ks5rssu1gaJpZM4Mzig0).

akarmakar commented 7 years ago

Thanks for the reply. Redirect URIs* is required this is the tool tip on that "Where the client will be redirected upon successful authentication "

AppleTechy commented 7 years ago

Maybe just put N/A or right not applicable. Or if it forces an actual URL. Just write some like: "https://local host: [Homebridge port]"

On Apr 4, 2017, 10:03 PM -0700, Anup Karmakar notifications@github.com, wrote:

Thanks for the reply. Redirect URIs* is required this is the tool tip on that "Where the client will be redirected upon successful authentication "

— You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://github.com/KraigM/homebridge-wink/issues/82#issuecomment-291755095), or mute the thread (https://github.com/notifications/unsubscribe-auth/APh0ojBQQObXQWDL8hTutvFSO0sqQoe8ks5rsyCSgaJpZM4Mzig0).

akarmakar commented 7 years ago

@AppleTechy thanks. i used the same git url and got the client_id & secret . Still cant make wink 2 work keep getting this error Process: 2807 ExecStart=/usr/local/bin/homebridge $HOMEBRIDGE_OPTS (code=exited, status=1/FAILURE)

Apr 08 15:53:18 pi homebridge[6353]: [4/8/2017, 3:53:18 PM] [Wink] Initializing Wink platform... Apr 08 15:53:18 pi homebridge[6353]: [4/8/2017, 3:53:18 PM] [Wink] Fetching Wink devices. Apr 08 15:53:19 pi homebridge[6353]: [4/8/2017, 3:53:19 PM] [Error: You did not specify {'token'} or {'clientId','clientSecret','code'}, one set of which is required for the new API] Apr 08 15:53:19 pi homebridge[6353]: [4/8/2017, 3:53:19 PM] Falling back to legacy API.

akarmakar commented 7 years ago

i had to switch over to wink 2 api . it worked for me