# No Live Data showning up

**URL:** <https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215>\
**Category:** Raspberry Pi Gateways\
**Tags:** gateways, end-devices\
**Created:** [October 6, 2022, 12:40pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215 "2022-10-06T12:40:48Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![gummibaerchen21](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/gummibaerchen21/32/35697_2.png) [@gummibaerchen21](https://www.thethingsnetwork.org/forum/u/gummibaerchen21)\
**Post date:** [October 6, 2022, 12:40pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/1 "2022-10-06T12:40:49Z")

</div>

I have recently started with a LoRa by building a Raspi Gateway. I’ve used this instructions for building the Gateway: [Bulding a gateway with Raspberry Pi and IC880A | The Things Stack for LoRaWAN](https://www.thethingsindustries.com/docs/gateways/raspberry-pi/)  
I also got a Heltec WiFi LoRa 32(V2) and set it up as a Pax counter with this instructions: [GitHub - cyberman54/ESP32-Paxcounter: Wifi & BLE driven passenger flow metering with cheap ESP32 boards](https://github.com/cyberman54/ESP32-Paxcounter)  
The Gateway successfully connects to the TTN Console and also shows an the amount of received up and down links and the Last activity but i couldn’t see anything on the Live data tab.  
The same thing happens in an Application the amount of up and down links is shown but there is no Live data showing up.  
Thanks for your help

---

<div class="post-metadata">

**Author:** ![Johan\_Scheepers](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/johan_scheepers/32/48536_2.png) [@Johan\_Scheepers](https://www.thethingsnetwork.org/forum/u/Johan_Scheepers)\
**Post date:** [October 6, 2022, 1:29pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/2 "2022-10-06T13:29:16Z")

</div>

Information:

1. What region are you gateway set to?  
2.Do you see anything in your gateway live data? (is connected to TTN?) When you device is on.
2. Your device, what region is it setup for?
3. Are the DEVEUI, APPEUI and APPKEY in the correct order?

---

<div class="post-metadata">

**Author:** ![gummibaerchen21](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/gummibaerchen21/32/35697_2.png) [@gummibaerchen21](https://www.thethingsnetwork.org/forum/u/gummibaerchen21)\
**Post date:** [October 6, 2022, 1:43pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/3 "2022-10-06T13:43:24Z")

</div>

I’m sorry for not giving this info.

1. The Gateway is in the eu1 cloud and the Frequency plan is EU\_863\_870\_TTN. It is Located in Germany.
2. Here is an screenshot of my Live data tab as it looks like since I set it up.  
 ![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/8/8/889b3905f45ce2fc9334dad13c4a7f8b8b3758eb.png)
3. It is the same as fore the gateway
4. Yes they are in the order I checked it several times

---

<div class="post-metadata">

**Author:** ![Johan\_Scheepers](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/johan_scheepers/32/48536_2.png) [@Johan\_Scheepers](https://www.thethingsnetwork.org/forum/u/Johan_Scheepers)\
**Post date:** [October 6, 2022, 2:06pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/4 "2022-10-06T14:06:47Z")

</div>

Are you using OTAA?

---

<div class="post-metadata">

**Author:** ![gummibaerchen21](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/gummibaerchen21/32/35697_2.png) [@gummibaerchen21](https://www.thethingsnetwork.org/forum/u/gummibaerchen21)\
**Post date:** [October 6, 2022, 2:10pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/5 "2022-10-06T14:10:40Z")

</div>

Yes, I’m using OTTA

---

<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:** [October 6, 2022, 2:15pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/6 "2022-10-06T14:15:10Z")

</div>

> [@gummibaerchen21](#):
>
> Here is an screenshot of my Live data tab as it looks like since I set it up.

A rather pointless screen shot, please don’t!

If that’s actually for your gateway as implied by the blob in the middle, it’s not connected as there are no gateway keep-alive messages.

Gateway info is publicly available. The info you need to keep secret is the AppKey(s) for device(s).

> [@gummibaerchen21](#):
>
> Yes they are in the order I checked it several times

Which order, LSB or MSB - there are instructions in the code that detail which way round they should be?

---

<div class="post-metadata">

**Author:** ![gummibaerchen21](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/gummibaerchen21/32/35697_2.png) [@gummibaerchen21](https://www.thethingsnetwork.org/forum/u/gummibaerchen21)\
**Post date:** [October 6, 2022, 2:25pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/7 "2022-10-06T14:25:23Z")

</div>

> [@descartes](#):
>
> A rather pointless screen shot, please don’t!

Sorry

I’m pretty sure that the gateway is connected, because it says “Last activity1 minute ago” and my pax counter is connected to the gateway because if I shut the gateway down, the pax counter can not connect to LoRa.

> [@descartes](#):
>
> Which order, LSB or MSB - there are instructions in the code that detail which way round they should be?

In the example script the order is MSB and I receive the data from the app in my MQTT-client.

---

<div class="post-metadata">

**Author:** ![Johan\_Scheepers](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/johan_scheepers/32/48536_2.png) [@Johan\_Scheepers](https://www.thethingsnetwork.org/forum/u/Johan_Scheepers)\
**Post date:** [October 6, 2022, 2:28pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/8 "2022-10-06T14:28:25Z")

</div>

If you cant see any messages in your gateway live data you have one of two problems.

1. Antennas are not connected. Ether the node side or the gateway.  
2 You frequency selection is incorrect.  
3 You device is off.

If your Keys are incorrect you will still see something in the gateway live date, but not in the application.

---

<div class="post-metadata">

**Author:** ![gummibaerchen21](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/gummibaerchen21/32/35697_2.png) [@gummibaerchen21](https://www.thethingsnetwork.org/forum/u/gummibaerchen21)\
**Post date:** [October 6, 2022, 2:32pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/9 "2022-10-06T14:32:24Z")

</div>

But I can get the data from the pax counter on the with a MQTT-client so my node must be connected to TTN over my gateway, because there is no other gateway reachable or is my assumption wrong?

---

<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:** [October 6, 2022, 2:32pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/10 "2022-10-06T14:32:49Z")

</div>

> [@gummibaerchen21](#):
>
> my pax counter is connected to the gateway because if I shut the gateway down, the pax counter can not connect to LoRa.

Yes, like if we turn off WiFi our phones can’t surf the net. Not really relevant and the way LoRaWAN works, it doesn’t connect to the gateway, it connects to the server.

**If you say both consoles are empty, then your gateway isn’t connected to TTN.**

Last activity could just be you pressing buttons on the web page.

---

<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:** [October 6, 2022, 2:36pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/11 "2022-10-06T14:36:18Z")

</div>

> [@gummibaerchen21](#):
>
> But I can get the data from the pax counter on the with a MQTT-client so my node must be connected to TTN over my gateway

That’s a new one on me!

Maybe there is something about your browser that doesn’t support React-faux-Server-Side-Events which is the JavaScript mechanism used to pass console entries from the servers to your browser.

What browser are you using & what version?

---

<div class="post-metadata">

**Author:** ![Jeff-UK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jeff-uk/32/35697_2.png) [@Jeff-UK](https://www.thethingsnetwork.org/forum/u/Jeff-UK)\
**Post date:** [October 6, 2022, 2:40pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/12 "2022-10-06T14:40:03Z")

</div>

> [@gummibaerchen21](#):
>
> I can get the data from the pax counter on the with a MQTT-client so my node must be connected to TTN over my gateway

Are you sure you arent getting data through another GW - LoRaWAN can have suprisingly long range! 😉 Have you checked the metadata for the messages you are getting to see which GW is handling it?

> [@gummibaerchen21](#):
>
> because there is no other gateway reachable or is my assumption wrong?

Quite possibly - until we know results of your investigation we wont know… 🙂

Where are you located? (approx)

---

<div class="post-metadata">

**Author:** ![gummibaerchen21](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/gummibaerchen21/32/35697_2.png) [@gummibaerchen21](https://www.thethingsnetwork.org/forum/u/gummibaerchen21)\
**Post date:** [October 6, 2022, 2:41pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/13 "2022-10-06T14:41:51Z")

</div>

> [@descartes](#):
>
> What browser are you using & what version?

I’m using Mozilla Firefox, Version: 105.0.2 (64-bit), but I also tried it with Google Chrome, Version 106.0.5249.91 and Microsoft Edge, Version 106.0.1370.34

---

<div class="post-metadata">

**Author:** ![Jeff-UK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jeff-uk/32/35697_2.png) [@Jeff-UK](https://www.thethingsnetwork.org/forum/u/Jeff-UK)\
**Post date:** [October 6, 2022, 2:43pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/14 "2022-10-06T14:43:51Z")

</div>

I note from the use case that:

“_Data can either be be stored on a local SD-card, transferred to cloud using LoRaWAN network (e.g. TheThingsNetwork or Helium) or **MQTT over TCP/IP,** or transmitted to a local host using serial (SPI) interface._”

So wondering if running over LoRaWAN at all or just connected over WiFi and delivering MQTT that way?

---

<div class="post-metadata">

**Author:** ![gummibaerchen21](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/gummibaerchen21/32/35697_2.png) [@gummibaerchen21](https://www.thethingsnetwork.org/forum/u/gummibaerchen21)\
**Post date:** [October 6, 2022, 2:44pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/15 "2022-10-06T14:44:28Z")

</div>

> [@Jeff-UK](#):
>
> Are you sure you arent getting data through another GW - LoRaWAN can have suprisingly long range! 😉 Have you checked the metadata for the messages you are getting to see which GW is handling it?

Yes, I’m sure I checked the metadata and it says the name of my gateway as gateway id

> [@Jeff-UK](#):
>
> Where are you located? (approx)

I’m in Bavaria, Germany

---

<div class="post-metadata">

**Author:** ![gummibaerchen21](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/gummibaerchen21/32/35697_2.png) [@gummibaerchen21](https://www.thethingsnetwork.org/forum/u/gummibaerchen21)\
**Post date:** [October 6, 2022, 2:48pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/16 "2022-10-06T14:48:03Z")

</div>

> [@Jeff-UK](#):
>
> So wondering if running over LoRaWAN at all or just connected over WiFi and delivering MQTT that way?

I think I’m connected over LoRaWAN, because I took the Public MQTT address from my app on TTN: eu1.cloud.thethings.network:1883 and the username and password and put this data into my MQTT-client.

---

<div class="post-metadata">

**Author:** ![Jeff-UK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jeff-uk/32/35697_2.png) [@Jeff-UK](https://www.thethingsnetwork.org/forum/u/Jeff-UK)\
**Post date:** [October 6, 2022, 2:53pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/17 "2022-10-06T14:53:12Z")

</div>

> [@gummibaerchen21](#):
>
> I’m in Bavaria, Germany

Was thinking a little more local than that  
but given

> [@gummibaerchen21](#):
>
> it says the name of my gateway as gateway id

It doesnt matter as data getting through to end application post MQTT

To summarize OP etc.: you are seeing traffic on GW console page? You are seeing traffic in your Application console page? You are seeing traffic delivered over MQTT to end application using the MQTT integration set up at Application level in the console? You are not seeing traffic on your device/live data page? And you are seeing the GW as showing disconnected? (latter doesnt really matter as can be ‘sticky’ per other forum posts - just so long as your data is getting through! 🙂 )

---

<div class="post-metadata">

**Author:** ![gummibaerchen21](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/gummibaerchen21/32/35697_2.png) [@gummibaerchen21](https://www.thethingsnetwork.org/forum/u/gummibaerchen21)\
**Post date:** [October 6, 2022, 2:57pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/18 "2022-10-06T14:57:51Z")

</div>

I now opened the console with my phone and I saw all the traffic so I think it’s a problem with my browser or PC.  
Thanks for the help but I think you can not help my further.

@Jeff-UK should I still answer your questions?

---

<div class="post-metadata">

**Author:** ![Jeff-UK](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jeff-uk/32/35697_2.png) [@Jeff-UK](https://www.thethingsnetwork.org/forum/u/Jeff-UK)\
**Post date:** [October 6, 2022, 3:00pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/19 "2022-10-06T15:00:24Z")

</div>

> [@gummibaerchen21](#):
>
> I think it’s a problem with my browser or PC.

QUite likely - hence the stickiness reference 😉 A browser cache flush sometimes help or as you have done change device/browser 🙂

> [@gummibaerchen21](#):
>
> @Jeff-UK should I still answer your questions?

No need - sounds like you are good to go! Good luck and happy counting! 👍

---

<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:** [October 6, 2022, 3:15pm UTC](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215/20 "2022-10-06T15:15:10Z")

</div>

> [@gummibaerchen21](#):
>
> so I think it’s a problem with my browser or PC.

🥳 👯 🍻

I love it when a plan comes together!

As I said, new one - like it!

[Next page](https://www.thethingsnetwork.org/forum/t/no-live-data-showning-up/59215.md?page=2)
