PLUGIN: Wink Connect (formerly Wink Hub Controller)

Yes… it is… but you lose support for devices like the Spotter and the Wink Relay… Unless you installed the plugin twice and configured one for REMOTE API and one for LOCAL API… but then you would have duplicate child devices…

Since I have the Wink Relay, and I want the best of both worlds…

Here is an update to the plugin (v0.17b25)…
– added - “COMBINED” API mode. allows the plugin to connect to a rooted local Wink Hub AND to the Wink API server to allow local control of devices attached to you local Wink Hubs AND remote control of devices attached to you Wink account WITHOUT the duplicate devices that occur it you use two separate instances of the plugin installed.
– added - Preliminary support for the Quirky+GE Aros air conditioner
– updated - Local API script for rooted Wink Hubs
– fixed - Local API would crash the plugin under certain conditions
– fixed - Local API would undo any child device name changes
– fixed - REMOTE API did not properly activate polling mode if subscriptions were not available

Guys (and gals),

Here’s a great deal at home depot. It comes with the Link Hub. We don’t care about that item since we all have Wink Hubs but it may be used to extend your range. You would still save $5 on two Link bulbs and get a Link Hub.

[url=http://www.homedepot.com/p/GE-LINK-Starter-Pack-Link-Hub-2-GE-Link-A19-Light-Bulb-PLINK-SKIT/205311040?cm_mmc=CJ-_-4485850-_-10368321&quantity=1&str_nbr=0941&AID=10368321&PID=4485850&SID=5494551c357e4cd49f7dd34bc1ec4cb7&cj=true]http://www.homedepot.com/p/GE-LINK-Starter-Pack-Link-Hub-2-GE-Link-A19-Light-Bulb-PLINK-SKIT/205311040?cm_mmc=CJ-_-4485850-_-10368321&quantity=1&str_nbr=0941&AID=10368321&PID=4485850&SID=5494551c357e4cd49f7dd34bc1ec4cb7&cj=true[/url]

Edit: Home Depot pulled the item from their site.

There’s a new Wink firmware update out. Anyone know what has been added? I know there is method to root out there that takes advantage of the update process so I am holding off on upgrading.

Here are a few fixes (v0.17b30) for the “COMBINED” API mode added in v0.17b25…

cybrmage,

I have a pair of Quirky Genius Pivot Power Strips arriving tomorrow. They have two switchable outlets. Should be just a binary switch. Will the current beta recognize them? I didn’t get the aros AC like I mentioned privately but maybe in the next month or two.

[quote=“FOCGreeN, post:245, topic:185289”]cybrmage,

I have a pair of Quirky Genius Pivot Power Strips arriving tomorrow. They have two switchable outlets. Should be just a binary switch. [/quote]

No… The Power Pivot Genius is reported as a “powerstrip”, not as binary switches…

So… I’ve added preliminary support for the powerstrip… It may not work, as the Wink API documentation is very vague on how they are reported, but it should at least create the device… The inner workings can be fixed up once you provide logs…

Attached are the additional files for v0.17b35…

You are a champ. Once I set them up tonight, I’ll pull the logs for you.

Nearly works perfectly! The outlets are flipped. #1 in Vera is #2 in Wink and vice versa. Wanna do a tweak before I pull a log?

Edit: Ok I was wrong. Logs coming.

Log with Power Pivot Genius.

Thanks!

I expected as much… The Wink API numbers item starting at zero, the LuaUPnP engine starts numbering at one… I screwed up the translation…

Here is the update (v0.17b40)… It add support for the Porkfolio sensors, adds notifications to the Porkfolio and (hopefully) fixes the support for the Power Pivot Genius…

NOTE: too many files changed to post them individually… To update from v0.17b35 you just need to upload “L_Wink_Hub1.lua”, “D_Wink_Powerstrip1.xml”, “D_Wink_Powerstrip1.json”, “D_Wink_Porkfolio1.xml”, “D_Wink_Porkfolio1.json” and "I_Wink_Hub1.xml"to your Vera.

BTW… I’m not sure if the outlet control command that the plugin will send to the Wink API server is correct… Please try switching the outlets on and off, and posting the logs of the actions if it doesn’t work…

Thanks!

I expected as much… The Wink API numbers item starting at zero, the LuaUPnP engine starts numbering at one… I screwed up the translation…

Here is the update (v0.17b40)… It add support for the Porkfolio sensors, adds notifications to the Porkfolio and (hopefully) fixes the support for the Power Pivot Genius…

NOTE: too many files changed to post them individually… To update from v0.17b35 you just need to upload “L_Wink_Hub1.lua”, “D_Wink_Powerstrip1.xml”, “D_Wink_Powerstrip1.json”, “D_Wink_Porkfolio1.xml”, “D_Wink_Porkfolio1.json” and "I_Wink_Hub1.xml"to your Vera.

BTW… I’m not sure if the outlet control command that the plugin will send to the Wink API server is correct… Please try switching the outlets on and off, and posting the logs of the actions if it doesn’t work…[/quote]

Thanks for the update. Here is where we are at. Status is hanging at “Initialing child devices…” No new sensors have been created.

Oops… Typo… Fixed…

No new devices are created to support the sensors in the Porkfolio… When Vibration or Orientation sensors are tripped, the device icon turns red, and any notifications are tripped… If the savings goal is achieved, the icon turns green…

Oops… Typo… Fixed…

No new devices are created to support the sensors in the Porkfolio… When Vibration or Orientation sensors are tripped, the device icon turns red, and any notifications are tripped… If the savings goal is achieved, the icon turns green…[/quote]
Much better! Wink Hub is working now. The Vera icon and switch state on the genius don’t sync up. Also, my porky is green and the goal hasn’t been achieved.

I purchased a Link Hub (lights only) that was a part of a starter kit (cheaper than buying the light bulbs separately). I don’t think I will use it but I’d be happy to hook it up once it gets here so we can add that support. I have a feeling it will simply add the bulbs to the others and nothing will need to be done. The Link Hub may be suited for situations where you have wifi but your Wink’s Zigbee doesn’t reach.

Seem like v0.17b30 and up broke the local API/Combine mode (UI5). Remote works fine but once I changed to Combine and Reload … I got “Startup Lua FAILED” message. At this point, everything I do gave “Device not Ready” error. I couldn’t turn on DEBUG to get the log.
The last one that work for me is b25 in combine mode… I am running UI5.
When running v0.17b41 in remote mode, all devices attached to Wink (GE Link) show name with [FIRMWARE] in front. Is that normal?

That should be fixed…

So… your saying that the plugin was overly optimistic??? 8-}
This is also fixed.

