Rooting the WINK Hub with Windows

Posted by Jon Bullen on 2015-02-13
Estimated Reading Time 2 Minutes
Words 374 In Total

I do have a Linux machine in the house but that is on a Pi running as a squeezelite client for my house music collection. So looking at the instructions on the web I have translated them for use in Windows. Of course I have use PowerShell! The only addition I have is I use Kitty as a SSH client. This uses the approach @ http://www.dinnovative.com/?p=348

  1. Open up the box and plug in the WINK unit. Do not download any app or hook it up to the internet. If you do this the latest firmware will overwrite the ability to do the hack below without popping open the case and hitting the chip directly.

  2. When you have the pink flashing light open a laptop and connect to the WINK wireless network. It starts with WINKHUB….

  3. Open a browser and go to http://192.168.0.1 and you should see home page or a download prompt for a JSON file. If so all good!

  4. Open up a PowerShell instance.

  5. Run:

    Invoke-WebRequest -Uri http://192.168.0.1/set\_dev\_value.php -Method Post -Body @{nodeId=’a’;attrId=”;dropbearkey -t rsa -f /root/.ssh/winkkey.dbprv.rsa > /root/.ssh/winkkey.rawpub.rsa;”}

    Invoke-WebRequest -Uri http://192.168.0.1/set\_dev\_value.php -Method Post -Body @{nodeId=’a’;attrId=”;dropbearconvert dropbear openssh /root/.ssh/winkkey.dbprv.rsa /var/www/winkkey.rsa;”}

    Invoke-WebRequest -Uri http://192.168.0.1/set\_dev\_value.php -Method Post -Body @{nodeId=’a’;attrId=”;grep ssh /root/.ssh/winkkey.rawpub.rsa > /root/.ssh/authorized_keys;”}

    Invoke-WebRequest -Uri http://192.168.0.1/winkkey.rsa -OutFile winkkey.rsa

  6. You now should have the rsa key locally. If you are using kitty/putty you need to get putty gen and open the rsa file up and then save it as a putty version of the key. You can then open up putty/kitty and access the WINK hub.

Reference Links:


If you like this blog or find it useful for you, you are welcome to comment on it. You are also welcome to share this blog, so that more people can participate in it. If the images used in the blog infringe your copyright, please contact the author to delete them. Thank you!