# How does SmartThings pair devices?

**URL:** <https://community.smartthings.com/t/how-does-smartthings-pair-devices/95149>\
**Category:** Connected Things\
**Created:** [August 9, 2017, 1:56am UTC](https://community.smartthings.com/t/how-does-smartthings-pair-devices/95149 "2017-08-09T01:56:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![616fun](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/616fun/32/71856_2.png) [@616fun](https://community.smartthings.com/u/616fun)\
**Post date:** [August 9, 2017, 1:56am UTC](https://community.smartthings.com/t/how-does-smartthings-pair-devices/95149/1 "2017-08-09T01:56:39Z")

</div>

Ok - general question. I’ve had a few switches that I just could never get to pair correctly. Given they are switches they are not close to the hub, and all directions say to be close to the hub. Every other device has paired flawlessly. These just wouldn’t. Tried everything. Finally tonight I moved the hub from the basement to my bathroom (thanks Google Wifi for adding a Cat5 out on your box) and low and behold it paired perfectly.

So - my question. Can ZWave/Zigbee devices not pair through the mesh network? Do they first pair directly to the hub then become active on the mesh? I have two active switches 10’ from the two that would never pair and they worked great, though paired 3 levels away from the hub.

---

<div class="post-metadata">

**Author:** ![JDRoberts](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jdroberts/32/56577_2.png) [@JDRoberts](https://community.smartthings.com/u/JDRoberts)\
**Post date:** [August 9, 2017, 2:11am UTC](https://community.smartthings.com/t/how-does-smartthings-pair-devices/95149/2 "2017-08-09T02:11:48Z")

</div>

> [@616fun](#):
>
> Ok - general question. I’ve had a few switches that I just could never get to pair correctly. Given they are switches they are not close to the hub, and all directions say to be close to the hub. Every other device has paired flawlessly. These just wouldn’t. Tried everything. Finally tonight I moved the hub from the basement to my bathroom (thanks Google Wifi for adding a Cat5 out on your box) and low and behold it paired perfectly.
> 
> So - my question. Can ZWave/Zigbee devices not pair through the mesh network? Do they first pair directly to the hub then become active on the mesh? I have two active switches 10’ from the two that would never pair and they worked great, though paired 3 levels away from the hub.

It varies by the particular device. The general answer is that every unsecured zwave or zigbee device should pair when it’s within one hop of the hub.

Devices which require secure pairing, including zwave locks, May need to be “whisper distance” which is within 4 or 5 feet when the encryption code is exchanged.

The newest zwave devices, Z wave plus, _if_ they do not require secure pairing, can probably be paired a couple of hops away.

But let’s say this isn’t an unsecured Z wave plus device, and it is a mains powered zwave light switch. You have several choices for how to get it paired.

A) wire it up to A power source which is close to the hub, pair it, then move it to its desired location, install it, and then run a Z wave repair utility to fix the neighbor tables. ( this method is called “bench Pairing.”)

B) install it in its desired location, put the hub on a really long ethernet cable, move the hub near the device, pair it, take the hub back to its usual location, run a Z wave repair utility to fix the neighbor tables.

C) (my favorite) install the switch in its desired location, use a minimote to pair it, and you’re done. 🕶 You don’t need to run the repair utility because the neighbor tables will already be correct. But you do have to own a minimote and this will probably _not_ work if secure pairing is required.

![image](https://global.discourse-cdn.com/smartthings/original/3X/e/9/e9f76fa2ad3dc5c7f51ccf144b39613280dada36.jpeg)

I hope that answered the question. 🕶 See the following FAQ for more information. Read post 11 first and then go back and read the whole thread.

> [@A Guide to Wireless Range & Repeaters](https://community.smartthings.com/t/a-guide-to-wireless-range-repeaters/11440/11):
>
> One more thought. While I understand the marketing reasons for the decision, the fact that SmartThings gives customers zero guidance on how to set up a network backbone does lead to a lot of frustration that shouldn’t have to exist. if people knew that .1) The hub should be located centrally in the home, both vertically and horizontally. Don’t put it in a garage or basement as those have concrete and pipes and metal objects which will reduce signal. If your Internet router is off in some inaccessible corner, you can use a Wi-Fi access point that has a ethernet port on the side and plug into that. Also, the hub should not be put in a cabinet. You just want to make it as easy as possible for signal to spread around your house. .2) you need one device that can repeat about every 40 feet…

And here’s how to run the repair utility:

[https://support.smartthings.com/hc/en-us/articles/200981864-How-do-I-make-sure-my-Z-Wave-devices-are-routing-optimally-](https://support.smartthings.com/hc/en-us/articles/200981864-How-do-I-make-sure-my-Z-Wave-devices-are-routing-optimally-)
