# Help with node red and TTN sensors

**URL:** https://discourse.nodered.org/t/help-with-node-red-and-ttn-sensors/52462
**Category:** Dashboard
**Created:** [20 October 2021 13:29 UTC](https://discourse.nodered.org/t/help-with-node-red-and-ttn-sensors/52462 "2021-10-20T13:29:45Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![mill4590](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@mill4590](https://discourse.nodered.org/u/mill4590)
#### Post date: [20 October 2021 13:29 UTC](https://discourse.nodered.org/t/help-with-node-red-and-ttn-sensors/52462/1 "2021-10-20T13:29:45Z")

</div>

good afternoon all

so i am completely new to node red and i am struggling with using it with the things network

i have a temp and humid sensor connected to a LoRa gateway and using TTN i am sending the data to my node red using NQTT but the code in the debug seems completly different to all the other videos i have watched on the matter and i cant seem to work out our to take the information from the debug code to make a dashboard graphs.

sorry for my stupidity but i am very keen to work this out so any help would be greatful

---

<div class="post-metadata">

### Author: ![ScheepersJohan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scheepersjohan/32/39556_2.png) [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)
#### Post date: [20 October 2021 13:44 UTC](https://discourse.nodered.org/t/help-with-node-red-and-ttn-sensors/52462/2 "2021-10-20T13:44:41Z")

</div>

Welcome to Node-Red.

Start by connecting your MQTT to you TTN, you should see the green "connected" below the MQTT node if it is connected correctly.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/9/793538b24316ae12a828c056edcd9ca2f04271fa.png)

Then add a debug node to it and configure it as below.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/4/94be6b23b8c62fa83cf3506617f22dbe5cdb5900.png)

Then look at the Debug Message on the left, the JSON will be in there.

---

<div class="post-metadata">

### Author: ![mill4590](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@mill4590](https://discourse.nodered.org/u/mill4590)
#### Post date: [20 October 2021 13:58 UTC](https://discourse.nodered.org/t/help-with-node-red-and-ttn-sensors/52462/3 "2021-10-20T13:58:26Z")

</div>

hello  
thankyou very much for replying and trying to help me,

this is what i am getting after changing it to the way you descibed

 ![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/5/65196f87b6b6137463ba6120ea7f81ed697c2c9d.png)

you might notice the # this is because it was was it said in a video on the things network utube channel

![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/4/543ffac5d2093edb20f84d596f1665757f877171.png)

---

<div class="post-metadata">

### Author: ![mill4590](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@mill4590](https://discourse.nodered.org/u/mill4590)
#### Post date: [20 October 2021 14:00 UTC](https://discourse.nodered.org/t/help-with-node-red-and-ttn-sensors/52462/4 "2021-10-20T14:00:41Z")

</div>

i will also add this is what i was getting before

 ![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/2/f2f02d01ee0afb3ed6a8c854b4b411b4b5066376.png)

---

<div class="post-metadata">

### Author: ![ScheepersJohan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scheepersjohan/32/39556_2.png) [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)
#### Post date: [20 October 2021 14:18 UTC](https://discourse.nodered.org/t/help-with-node-red-and-ttn-sensors/52462/5 "2021-10-20T14:18:35Z")

</div>

Set your MQTT like below

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/a/ea7381a4b71ee5b5fecba3d1ea0a1e43e18325cf.png)

Also push the arrow and you will see the rest of the JSON

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/0/e0ad1e5fc15d31230cf493f931688c8a960608a6.png)

---

<div class="post-metadata">

### Author: ![mill4590](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@mill4590](https://discourse.nodered.org/u/mill4590)
#### Post date: [20 October 2021 16:04 UTC](https://discourse.nodered.org/t/help-with-node-red-and-ttn-sensors/52462/6 "2021-10-20T16:04:34Z")

</div>

thankyou for your help i got it working now  
thanks again

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [19 November 2021 16:04 UTC](https://discourse.nodered.org/t/help-with-node-red-and-ttn-sensors/52462/7 "2021-11-19T16:04:57Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