I can’t find any info on the GE Hub… But it can be added to the Wink Account using the IOS/Android app… So I would expect that it is represented as any other Hub type device (like the Philips Hue hub or the Wink Relay), and should be supportable with minor changes to the code (possibly just the manufacturer namd and model name)…

Attached are the files (v0.17b46) to fix the outstanding issue with the porkfolio and the powerstrip devices…

That is just telling that Wink has a firmware update available. They released it this week.

I don’t get an error on my UI5 system… So I can’t do anything without seeing your logs… Debug mode in not required… The crash will show in the logs regardless of debug mode.

I don’t get an error on my UI5 system… So I can’t do anything without seeing your logs… Debug mode in not required… The crash will show in the logs regardless of debug mode.[/quote]

I current have v0.17b25 working with COMBINE MODE running on UI5. I update to the latest v0.17b46. Reloaded Vera a couple times and refresh browser…and Vera displayed “Startup Lua Failed.” I also noticed that the Refuel and the Hub displayed RESTART. Here is the log when in COMBINE and Lua Failed. Hope that I got enough info for you.

Note: I switched back to Remote and is working fine.

I am happy to report that Porkfolio is sending me Vera motion alerts. The power strip icon is in sync with the switch activities. Good work!

This may be the only Wink Web GUI around at this point but I am often wrong.

Did you do the update? I’m wondering if the same process will work with the new Wink firmware.