We have moved at community.getvera.com

Author Topic: PLUGIN: Wink Connect (formerly Wink Hub Controller)  (Read 241697 times)

Offline cybrmage

  • Moderator
  • Hero Member
  • *****
  • Posts: 1104
  • Karma: +113/-43
Re: PLUGIN: Wink Connect (formerly Wink Hub Controller)
« Reply #735 on: April 02, 2016, 09:35:20 pm »
The latest is causing me a reboot loop 0.22b1.  Restoring from backup. On Vera Plus.

I have tested on VeraLite/Vera3 (UI5) and VeraEdge/VeraPlus (UI7) with no issues... post the log (ONLY ONCE!!) so I can see what's happening...

Offline wezley69

  • Sr. Member
  • ****
  • Posts: 289
  • Karma: +6/-6
Re: PLUGIN: Wink Connect (formerly Wink Hub Controller)
« Reply #736 on: April 03, 2016, 11:27:42 am »
After restoring back to the previous version the reboots continued.  I finally uninstalled the plugin and then deleted the files.  Everything is stable.  Problem must be in a new file or a modification of common file other plugins use.  Not logs to give.  Sorry.

Offline wezley69

  • Sr. Member
  • ****
  • Posts: 289
  • Karma: +6/-6
Re: PLUGIN: Wink Connect (formerly Wink Hub Controller)
« Reply #737 on: April 03, 2016, 04:39:41 pm »
Found a bug in another plugin that spontaneously started.  The denon plugin goes in to infinite reboots if it can't make connection with the receiver.  I have confirmed and loaded your latest with no issue.  Thanks again for all of the efforts!

Offline cybrmage

  • Moderator
  • Hero Member
  • *****
  • Posts: 1104
  • Karma: +113/-43
Re: PLUGIN: Wink Connect (formerly Wink Hub Controller)
« Reply #738 on: April 03, 2016, 07:05:47 pm »
Problem must be in a new file or a modification of common file other plugins use.
The plugin is entirely self-contained - the files that it requires are unique to the plugin and are automatically generated - If any of the required files modified from what the plugin expects, the plugin will display a "FILE MISMATCH" warning... The only reliance it has on external files are the the default device files that are common to all Vera units... And if any of them are corrupt, you will have issues with more than just this plugin...

Found a bug in another plugin that spontaneously started.  The denon plugin goes in to infinite reboots if it can't make connection with the receiver.  I have confirmed and loaded your latest with no issue.  Thanks again for all of the efforts!

So, just to confirm, the current version of the plugin is operating correctly for you, and the issue is with the denon plugin.... This is not surprising... the denon receivers are notorious for issue with the telnet interface not operating correctly...


Offline wezley69

  • Sr. Member
  • ****
  • Posts: 289
  • Karma: +6/-6
Re: PLUGIN: Wink Connect (formerly Wink Hub Controller)
« Reply #739 on: April 04, 2016, 07:09:43 am »
Confirmed the denon plugin.  Just hadn't had the problem rear its head until now.

Offline hellovn

  • Sr. Member
  • ****
  • Posts: 279
  • Karma: +19/-46
