# Lora Device -\> LoraWAN Gateway -\> The Things Network -\> Ignition

**URL:** <https://forum.inductiveautomation.com/t/lora-device-lorawan-gateway-the-things-network-ignition/74246>\
**Category:** Ignition\
**Created:** [May 28, 2023, 8:48am UTC](https://forum.inductiveautomation.com/t/lora-device-lorawan-gateway-the-things-network-ignition/74246 "2023-05-28T08:48:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Craig\_Blizard](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@Craig\_Blizard](https://forum.inductiveautomation.com/u/Craig_Blizard)\
**Post date:** [May 28, 2023, 8:48am UTC](https://forum.inductiveautomation.com/t/lora-device-lorawan-gateway-the-things-network-ignition/74246/1 "2023-05-28T08:48:21Z")

</div>

Hey guys,

I have an application where I have a power meter which speaks Lora to a LoraWAN gateway.  
The LoraWAN gateway is a **RAK7258** which passes data to the Things Network.

I am looking for advice on how to bring the data which is present in the The Things Network as a Gateway device which I believe is currently currently setup as LoraWAN gateway (I believe) and then pass it into Ignition SCADA.

I believe there is some way to bring the data in from the Things Network via MQTT and some string conversion using the MQTT Engine module but I'm not sure if this is the right way.

Has anyone gone through this? Are there any guides for how to setup the data in Ignition to see the data from the Things network?

Thanks so much in advance.

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [May 28, 2023, 9:06am UTC](https://forum.inductiveautomation.com/t/lora-device-lorawan-gateway-the-things-network-ignition/74246/2 "2023-05-28T09:06:38Z")

</div>

Welcome,

Firstly I have no experience with Lora but I do a lot of power systems work.

I would say that unless you already have your MQTT infrastructure setup, then I would use Modbus. There is the RAK7431 which converts to Modbus RTU, then you could use e.g Moxa MB3170 to convert to Modbus TCP, for which Ignition has a driver (there is also an RTU driver, but you need to consider how you cable this back to the gateway).

The 7431 is $65 and an MB3170 is $405.

Considerably cheaper than MQTT modules, however, if you already have MQTT, perhaps that is the way to go.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 28, 2023, 12:14pm UTC](https://forum.inductiveautomation.com/t/lora-device-lorawan-gateway-the-things-network-ignition/74246/3 "2023-05-28T12:14:02Z")

</div>

> [@Matrix\_Engineering](#):
>
> MB3170 is $405.

If Ignition is going to be the only Modbus Client, you can use ethernet-to-serial converters with RTU over TCP instead, to save quite a few bucks. This one, also by Moxa, has both RS-232 and RS-485 functionality, for $162:

[https://www.amazon.com/Device-Server-1-Port-Operating-Temperature/dp/B001JK7378](https://www.amazon.com/Device-Server-1-Port-Operating-Temperature/dp/B001JK7378)

---

<div class="post-metadata">

**Author:** ![Kevin.Collins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.collins/32/13497_2.png) [@Kevin.Collins](https://forum.inductiveautomation.com/u/Kevin.Collins)\
**Post date:** [May 29, 2023, 7:45pm UTC](https://forum.inductiveautomation.com/t/lora-device-lorawan-gateway-the-things-network-ignition/74246/4 "2023-05-29T19:45:10Z")

</div>

Easiest path if you've already got data flowing into a TTN account is to use their MQTT Integration and pull it into Ignition via MQTT Engine. You've got to setup a String conversion against the custom namespace you setup (you can disable the other namespaces such as Sparkplug B for the TTN server).

This is what I do to bring in some of the LoRaWAN sensors I have--works really well.

Here are some references:

- [MQTT Server | The Things Stack for LoRaWAN](https://www.thethingsindustries.com/docs/integrations/mqtt/)
- [Do I need to do anything special to connect to my TTN (www.thethingsnetwork.org) broker - MQTT Modules for Ignition 8.x - Confluence](https://docs.chariot.io/display/CLD80/Do+I+need+to+do+anything+special+to+connect+to+my+TTN+%28www.thethingsnetwork.org%29+broker)

---

<div class="post-metadata">

**Author:** ![Craig\_Blizard](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@Craig\_Blizard](https://forum.inductiveautomation.com/u/Craig_Blizard)\
**Post date:** [May 31, 2023, 5:05am UTC](https://forum.inductiveautomation.com/t/lora-device-lorawan-gateway-the-things-network-ignition/74246/5 "2023-05-31T05:05:09Z")

</div>

Hey Kevin.Collins thank you so much this is exactly what i was looking for.  
I will attempt to follow these guides and set things up in the next couple of days. Much appreciated!

---

<div class="post-metadata">

**Author:** ![Craig\_Blizard](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@Craig\_Blizard](https://forum.inductiveautomation.com/u/Craig_Blizard)\
**Post date:** [May 31, 2023, 5:06am UTC](https://forum.inductiveautomation.com/t/lora-device-lorawan-gateway-the-things-network-ignition/74246/6 "2023-05-31T05:06:01Z")

</div>

Thanks very much for the guidance however I am stuck with the Lora arrangement in this case, normally I do use Modbus though.

Thanks again for the product and pricing info will keep this in mind for the next jobs!

---

<div class="post-metadata">

**Author:** ![Craig\_Blizard](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@Craig\_Blizard](https://forum.inductiveautomation.com/u/Craig_Blizard)\
**Post date:** [May 31, 2023, 5:06am UTC](https://forum.inductiveautomation.com/t/lora-device-lorawan-gateway-the-things-network-ignition/74246/7 "2023-05-31T05:06:40Z")

</div>

As above I'm going to be using the Lora system due to the preselected hardware, but will keep this in mind for other projects.

thanks again!
