EDIT: The top of this post was written after finishing this project to serve as a guide for anyone googling 'use wink hub with homeseer'.
The notes below and subsequent posts are part of the design, build, debug, etc process as I was finishing up this project.
If you have a Wink hub V1 and are looking to make use of it with Homeseer then this guide is for you.
Project difficulty: 8 out of 10
Some hardware/software technical skill is required as well as basic soldering skills and basic command prompt skills. Knowledge of serial port use and putty terminal windows, command line editing, and homeseer plugin configuration as well.
I take no responsibility if you brick your hub, break something beyond repair, burn yourself, or otherwise have a bad time with this project.
By hacking your wink hub you will gain access to the device directly at its operating system level and be able to take control of the 4 built in radios in it and use them with homeseer to control devices.
The wink hub will essentially become a radio transmitter capable of making use of its Zwave, Zigbee, Lutron, and Kidde radios on board.
If your hub already had some of your devices paired to it internally then moving them over to homeseer is easier than if there are no devices in the hubs database.
In my case I already had 3 Lutron Caseta dimmers paired to the hub and could just use them once I had the hub working with MQTT.
How it works:
The wink hub must be rooted. This requires physically opening the device and doing some hardware modifications. Basic soldering skills are probably required although it is possible to do it without soldering if your careful and lucky and get a good connection to the board without soldering a header on to the UART port.


Once you have root you will change the root password and reconfigure it so that you can get root again without having to open the device. SSH can be configured but I wasn't personally able to get SSH enabled. I access the device over serial port when I need to which is almost never once the devices I wanted to control are setup it's hands off.
You will need the following items to complete this project:
1. FREE: The free mcsMQTT plugin
2. $5-15: A TTL to USB serial adapter for your PC. I got mine on aliexpress for about $5. You can also get them on amazon for around $15 but arrive faster.
3. $5: A cable to connect the TTL to USB adapter board to your PC. Probably a mini usb or micro usb. Mine was mini (the old, larger style)
4. $1-5: A set of header wires to connect the serial adapter board to the UART port of the wink hub
5. FREE: minicom software if on linux or mac OS, putty software if you are on windows 10.
Total project cost is about $20 at most.
Optional: a small 4 pin header you solder on the wink hub to make it easy to reconnect to the device later
Information on rooting the winkhub is available at the following links:
https://www.mattcarrier.com/post/hac...inkhub-part-1/
https://forum.xda-developers.com/t/w...#post-64090433
aprontest command reference (the binary inside wink that controls everything that mqtt will interface with)
https://forum.xda-developers.com/t/w...#post-58352289
The mqtt software that will run on wink once you root it. This is what brings the aprontest binary in wink together with mcsMQTT so that homeseer can control the hub and its devices.
https://github.com/mikekap/wink-mqtt-rs
The steps to complete the project:
1. Root the hub. Follow the guides in the links above to gain root access, change the root password, and optionally gain SSH access. Make sure you do the part on gaining permanent root on reboot.
2. Install wink-mqtt-rs on the wink hub. Follow the guide posted above on github for installing this software, its got a walkthrough for the step by step installer.
3. Configure the MQTT topics with homeseer and setup the homeseeer devices. See some of the posts following this on how I setup my Lutron lights as Homeseer devices with mcsMQTT.
Any device you want to control with the wink hub MUST be already paired with the hub and in its database. Once you have wink-mqtt-rs installed and running there will be a webserver running on the hub that you can open in your browser and run aprontest commands from to control devices that are paired with the hub to prototype before going through the mqtt setup to verify the devices are paired and that the hub can control them. You can add or pair devices from this web page with the aprontest command line. See the reference guide link above for aprontest commands to list the devices paired, add new ones, and control devices.
Enjoy your locally controlled wink hub with no reliance on monthly subscriptions and external servers and services that could go down at anytime, bricking your home.
Initial post that started the project off is preserved below here -----------------------------------------------------------------------------
I've been working on getting my Wink Hub V1 rooted for a while to try to gain access to the lutron radio transmitter that is onboard the hub and I'm at the point where I'm trying to setup the right publish topic to control the devices attached to it.
The Wink hub has built in radios for Lutron, Kidde, Zwave, and Zigbee, as well as bluetooth and wifi. Now that Wink is essentially dead, This project is to make use of the hubs radios locally through homeseer.
I've rooted the hub, installed wink-mqtt-rs (https://github.com/mikekap/wink-mqtt-rs), and its up and running and I can from a command line turn my Lutron lights on and off so I know its working with the lights.
The final step is setting up the mqtt publish route correctly.
Every other device I've worked with uses a topic of the form x/y/z but the wink-mqtt-rs publish routes use a json payload in the form of x/y/z:data
I'm not quite sure what should be my publish route given the following information