Re: PLUGIN: Wink Connect (formerly Wink Hub Controller)
« Reply #740 on: April 07, 2016, 01:19:39 pm »
I tried to trigger an event when a ring doorbell is pressed but it seems it does not do anything. I did it by "Assign scenes to button". The motion sensor trigger is working great (but not the button pressed)  :'( :'(. Anyone is successful at doing that?

Offline cybrmage

  • Moderator
  • Hero Member
  • *****
  • Posts: 1104
  • Karma: +113/-43
Re: PLUGIN: Wink Connect (formerly Wink Hub Controller)
« Reply #741 on: April 07, 2016, 02:01:09 pm »
The motion sensor trigger is working great (but not the button pressed)

I do not have a Ring Video Doorbell... You will need to provide logs showing a motion event and a button press event.

Offline dubbedout

  • Full Member
  • ***
  • Posts: 179
  • Karma: +3/-5
Re: PLUGIN: Wink Connect (formerly Wink Hub Controller)
« Reply #742 on: April 07, 2016, 02:45:19 pm »
cybrmage, I just noticed an issue after installing v0.22 with my Wink devices not updating, I also updated to 0.22b1.  Today I had some time to troubleshoot and started looking at the logs and found this:

Code: [Select]
2 04/07/16 11:40:13.965 luup_log:16: (Wink_Connect::HUB_OAUTH2::getLocalHubToken): Received http response [400] [HTTP/1.1 400 Bad Request] [{"data":{"error":"invalid_grant","error_description":""},"errors":["invalid_grant: "],"pagination":{},"error":"invalid_grant","error_description":""}]. <0x72b8f520>
02 04/07/16 11:40:13.966 luup_log:16: (Wink_Connect::HUB_AAU::getAuthToken): Using default token [0123456789abcdef0123456789abcdef]. <0x72b8f520>
02 04/07/16 11:40:14.299 luup_log:16: (Wink_Connect::HUB_AAU::testAAU): Received http response [403] [HTTP/1.1 403 not authorized] [{"message":"not authorized"}]. <0x72b8f520>
01 04/07/16 11:40:14.300 luup_log:16: (Wink_Connect::HUB_AAU::testAAU): BAD HTTP status code [403]. <0x72b8f520>
02 04/07/16 11:40:14.300 luup_log:16: (Wink_Connect::HUB_AAU::remoteHasAAU): Hub [204721] IS AAU capable. <0x72b8f520>
50 04/07/16 11:40:14.301 luup_log:16: (Wink_Connect::setVariable) SID [urn:micasaverde-com:serviceId:Wink_Hub1] variable [Hub_AAU_TOKEN_204721] value [NIL]. <0x72b8f520>
50 04/07/16 11:40:14.303 luup_log:16: (Wink_Connect::setVariable) Setting Hub_AAU_TOKEN_204721 [nil]. <0x72b8f520>
01 04/07/16 11:40:14.303 luup_variable_set interface 0x91a470 no Hub_AAU_TOKEN_204721/(null) <0x72b8f520>
01 04/07/16 11:40:14.304 luup_log:16: (Wink_Connect::HUB_AAU::remoteHasAAU): Hub [204721] AAU Authorization failed. <0x72b8f520>
02 04/07/16 11:40:14.304 luup_log:16: (Wink_Connect::HUB_DEVICES::getDeviceListRemote): Added Wink HUB [204721] model [Wink Relay] AAU [FALSE]. <0x72b8f520>

It looks like both my Hub and Relay are rejecting the AAU token.  Any help is appreciated!

Here's the full log of the resync: https://www.dropbox.com/s/vrjboyooe3wb9ka/AAU%20error.txt?dl=0

Offline dubbedout

  • Full Member
  • ***
  • Posts: 179
  • Karma: +3/-5
Re: PLUGIN: Wink Connect (formerly Wink Hub Controller)
« Reply #743 on: April 22, 2016, 04:18:57 pm »
First of all, I hope everything is alright with cybrmage, he hasn't signed in since April 7th.  Hopefully he's just taken a break.

Second, has anyone else experienced the same issues as me?  I can still control my Wink devices through the plug-in but I no longer get status updates.  I'm just curious if it's an issue with my setup only.  If I'm the only one having this issue, i'll try to troubleshoot further on my own.

Thanks!

Offline OldChas

  • Newbie
  • *
  • Posts: 14
  • Karma: +1/-1
Re: PLUGIN: Wink Connect (formerly Wink Hub Controller)
« Reply #744 on: April 22, 2016, 04:43:06 pm »
I just searched my log file for 'Hub_AAU_TOKEN' and 'Authorization failed' and neither were found, so I assume the same problem does not occur here.

I have been running 0.22b1 for quite a while in Notification mode but it appears that none of the devices get updated. If they do, it is so long after the event that I don't notice. The problem existed in the older version but went away after I updated to b1.

BTW, I have a Vera3 on UI5.

Offline cybrmage

  • Moderator
  • Hero Member
  • *****
  • Posts: 1104
  • Karma: +113/-43
Re: PLUGIN: Wink Connect (formerly Wink Hub Controller)
« Reply #745 on: April 26, 2016, 09:41:29 pm »
I hope everything is alright with cybrmage


Unfortunately... No... Things are not OK... I died (Literally... from a Heart Attack)... was revived and underwent quadruple bypass surgery.

I was discharged from hospital yesterday...  recovery time is 6 to 8 weeks... and I do not expect to be contributing much in that time period.

Offline dubbedout

  • Full Member
  • ***
  • Posts: 179
  • Karma: +3/-5
Re: PLUGIN: Wink Connect (formerly Wink Hub Controller)
« Reply #746 on: April 26, 2016, 09:43:56 pm »
Wow man I'm very sorry to hear that. That surgery in itself is no joke. Take it easy and I hope you make a full recovery!


Sent from my iPhone using Tapatalk

Offline Aaron

  • Hero Member
  • *****
  • Posts: 1985
  • Karma: +61/-193
Re: PLUGIN: Wink Connect (formerly Wink Hub Controller)
« Reply #747 on: April 26, 2016, 11:21:30 pm »
Crap... Glad you are OK

Offline wezley69

  • Sr. Member
  • ****
  • Posts: 289
  • Karma: +6/-6
Re: PLUGIN: Wink Connect (formerly Wink Hub Controller)
« Reply #748 on: April 28, 2016, 08:54:41 pm »
I am happy you are here with us now.  That is some very scary stuff.

Offline OldChas

  • Newbie
  • *
  • Posts: 14
  • Karma: +1/-1
Re: PLUGIN: Wink Connect (formerly Wink Hub Controller)
« Reply #749 on: June 16, 2016, 04:00:04 pm »
Wink Hub 2.66 has been released