# IoT with LoRaWAN, Pycom, The Things Network & Node-RED

**URL:** <https://forum.core-electronics.com.au/t/iot-with-lorawan-pycom-the-things-network-node-red/4261>\
**Category:** Guides\
**Created:** [4 January 2019 02:23 UTC](https://forum.core-electronics.com.au/t/iot-with-lorawan-pycom-the-things-network-node-red/4261 "2019-01-04T02:23:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/chris/32/1135_2.png) [@Chris](https://forum.core-electronics.com.au/u/Chris)\
**Post date:** [4 January 2019 02:23 UTC](https://forum.core-electronics.com.au/t/iot-with-lorawan-pycom-the-things-network-node-red/4261/1 "2019-01-04T02:23:16Z")

</div>

Chris just shared a new tutorial: [**"IoT with LoRaWAN, Pycom, The Things Network & Node-RED"**](http://core-electronics.com.au/tutorials/iot-with-lorawan-pycom-the-things-network-and-node-red.html)  
  
 ![](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/7/72eb601b6dfec5ffe42260d8dd6cdd6141d71245.jpeg)  
  
In our two previous Pycom articles we covered Building a LoRaWAN Nano Gateway to The Things Network, and creating Your First LoRaWAN Node on The Things Network. In these articles we used the mighty powerful Pycom LoPy (part of the Pycom range) to bui…  
  
[**Read more**](http://core-electronics.com.au/tutorials/iot-with-lorawan-pycom-the-things-network-and-node-red.html)

---

<div class="post-metadata">

**Author:** ![Mart](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@Mart](https://forum.core-electronics.com.au/u/Mart)\
**Post date:** [17 February 2020 19:20 UTC](https://forum.core-electronics.com.au/t/iot-with-lorawan-pycom-the-things-network-node-red/4261/2 "2020-02-17T19:20:24Z")

</div>

Hi,  
Thanks so much for this tutorial. I am learning about LoRa, and gave a few nodes and a dragino gateway, all working fine into TTN. But like this tutorial I’d like to take a little more control of the nodes using node red.  
I am trying to understand if Node red can digest the data from the gateway directly. Lets say I have a node red server… it appears that my gateway can send data to an MQTT broker(?) - so is there any reason why I’d want to go up to TTN then back down again to my LAN (where the gateway and node red reside) when I can just go direct to node red?

If it is possible - what library would I need in node red to accept data in? I get lost in the MQTT broker subscriber options, but the gateway isn’t a subscriber - its a sender… ???

Perhaps Im missing something.

---

<div class="post-metadata">

**Author:** ![Bryce](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/bryce/32/3631_2.png) [@Bryce](https://forum.core-electronics.com.au/u/Bryce)\
**Post date:** [18 February 2020 05:01 UTC](https://forum.core-electronics.com.au/t/iot-with-lorawan-pycom-the-things-network-node-red/4261/3 "2020-02-18T05:01:31Z")

</div>

Hey Mart,

Here are some tutorials that should be relevant to the issues you’re having with Node-Red. All the best with it!

[https://cookbook.nodered.org/mqtt/connect-to-broker](https://cookbook.nodered.org/mqtt/connect-to-broker)

> **[node-red-contrib-mqtt-broker](https://flows.nodered.org/node/node-red-contrib-mqtt-broker)**
>
> MQTT Broker server on Node-RED

> **[Visualizing Lora Node data with Node-red and Grafana](https://www.hackster.io/naresh-krish/visualizing-lora-node-data-with-node-red-and-grafana-8960d3)**
>
> This tutorial shows how to use the data collected from LoRa nodes into beautiful graphs and visualization using Node-red and Grafana. By Naresh krish.

Bryce  
Core Electronics | Support
