# Re-join network without pinning a sensor dragino LHT-52

**URL:** <https://www.thethingsnetwork.org/forum/t/re-join-network-without-pinning-a-sensor-dragino-lht-52/61211>\
**Category:** Dragino\
**Tags:** gateways, end-devices\
**Created:** [January 30, 2023, 3:05pm UTC](https://www.thethingsnetwork.org/forum/t/re-join-network-without-pinning-a-sensor-dragino-lht-52/61211 "2023-01-30T15:05:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![artv](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/a/e274bd/32.png) [@artv](https://www.thethingsnetwork.org/forum/u/artv)\
**Post date:** [January 30, 2023, 3:05pm UTC](https://www.thethingsnetwork.org/forum/t/re-join-network-without-pinning-a-sensor-dragino-lht-52/61211/1 "2023-01-30T15:05:47Z")

</div>

Hello! I have about 100 temp sensors (dragino LHT52) installed in the building and dragino LPS8v2 gateway. Then messages are sent to the Pi where the statistics calculated to help controll the boiler in the building. Recently the gateway went down but I was able to bring it back just by power cycling. But what if that happens when there is no one to reboot the gateway or it will not come back online? I was thinking about installing a second gateway with same settings so the sensors join network on both gateways. And in my lab environment when I pin a sensor it joins the network on both gateways, but only one gateway receives the messages. I unplugged the one that was receiving messages hoping sensor would auto re-join the other gateway by itself, but it didn’t happen. Only after I pin the sensor it rejoins the network. In my real world scenario re-pinning sensors is impossible since they all installed in different apartments. Can someone advise how to re-join the network without pinning the sensor? Or there is a better way to approach this problem altogether? Thank you.

---

<div class="post-metadata">

**Author:** ![Johan\_Scheepers](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/johan_scheepers/32/46550_2.png) [@Johan\_Scheepers](https://www.thethingsnetwork.org/forum/u/Johan_Scheepers)\
**Post date:** [January 30, 2023, 3:27pm UTC](https://www.thethingsnetwork.org/forum/t/re-join-network-without-pinning-a-sensor-dragino-lht-52/61211/2 "2023-01-30T15:27:14Z")

</div>

Your nodes don’t join a gateway, they join the network.

So if both your gateways are connected to the network and one goes down, your nodes wil use the other one, as long as the RF parameters are similar. Otherwise it will take some time, but it will eventually use the othe gateway.

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [January 30, 2023, 3:43pm UTC](https://www.thethingsnetwork.org/forum/t/re-join-network-without-pinning-a-sensor-dragino-lht-52/61211/3 "2023-01-30T15:43:44Z")

</div>

> [@artv](#):
>
> I have about 100 temp sensors (dragino LHT52) installed in the building

Are you using TTN Community network? If so, please contact TTI for a commercial deployment as the community network is not for larger scale commercial use.

> [@artv](#):
>
> when I pin a sensor

In TTN and the commercial TTI deployments you can not pin a sensor to a gateway. Are you using a network server located on the gateway itself? If so you need to migrate to a gateway independent network server for instance a commercial TTI one.

---

<div class="post-metadata">

**Author:** ![mark-stanley](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/mark-stanley/32/44641_2.png) [@mark-stanley](https://www.thethingsnetwork.org/forum/u/mark-stanley)\
**Post date:** [January 30, 2023, 4:48pm UTC](https://www.thethingsnetwork.org/forum/t/re-join-network-without-pinning-a-sensor-dragino-lht-52/61211/4 "2023-01-30T16:48:03Z")

</div>

Hi there,  
Is your gateway configured to use TTN as your network server, or are you using the built-in LoRa server on the LPS8v2 gateway? Your initial post sounds like you might be using the built in LoRa server - which people on here probably can’t help you with - try Dragino support.  
If you have set your gateway up to use TTN (and added it to the TTN console) then I think you’ve misunderstood how it works, because you do not “pin” devices to a gateway: any gateway on the TTN network server within range of your sensors will forward your sensors data to the TTN network server. You can increase coverage / resilience by registering more gateways to TTN - you don’t need to tell each gateway about each sensor.

---

<div class="post-metadata">

**Author:** ![artv](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/a/e274bd/32.png) [@artv](https://www.thethingsnetwork.org/forum/u/artv)\
**Post date:** [January 31, 2023, 2:06pm UTC](https://www.thethingsnetwork.org/forum/t/re-join-network-without-pinning-a-sensor-dragino-lht-52/61211/5 "2023-01-31T14:06:09Z")

</div>

Thanks all for your responses. My gateway is not using the TTN network server but the a built-in LoRa server.

---

<div class="post-metadata">

**Author:** ![Johan\_Scheepers](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/johan_scheepers/32/46550_2.png) [@Johan\_Scheepers](https://www.thethingsnetwork.org/forum/u/Johan_Scheepers)\
**Post date:** [January 31, 2023, 2:10pm UTC](https://www.thethingsnetwork.org/forum/t/re-join-network-without-pinning-a-sensor-dragino-lht-52/61211/6 "2023-01-31T14:10:48Z")

</div>

Well that explains your problem, you node joins the server on the gateway, the other gateway server know nothing about this join.

The discussions on here are about TTN, this I will say is off topic.

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [January 31, 2023, 2:12pm UTC](https://www.thethingsnetwork.org/forum/t/re-join-network-without-pinning-a-sensor-dragino-lht-52/61211/7 "2023-01-31T14:12:25Z")

</div>

This is indeed totally off topic as it does not relate to the use of TTN.

I’d note that the OP needs to learn LoRaWAN fundamentals as what devices join to is pretty core to the setup.

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [January 31, 2023, 2:12pm UTC](https://www.thethingsnetwork.org/forum/t/re-join-network-without-pinning-a-sensor-dragino-lht-52/61211/8 "2023-01-31T14:12:38Z")

</div>


