# Imposible to get Data from LSE01

**URL:** <https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593>\
**Category:** Dragino\
**Tags:** guide, gateways, dragino\
**Created:** [April 20, 2022, 2:54pm UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593 "2022-04-20T14:54:05Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [November 16, 2022, 10:25pm UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/21 "2022-11-16T22:25:09Z")

</div>

> [@morse](#):
>
> I read that it stores it for 30 days.

That might have been V2 or the commercial TTI offering, not the community network.

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [November 16, 2022, 10:25pm UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/22 "2022-11-16T22:25:58Z")

</div>

> [@morse](#):
>
> It won’t suddenly go out of range of gateway as both are stationary

Gateways don’t always work. Have you checked it is still connected to TTN?

---

<div class="post-metadata">

**Author:** ![morse](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/morse/32/35697_2.png) [@morse](https://www.thethingsnetwork.org/forum/u/morse)\
**Post date:** [November 16, 2022, 10:28pm UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/23 "2022-11-16T22:28:10Z")

</div>

Gateway is also disconnected from last 2 days.

> [@kersing](#):
>
> Gateways don’t always work

I don’t understand why this might happen, how should I handle this?

---

<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:** [November 16, 2022, 10:54pm UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/24 "2022-11-16T22:54:44Z")

</div>

Get the gw back online! What gw, how connected (backhaul method?), how powered….solar? ……bad weather?!!

IIRC old V2 storages was ‘up to’ 7 days… currently it’s approx 24hrs, with the intent you get your data out live to your own environment and then have DS as an emergency fall back only…… TTN getting too big and too expensive to maintain bigger ‘buffers’ I guess….

---

<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:** [November 16, 2022, 10:58pm UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/25 "2022-11-16T22:58:43Z")

</div>

> [@morse](#):
>
> I don’t understand why this might happen, how should I handle this?

I’d hope that it would be obvious that with no gateway to hear the device that you won’t get any data. And it’s 24 hours on TTN v3, it’s 30 days on TTI paid service.

To get your gateway back online you could do the things that you did when you set it up.

And to be fair to the volunteers on here who answer questions, if you don’t know what details to give, perhaps you could learn a bit: [https://www.thethingsnetwork.org/docs/lorawan/](https://www.thethingsnetwork.org/docs/lorawan/)

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [November 17, 2022, 8:27am UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/26 "2022-11-17T08:27:36Z")

</div>

> [@morse](#):
>
> Gateway is also disconnected from last 2 days.

Them you won’t get any data as the devices transmissions are not magically transferred to TTN.

> [@morse](#):
>
> I don’t understand why this might happen, how should I handle this?

There are a multitude of possible disruption reasons. Without knowing your hardware, power provisioning, internet back haul and other parameters I can only guess what the cause might be and without knowing a cause advising how to solve it is nearly impossible.

---

<div class="post-metadata">

**Author:** ![morse](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/morse/32/35697_2.png) [@morse](https://www.thethingsnetwork.org/forum/u/morse)\
**Post date:** [November 21, 2022, 9:35pm UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/27 "2022-11-21T21:35:11Z")

</div>

Got it. I am thinking of ways to handle sudden data loss. Can I connect raspberry pi to gateway to save the data locally?

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [November 21, 2022, 9:51pm UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/28 "2022-11-21T21:51:07Z")

</div>

Not with the default software on a gateway. And the saved data will be encrypted so will require decryption keys to translate into anything useful.

---

<div class="post-metadata">

**Author:** ![morse](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/morse/32/35697_2.png) [@morse](https://www.thethingsnetwork.org/forum/u/morse)\
**Post date:** [November 21, 2022, 10:15pm UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/29 "2022-11-21T22:15:03Z")

</div>

Oh okay. Got it. So where do I get decryption keys from? I am bit lost here. My advisor is suggesting me to do this as backup in case if because of some issues we fail to send data to TTN. I am using dragino LPS8N.

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [November 21, 2022, 11:22pm UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/30 "2022-11-21T23:22:22Z")

</div>

> [@morse](#):
>
> My advisor is suggesting me

Then may-be your advisor knows sufficient about LoRaWAN to suggest how to do this? My advise would be to try and make sure your gateway has a stable internet connection. In my experience that is sufficient for a 99% of the received uplinks to be delivered to an application. The RF path between the device and gateway will have a far greater loss percentage.

---

<div class="post-metadata">

**Author:** ![morse](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/morse/32/35697_2.png) [@morse](https://www.thethingsnetwork.org/forum/u/morse)\
**Post date:** [November 21, 2022, 11:23pm UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/31 "2022-11-21T23:23:45Z")

</div>

Thank you for the reply and sorry for the trouble mod.  
Can you explain me in a bit simpler technical words why it is not possible so that I can communicate it to my advisor accordingly?

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [November 22, 2022, 12:13am UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/32 "2022-11-22T00:13:11Z")

</div>

> [@morse](#):
>
> Can you explain me in a bit simpler technical words why it is not possible so that I can communicate it to my advisor accordingly?

I am a bit surprised you are working on an LoRaWAN project with an advisor that does not seem to grasp the technology. For a LoRaWAN project I would at least add someone to my team that has a solid understanding of the technology involved to increase the chances of a successful outcome.

The keys you need are stored at the LoRaWAN network server and are only valid until the next join. However what you are trying is the wrong way around. TTN provides a reliable solution, make sure your gateway is reliably connected to the internet and there is no need to try and store the encrypted data locally. As mentioned before a lot more data will be lost between the device and the gateway because of radio signal interference and other issues than between the gateway and TTN.

---

<div class="post-metadata">

**Author:** ![morse](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/morse/32/35697_2.png) [@morse](https://www.thethingsnetwork.org/forum/u/morse)\
**Post date:** [November 22, 2022, 11:20pm UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/33 "2022-11-22T23:20:06Z")

</div>

So what we are actually looking for is specifically when the internet goes down. As WiFi is not reliable, we want to save a copy to not lose the data when the WiFi goes down.  
To save it, he’s suggesting to connect Raspberry Pi to gateway and serially read the data. I want to know if it’s possible or not. Sorry for the trouble

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [November 22, 2022, 11:23pm UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/34 "2022-11-22T23:23:37Z")

</div>

> [@morse](#):
>
> he’s suggesting to connect Raspberry Pi to gateway and serially read the data.

Not an option afaik. The gateway does not provide the LoRaWAN packets on a serial port.

---

<div class="post-metadata">

**Author:** ![morse](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/morse/32/35697_2.png) [@morse](https://www.thethingsnetwork.org/forum/u/morse)\
**Post date:** [November 23, 2022, 12:01am UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/35 "2022-11-23T00:01:15Z")

</div>

My friend is using Lg01 Gateway and has a script which reads the packet received by the gateway.  
Difference is, my friend is using LoRa board and using a normal sensor with it and the gateway to do this.  
My setup has lse01 sensor and LPS8N Gateway. Can the same work be done for my setup?

I am asking this because to integrate it I will have to go where the sensor is deployed and work on it which is not close, hence I want to know whether it is possible or not before doing it.

> **[GitHub - vpadgett1/CubeSat\_LoRa\_Communication](https://github.com/vpadgett1/CubeSat_LoRa_Communication)**
>
> Contribute to vpadgett1/CubeSat\_LoRa\_Communication development by creating an account on GitHub.

Link to what my friend is doing

---

<div class="post-metadata">

**Author:** ![LoRaTracker](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/loratracker/32/48502_2.png) [@LoRaTracker](https://www.thethingsnetwork.org/forum/u/LoRaTracker)\
**Post date:** [November 23, 2022, 8:20am UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/36 "2022-11-23T08:20:32Z")

</div>

> [@morse](#):
>
> My friend is using Lg01 Gateway and has a script which reads the packet received by the gateway.

The LG01 is not a gateway and should not be used as a gateway with TTN, it disrupts communications that nodes have with compliant gateways.

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [November 23, 2022, 10:50am UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/37 "2022-11-23T10:50:20Z")

</div>

> [@morse](#):
>
> My friend is using Lg01 Gateway

That is not a TTN compatible LoRaWAN gateway. It is a Lora (only) gateway.

> [@morse](#):
>
> Can the same work be done for my setup?

If you are willing and capable of modifying the software on the LPS8N you might be able to do something. You will need to create a modified packet forwarder and create scripting to get the encryption keys from TTN. However I still think you are looking at the wrong way to solve the issue. In stead of creating some point solution to mitigate possible connectivity issues you should solve the reliability of the connectivity.

---

<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:** [November 23, 2022, 10:51am UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/38 "2022-11-23T10:51:43Z")

</div>

> [@morse](#):
>
> My setup has lse01 sensor and LPS8N Gateway. Can the same work be done for my setup?

No. There is NO facility to extract the transmissions from the LPS8N over serial. If you look at your gateway you’ll see that this is NO serial port.

And even if there was, you’d have to write code to decrypt the information and extract the payload.

> [@morse](#):
>
> [GitHub - vpadgett1/CubeSat\_LoRa\_Communication](https://github.com/vpadgett1/CubeSat_LoRa_Communication)

This is LoRa to LoRa aka Point 2 Point - which is fine, there is no encryption, it’s all simple scripts, you CAN NOT do this with an LPS8N as it’s firmware is based on 8 receivers, not one. And P2P is off-topic for this forum.

---

<div class="post-metadata">

**Author:** ![morse](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/morse/32/35697_2.png) [@morse](https://www.thethingsnetwork.org/forum/u/morse)\
**Post date:** [November 28, 2022, 5:15pm UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/39 "2022-11-28T17:15:14Z")

</div>

Thank you for all the information.  
I was not able to find this online, but can LSE01 then work with LG01 gateway?

---

<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:** [November 28, 2022, 5:29pm UTC](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593/40 "2022-11-28T17:29:09Z")

</div>

The LG01 is a single channel packet forwarder (SCPF - search for this or SCPF or DCPF on forum) NOT a LoRaWAN Gateway as above…this forum is for TTN Community and users of LoRaWAN, we do not support such LoRa only products. Short answer is No…long answer is if prepared for imperfect implementation and prepared/able to hack code - _and not attempt to use connected to TTN_ - then some level of imperfect and incomplete functionality, with significant packet loss, is/maybe possible, but not discussed or supported here.

Get yourself (or tell your friend to get!) a TTIG or another low cost (Dragino?) **LoRaWAN** Gateway 🙂

[Previous page](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593.md?page=1)

[Next page](https://www.thethingsnetwork.org/forum/t/imposible-to-get-data-from-lse01/56593.md?page=3)