device 3 is one of my lutron caeseta lights, which has value 0 for off and 255 for fully on and in between is the dimmable range. Valid values are 0 -> 255
Info on wink-mqtt-rs says to receive messages (Ie send from homeseer TO wink hub to then pass to the lights internally,

I'm not quite sure how to setup the device 371 above to work with this format or what the pub link should be
I've tried
/home/wink/3
/home/wink/3/status
/home/wink/3/status:Level
And I've tried making the HS device have a button, slider, and number value. If I change the light to on or off manually at the wall I get 0 or 255 as the state of the device in homeseer but I cant publish out changes to the light from homeseer to the hub yet.
The notes below and subsequent posts are part of the design, build, debug, etc process as I was finishing up this project.
If you have a Wink hub V1 and are looking to make use of it with Homeseer then this guide is for you.
Project difficulty: 8 out of 10
Some hardware/software technical skill is required as well as basic soldering skills and basic command prompt skills. Knowledge of serial port use and putty terminal windows, command line editing, and homeseer plugin configuration as well.
I take no responsibility if you brick your hub, break something beyond repair, burn yourself, or otherwise have a bad time with this project.
By hacking your wink hub you will gain access to the device directly at its operating system level and be able to take control of the 4 built in radios in it and use them with homeseer to control devices.
The wink hub will essentially become a radio transmitter capable of making use of its Zwave, Zigbee, Lutron, and Kidde radios on board.
If your hub already had some of your devices paired to it internally then moving them over to homeseer is easier than if there are no devices in the hubs database.
In my case I already had 3 Lutron Caseta dimmers paired to the hub and could just use them once I had the hub working with MQTT.
How it works:
The wink hub must be rooted. This requires physically opening the device and doing some hardware modifications. Basic soldering skills are probably required although it is possible to do it without soldering if your careful and lucky and get a good connection to the board without soldering a header on to the UART port.
Once you have root you will change the root password and reconfigure it so that you can get root again without having to open the device. SSH can be configured but I wasn't personally able to get SSH enabled. I access the device over serial port when I need to which is almost never once the devices I wanted to control are setup it's hands off.
You will need the following items to complete this project:
1. FREE: The free mcsMQTT plugin
2. $5-15: A TTL to USB serial adapter for your PC. I got mine on aliexpress for about $5. You can also get them on amazon for around $15 but arrive faster.
3. $5: A cable to connect the TTL to USB adapter board to your PC. Probably a mini usb or micro usb. Mine was mini (the old, larger style)
4. $1-5: A set of header wires to connect the serial adapter board to the UART port of the wink hub
5. FREE: minicom software if on linux or mac OS, putty software if you are on windows 10.
Total project cost is about $20 at most.
Optional: a small 4 pin header you solder on the wink hub to make it easy to reconnect to the device later
Information on rooting the winkhub is available at the following links:
https://www.mattcarrier.com/post/hac...inkhub-part-1/
https://forum.xda-developers.com/t/w...#post-64090433
aprontest command reference (the binary inside wink that controls everything that mqtt will interface with)
https://forum.xda-developers.com/t/w...#post-58352289
The mqtt software that will run on wink once you root it. This is what brings the aprontest binary in wink together with mcsMQTT so that homeseer can control the hub and its devices.
https://github.com/mikekap/wink-mqtt-rs
The steps to complete the project:
1. Root the hub. Follow the guides in the links above to gain root access, change the root password, and optionally gain SSH access. Make sure you do the part on gaining permanent root on reboot.
2. Install wink-mqtt-rs on the wink hub. Follow the guide posted above on github for installing this software, its got a walkthrough for the step by step installer.
3. Configure the MQTT topics with homeseer and setup the homeseeer devices. See some of the posts following this on how I setup my Lutron lights as Homeseer devices with mcsMQTT.
Any device you want to control with the wink hub MUST be already paired with the hub and in its database. Once you have wink-mqtt-rs installed and running there will be a webserver running on the hub that you can open in your browser and run aprontest commands from to control devices that are paired with the hub to prototype before going through the mqtt setup to verify the devices are paired and that the hub can control them. You can add or pair devices from this web page with the aprontest command line. See the reference guide link above for aprontest commands to list the devices paired, add new ones, and control devices.
Enjoy your locally controlled wink hub with no reliance on monthly subscriptions and external servers and services that could go down at anytime, bricking your home.
Initial post that started the project off is preserved below here -----------------------------------------------------------------------------
I've been working on getting my Wink Hub V1 rooted for a while to try to gain access to the lutron radio transmitter that is onboard the hub and I'm at the point where I'm trying to setup the right publish topic to control the devices attached to it.
The Wink hub has built in radios for Lutron, Kidde, Zwave, and Zigbee, as well as bluetooth and wifi. Now that Wink is essentially dead, This project is to make use of the hubs radios locally through homeseer.
I've rooted the hub, installed wink-mqtt-rs (https://github.com/mikekap/wink-mqtt-rs), and its up and running and I can from a command line turn my Lutron lights on and off so I know its working with the lights.
The final step is setting up the mqtt publish route correctly.
Every other device I've worked with uses a topic of the form x/y/z but the wink-mqtt-rs publish routes use a json payload in the form of x/y/z:data
I'm not quite sure what should be my publish route given the following information
device 3 is one of my lutron caeseta lights, which has value 0 for off and 255 for fully on and in between is the dimmable range. Valid values are 0 -> 255
Info on wink-mqtt-rs says to receive messages (Ie send from homeseer TO wink hub to then pass to the lights internally,
I'm not quite sure how to setup the device 371 above to work with this format or what the pub link should be
I've tried
/home/wink/3
/home/wink/3/status
/home/wink/3/status:Level
And I've tried making the HS device have a button, slider, and number value. If I change the light to on or off manually at the wall I get 0 or 255 as the state of the device in homeseer but I cant publish out changes to the light from homeseer to the hub yet.
Comment