I'm quite new to IoT in general.
I have a Dragino LPS8v2 gateway, and I would like to create a private LoRaWAN network for my end device (TTGO T-Beam).
What I did :
- configure GW's LoRa parameters (frequency plan)
- configure built-in LoRaWAN server (semtech UDP). As mentioned in the Dragino documentation, I selected as primary LoRaWAN server
The Things Network V3
, and as second serverLocal Host/Built-in Server
- Register gateway in The Things Stack Open Source by clicking the link in the GW's configuration page (System -> Built-in Server)
What I expect :
I expect my end device to connect to the Dragino gateway, and therefore use the built-in LoRaWAN server.
What is happening :
- GW seems ok (logs show nothing special)
- end device sends Join Request to gateway, but connects to another near gateway (which is connected to TTN).
For context, the Dragino GW is next to the end device (<1 meter, because I'm trying to set it up and debugging). The other GW is 5-10 meters away.
Also, when checking the Dragino's traffic, the DEVEUI
seen is the one of my end device, used for an application on The Things Network.
I have a few questions:
- Why is the end device not connecting to the Dragino GW ? Is it because it is too near? Or because the other GW responded faster?
- Is it correct to choose as primary LoRaWAN server the
The Things Network V3
, even though I want to use the built-in LoRaWAN server? And if so, why? - When using a built-in LoRaWAN server, the GW shouldn't be connected to The Things Network, is that right?
- Should I add an application in The Things Stack, as well as an end device? I already created an app and registered the end device on The Things Network...
Thanks in advance.