Contents:

1. Introduction

This is an Open Source LoRaWAN server from https://github.com/gotthardp/lorawan-server.

2. Support Devices

All current LoRaWAN gateway can support the connection to this LoRaWAN server. Some gateway models have this lorawan server built-in by default. They are:

  • HP0A
  • HP0C
  • LPS8v2

If for some reason, if the above model doesn't have this lorawan server in it. Users can install them manually.

2.1 Install lorawan server in Armbian System:

Check if you have the Armbian system.

Run command:

   uname -a
   cat /etc/debian_version 

image-20220526172628-2.png

Install lorawan server

Run command:

image-20220527085338-1.png

At this point, lorawan-server is installed

2.2 How do start lorawan server

Setting the automatic startup and start/stop lorawan-server via systemctl

If users want the server to start automatically after system reboot, run the command:

   systemctl enable lorawan-server

start/stop lorawan-server via systemctl:

   systemctl start lorawan-server
   systemctl stop lorawan-server

image-20220527091541-2.png

By default, the server listens on HTTP port 8080 and expects "admin" as both username and password. Users can access it via a web browser by entering the URL, where is the IP or the hostname of your server.  http://ip_address:8080

3. Configure Gateway

3.1 Register Gateway

image-20220531144134-1.png

Back to the page of Semtech UDP check the secondary server settings and click the button of Save&Apply

image-20220531144640-2.png

If the user completes the above steps, you can check your gateway status on the built-in  Lorawan server.

image-20220531144914-3.png

image-20220531144957-4.png

4. Configure Sensors

Step 1. Add the Networks

The following are examples of adding EU868 frequency  nodes

See this link for more frequency configurations https://github.com/gotthardp/lorawan-server/blob/master/doc/Regions.md

1.Input the NetID*                      -->  Random 6 digits

2.Choose the Region*                 --> EU 863-870MHz

3.Gateway Power                        --> Default value of EU868 is 16dBm

image-20220601184816-1.png

1.Max EIRP(dBm) *                      -->  16

2.Max Power *                             --> Max

3.Min Power *                              --> Max - 14 dB

4.Max Date Rate *                       --> SF7 125kHz (5470 bit/s)

5.Initial RX2 DR *                         --> SF12 125kHz (250 bit/s)

6.Initial RX2 Freq (MHz)*             --> 869.525

image-20220601185451-2.png

 

Tags:
    
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0