Dragino LG01-P as Gateway


#1

Hi!

Have anyone used LG01-P as a gateway? Is it possible to use the existing firmware? Or do I need https://github.com/lora-net/packet_forwarder?

This is my current config:

Here is the code on my node:

lora = LoRa(mode=LoRa.LORAWAN)

dev_addr = struct.unpack(">l", binascii.unhexlify(‘07053773’))[0]
nwk_swkey = binascii.unhexlify(‘105bbd9c30cac78395cd414e3a464b67’)
app_swkey = binascii.unhexlify(‘a6c11659741718937b5de0a93eb3d1db’)

lora.join(activation=LoRa.ABP, auth=(dev_addr, nwk_swkey, app_swkey))

Here is the default config that is used:

frequency=868000000, tx_power=14, bandwidth=LoRa.868000000, sf=7, preamble=8, coding_rate=LoRa.CODING_4_5, power_mode=LoRa.ALWAYS_ON, tx_iq=false, rx_iq=false, adr=false, public=true, tx_retries=1, device_class=LoRa.CLASS_A


#2

This was my next task after I screwed around with just playing with the LG01. Unfortunately I don’t have any help at the moment. But there have been posts regarding the LG01 where other users have had it work.

Hopefully someone will chime in who has already had success.


#3

Hello

I had work with Dragino.
I recomend you to configure to TTN first, and then to loraserver.io
Using loraserver.io I use MQTT.
You have to configure you GW on the loraserver web and you could see the packages in there.

I could not sent a downlink, never works for me :frowning:

You dont ask nothin in particular, so I dont know how to help you.
Only recomends you read the manuals from Dragino to connect to TTN and ther the wiki of loraserver.io


#4

I’m not sure what wasn’t particular in his questions? The one about using the existing firmware or not breaks down to do you use the Dragino advised Single packet forwarder or the Lora-Net Packet Forwarder?

Also on your own problem you’re not going to get a downlink unless you are programming it to do so. I’ve managed to get a LG-01 to receive a downlink packet from TTN but you need to use something other than the Single Packet code to do so.


#5

how do I connect the Dragino Gateway (LG01-P) with the Lora Server?
Does Lora Server fully function at this gateway?
Do I need to download anything special? Are there any tutorials on how to make Dragino work?
Thank you


#6

hi,

I actually use the LG01 as single-channel-lorawan gateway with the lora-server from brocaar.

It is possible for me to send via ABP LoraWAN-messages to the app-Server. At this moment I have 5 nodes connected and the goal is to connect up to 25 nodes with this gateway.

In case of configuartion, I can help.
My only problem is, that sometimes the packetforwarder stops working.
The µC receives the LoRa-messages very well (I had checked this with Arduino-console), but the messages will not forwarded to the MQTT and the app-server.
One strange thing is, that I still receive the statistic-messages on MQTT and the app-server. So the packetforwarder isn’t down completely.

Has any one seen this problem too?
Is there a possibility to debug or check if all needed services are running?


#7

Hello,
Its really great knowing someone has done this successfully on LG01.
It would be great if you could help me out with the configuration on LG01.
My skype id: aliasgermodi.
Please help me with the configuration. It would be really helpful.
Thank you


#8

Can you please tell me the server ports and the topic formats.

And do I need to install the gateway bridge or can I do it without that as dragino has an mqtt forwarder


#9

Hi,

Just take a look into this thread: Lorawan/band: unknown channel for frequency


#10

Hello Dear,

Have you found a solution to this problem!! I have the same question.

Thinks,


#11

Hello Ptruffa.
To use dragino in loraserver did you have to modify some openwrt package?
What code do you use in the node? Is the ttn.ino code for abp connection?
Thank you!


#12

It is the same as the ttn example, except change the server adress and port to the one the Bridge’s IP and port and change the protocol to LoRaWAN.

I am able to recieve messages on the lora server using the dragino but downlink seems to be mistimed b/w the node and the gateway. can someone help me out with this


#14

Hello hasiflo.

How do you configure the LG01 and the nodes? I have a LG01 and it connects to TTN but doesn’t pass any packets.

Thanks


#15

Having the same issue, it works on theThingsNetwork but not with brocarr’s lora server. Do we need to update the packet forwarder? I thought the LG01 would work with the existing one.