Dragino LG01-P as Gateway

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.

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

2 Likes

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?

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

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

Hi,

Just take a look into this thread: https://forum.loraserver.io/t/lorawan-band-unknown-channel-for-frequency/1210/26

Hello Dear,

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

Thinks,

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!

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

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

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.

Hie
I’m having the same issue for the TTN, so I decided to try with Lora server, I successfully connected the LG01 to Lora server, but no uplink or downlink messages, had anyone faced the same problem, and fixed it?

I have the Dragino IoT kit V2 that comes with one LG01. Everything is working fine… Just create a gateway profile with only channel zero enabled. Then a service profile with all check-boxes checked and 0 and 5 as data rate. Finally, add the LG01 using its ID that you can find on Service->LoRaWAN Gateway page.

Notice that Dragino LG01 has only one channel… So you must find a way to configure your device to work only sending data to the channel you have configured on your LG01.

Sending data to your device may be simple as: mosquitto_pub -h localhost -t “application/1/device//tx” -h localhost -p 1883 -m “{“confirmed”:true,“fPort”:1,“data”:“base64”}”.

And yes, the Dragino IoT tool kit document helps a lot to understand the LG01 limitations.

Hi… I could use a little help here for using Loraserver on Dragino… Can I ask you your MQTT Configurations on the dragino? I connect it to the thing networks without any problem, But I’m trying to connect the LG01 as a Gateway in LoraServer, so far no luck,

I have the same problem trying connect dragino lg01-s as gateway to loraserver.io.
I have configured only one channel 0 in gateway-profile also in service profile i have check 0-5 data rates but no success. I am a lit bit comfused with a setting in dragino web-interface in radio settings which is encryption key. In this section we have to enter the secrey key which is provided when setup loraserver with 'openssl rand -base64 32 ?

Hi hasiflo,
I am trying to connect LG01 with lora-server from brocaar but no luck.
i have try with lorawan settings also mqtt but no connection. i have setup loraserver in my local lan and also the dragino gateway. i use internal ip so i am sure that firewall is allow access.
could you please help me with the connection. I have setup one channel 0 in gateways-profiles

hi john2k,

  1. I think you have the gateway-bridge on the server, not directly on the gateway, right?

  2. can you send a screenshot from your settings on the dragino lg01 and from your settings on the loraserver (gateway-settings)

  3. for debugging you should use a mqtt-clinet (e.g. mqtt.fx). Then you can see the communication on the lora-server.

  4. Is the problem that you get no sensor data or even that the gateway sends no gateway-statistics to the server?

Thank you hasiflo for your responce.
Sorry for the late answer but i was on a business trip. I have install gateway-bridge on the server.
mqtt-client is running on the server and communication port is open. The problem is that i do not have gateway-statistics on my loraserver as you will saw on photos i atteched

1 Like

I think your port is wrong.
As you connect your gateway to the GatewayBridge (UDP) you will need the port 1700 instead of 8000 (this is the port to the appserver).

Try that and also check if you can ping the loraserver from your gateway (or if you have internet connection on the gateway)

Hi hasiflo,
I hope you can help me too. I’m working with the LG01 gateway, no luck so far in connecting it to the lora-server. I looked for answers in the forum which did not work for me, checked the configuration files of lora bridge, loraserver and lora app, checked the session keys. I even changed the gateway with a new one but the problem remained the same. the LoraServer does not recognize my gateway and whatever is wong with my configuration, have no idea what it is.
these are the screenshots of the settings: 69416586_2837128242967446_8772536543928647680_n|663x500 !
69070585_364869391126909_6395260428921864192_n|668x500 !
68780883_369900153702850_8513032377931399168_n|690x311 !
69292820_1429114650576549_787098816221282304_n|690x334 !
68991269_2536391006423535_13807078611091456_n|690x362 !
69097256_482939968922133_6447667920515366912_n|690x356 !

thanks for everything!