# Integration with 'The Things Network' LoRaWAN?

**URL:** <https://community.homey.app/t/integration-with-the-things-network-lorawan/48362>\
**Category:** Questions & Help\
**Created:** [June 12, 2021, 12:49pm UTC](https://community.homey.app/t/integration-with-the-things-network-lorawan/48362 "2021-06-12T12:49:33Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leo838](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leo838/32/12912_2.png) [@Leo838](https://community.homey.app/u/Leo838)\
**Post date:** [June 12, 2021, 12:49pm UTC](https://community.homey.app/t/integration-with-the-things-network-lorawan/48362/1 "2021-06-12T12:49:33Z")

</div>

Hello all,

I’m wondering if anyone has managed to integrate Homey with the [TTN](https://www.thethingsnetwork.org/) ? I’m not thinking in the RF sense but rather via their [messaging integration](https://www.thethingsnetwork.org/docs/applications/integrations/). It looks fairly possible. If it hasn’t been done before I might give it a go & write a tutorial.

Regards,

---

<div class="post-metadata">

**Author:** ![Charles](https://avatars.discourse-cdn.com/v4/letter/c/6f9a4e/32.png) [@Charles](https://community.homey.app/u/Charles)\
**Post date:** [June 12, 2021, 12:59pm UTC](https://community.homey.app/t/integration-with-the-things-network-lorawan/48362/2 "2021-06-12T12:59:40Z")

</div>

Nice idea, don’t hesitate to ask, I’m working with TTN for years now 🙂

---

<div class="post-metadata">

**Author:** ![Leo838](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leo838/32/12912_2.png) [@Leo838](https://community.homey.app/u/Leo838)\
**Post date:** [June 22, 2021, 8:15pm UTC](https://community.homey.app/t/integration-with-the-things-network-lorawan/48362/3 "2021-06-22T20:15:52Z")

</div>

A starting point [here](https://community.homey.app/t/how-to-integrate-with-the-things-network-ttn-lorawan/48705).

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [June 22, 2021, 9:37pm UTC](https://community.homey.app/t/integration-with-the-things-network-lorawan/48362/4 "2021-06-22T21:37:25Z")

</div>

What would be examples of use cases?

---

<div class="post-metadata">

**Author:** ![Leo838](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leo838/32/12912_2.png) [@Leo838](https://community.homey.app/u/Leo838)\
**Post date:** [June 25, 2021, 9:27pm UTC](https://community.homey.app/t/integration-with-the-things-network-lorawan/48362/5 "2021-06-25T21:27:57Z")

</div>

Start of an app here:

> **[OOHehir/TTN-connector](https://github.com/OOHehir/TTN-connector)**
>
> Webhook Manager for Homey. Contribute to OOHehir/TTN-connector development by creating an account on GitHub.

Hope to publish in a week or two.

---

<div class="post-metadata">

**Author:** ![Leo838](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leo838/32/12912_2.png) [@Leo838](https://community.homey.app/u/Leo838)\
**Post date:** [June 25, 2021, 9:29pm UTC](https://community.homey.app/t/integration-with-the-things-network-lorawan/48362/6 "2021-06-25T21:29:06Z")

</div>

LoRaWAN? A bit like WiFi but much longer range, much lower power & much lower data rates. Useful for remote sensors & actuators.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [June 25, 2021, 9:45pm UTC](https://community.homey.app/t/integration-with-the-things-network-lorawan/48362/7 "2021-06-25T21:45:51Z")

</div>

Yes I know the technology. But I was wondering about use cases in combination with Homey.

---

<div class="post-metadata">

**Author:** ![Leo838](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leo838/32/12912_2.png) [@Leo838](https://community.homey.app/u/Leo838)\
**Post date:** [June 25, 2021, 10:19pm UTC](https://community.homey.app/t/integration-with-the-things-network-lorawan/48362/8 "2021-06-25T22:19:38Z")

</div>

Well I intend to use it to control/ retrieve data from devices that are outside my home Wifi range, e.g. shed, gates etc…

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [June 25, 2021, 10:40pm UTC](https://community.homey.app/t/integration-with-the-things-network-lorawan/48362/9 "2021-06-25T22:40:50Z")

</div>

Do you have your own gateway?  
And when comparing to other solutions (narrow band iot, long range wifi, regular 3g/4g, ???) what made you choose lora?

---

<div class="post-metadata">

**Author:** ![xAPPO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/xappo/32/13726_2.png) [@xAPPO](https://community.homey.app/u/xAPPO)\
**Post date:** [June 25, 2021, 11:20pm UTC](https://community.homey.app/t/integration-with-the-things-network-lorawan/48362/10 "2021-06-25T23:20:39Z")

</div>

I am starting to play with LoRaWAN and TheThingsNetwork. My use is to report from sensors that are a long way away outside my home range. Inparticular a couple at my mum’s home.

I had hoped I could do this using an adjacent University gateway (2km) but it seems not so my personal indoor gateway arrives on Sunday. Once I know the basics better and am sure my setup is valid I’ll revisit using other gateways.

---

<div class="post-metadata">

**Author:** ![Leo838](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leo838/32/12912_2.png) [@Leo838](https://community.homey.app/u/Leo838)\
**Post date:** [July 3, 2021, 11:07am UTC](https://community.homey.app/t/integration-with-the-things-network-lorawan/48362/11 "2021-07-03T11:07:53Z")

</div>

App released for testing.

Quality feedback welcome [here](https://community.homey.app/t/the-things-network-make-homey-part-of-a-global-lorawan-network-test-available/48869/)

---

<div class="post-metadata">

**Author:** ![Leo838](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leo838/32/12912_2.png) [@Leo838](https://community.homey.app/u/Leo838)\
**Post date:** [July 3, 2021, 8:54pm UTC](https://community.homey.app/t/integration-with-the-things-network-lorawan/48362/12 "2021-07-03T20:54:59Z")

</div>

Yes I do, mounted on my roof.

For me it came down to battery life & cost, powerful [single chip solutions](https://www.seeedstudio.com/LoRa-E5-mini-STM32WLE5JC-p-4869.html) are now coming to the market.

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [July 4, 2021, 12:58am UTC](https://community.homey.app/t/integration-with-the-things-network-lorawan/48362/13 "2021-07-04T00:58:01Z")

</div>

I just bought my first lora tracker device to play with TTN. Also want to get a gateway but I dont want to get on the roof and drill a hole in the house. So was thinking to install it indoors in the attic. Any suggestions what router to buy and what the max range would be? I was hoping to get 2km outdoors, but don’t know if that is realistic.

I was looking at Dragino.

> **[LoRa / LoRaWAN Gateway](https://www.dragino.com/products/lora-lorawan-gateway.html)**
>
> LoRa

Are those any good? And which indoor one would be best when looking at

- price
- compatibility with TTN
- flexibility for own network (so not in TTN)
- vendor/community support
- firmware updates
- range outside my house?

---

<div class="post-metadata">

**Author:** ![xAPPO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/xappo/32/13726_2.png) [@xAPPO](https://community.homey.app/u/xAPPO)\
**Post date:** [July 4, 2021, 1:20am UTC](https://community.homey.app/t/integration-with-the-things-network-lorawan/48362/14 "2021-07-04T01:20:34Z")

</div>

I am just using TTN indoor gateway - seems fine and low cost. You might not need a gateway if another is in range.

I bought mine from Amazon DE which is a bad decision as they are supplied by IOT shop DE preconfigured for their network. Awaiting what to do as they won’t connect to Things network v3, but will connect to v2.

---

<div class="post-metadata">

**Author:** ![Leo838](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leo838/32/12912_2.png) [@Leo838](https://community.homey.app/u/Leo838)\
**Post date:** [July 4, 2021, 11:23am UTC](https://community.homey.app/t/integration-with-the-things-network-lorawan/48362/15 "2021-07-04T11:23:01Z")

</div>

I have a RAK7243 gateway connected to TTN v3 stack with the following antenna:

[https://store.rakwireless.com/products/fiber-glass-antenna?variant=39705894813894](https://store.rakwireless.com/products/fiber-glass-antenna?variant=39705894813894)

Working ok for the last year or two & getting at least 3km range.

On end devices I’ve only tried RFM95W & Heltec ESP32 Lora units, cant advise on Dragino units. The TTN forum is fairly active, plenty of advice/ reviews there.

Regards,

Owen
