LoRa/LoRaWAN tutorial 31: LoRa Server Project
If you like this video and want to support me, go this page for my donation Paypal or crypto addresses:
https://www.youtube.com/c/mobilefish/about
This is part 31 of the LoRa/LoRaWAN tutorial.
In this video series different topics will be explained which will help you to understand LoRa/LoRaWAN.
It is recommended to watch each video sequentially as I may refer to certain LoRa/LoRaWAN topics explained earlier.
In this tutorial I will demonstrate how to install and configure the open source LoRaWAN network server called LoRaServer.
The LoRa Server project provides open source components for building LoRaWAN networks.
The LoRa Server project consists of four major components: LoRa Gateway Bridge, LoRa Server, LoRa App Server and LoRa Geo Server.
All components are licensed under the MIT license and can be used for commercial purposes.
The LoRa Gateway Bridge abstracts the packet forwarder UDP protocol data into JSON and sends it to the LoRa Server over MQTT.
The LoRa Server is the LoRaWAN network server.
It de-duplicates and handles the received uplink frames from the gateway(s), handles the LoRaWAN mac layer and schedules the downlink data transmissions.
The LoRa App Server is the LoRaWAN Application Server and handles the join-requests, encryption of application payloads and offers a RESTful JSON API, gRPC API or MQTT for external services.
The LoRa App Server has a web interface to manage users, organisations, applications and devices.
It also allows you to see the received sensor data.
Many users are sending their sensor data to The Things Network.
Now you can create your own private LoRaWAN network by using the LoRa Server components.
More information about the LoRa Server project:
https://www.loraserver.io
All LoRa Server project code:
https://github.com/brocaar
LoRa Server forum:
https://forum.loraserver.io
The LoRa Server and the LoRa App Server each requires their own PostgreSQL database.
There are many configurations of these components possible, for example:
- All LoRa Server components and their dependencies can be installed on their own servers.
- All LoRa Server components and their dependencies can be installed on the gateway itself, which I will demonstrate in this video.
- All LoRa Server components and their dependencies can be installed on a single server instance.
- LoRa Gateway Bridge can be installed on the gateway itself, the other LoRa Server components and their dependencies can be installed on a single server instance.
How it works
The gateway has the Semtech packet forwarder installed.
The global_conf.json and local_conf.json files are used to configure the packet forwarder.
In the global_conf.json file the Lora Gateway Bridge server address and port 1700 are set.
The Lora Gateway Bridge abstracts the received packet forwarder UDP protocol data.
The data is converted into JSON and publishes it to a MQTT broker.
The lora-gateway-bridge.toml file is used to configure the Lora Gateway Bridge.
The Lora Server is the LoRaWAN network server and it has a PostgreSQL database to store the gateway data.
The loraserver.toml file is used to configure the Lora Server.
The Lora App Server is the LoRaWAN application server and it also has a PostgreSQL database to store the gateway data.
The lora-app-server.toml file is used to configure the Lora App Server.
I have created a manual how to install and configure the LoRa Gateway Bridge, LoRa Server, LoRa App Server and their dependencies on the RAK 831 Pilot Gateway.
https://www.mobilefish.com/developer/lorawan/lorawan_quickguide_loraserver_installation.html
The LoRa Gateway OS is an easy way to get started with LoRaWAN and the LoRa Server project.
LoRa Gateway OS are SD card images which contains out-of-the-box support for the Semtech packet forwarder, Lora Gateway Bridge, LoRa Server and LoRa App Server for certain concentrator shields.
More information: https://www.loraserver.io/lora-gateway-os/overview/
There are also gateways on the market with the LoRa Server components already installed, such as the RAK WisKit.
This kit contains among other things:
- RAK2245 Pi HAT (LoRa concentrator module)
- Raspberry Pi 3B+
- WisNode (LoRa Node)
A tutorial about this can be found at:
https://www.hackster.io/fomi-T/simplest-lora-starter-kit-w-rak2245-rpi-ttn-loraserver-0ad993
An SD Card MAY wear out.
The lifetime of SD cards is limited by the number of writes.
It is recommended NOT to use cheap SD cards.
LoRa Server tries to minimise the number of database writes.
Check out all my other LoRa/LoRaWAN tutorial videos:
https://www.youtube.com/playlist?list=PLmL13yqb6OxdeOi97EvI8QeO8o-PqeQ0g
Subscribe to my YouTube channel:
https://www.youtube.com/channel/UCG5_CT_KjexxjbgNE4lVGkg?sub_confirmation=1
The presentation used in this video tutorial can be found at:
https://www.mobilefish.com/developer/lorawan/lorawan_quickguide_tutorial.html
#mobilefish #lora #lorawan
Видео LoRa/LoRaWAN tutorial 31: LoRa Server Project канала Mobilefish.com
https://www.youtube.com/c/mobilefish/about
This is part 31 of the LoRa/LoRaWAN tutorial.
In this video series different topics will be explained which will help you to understand LoRa/LoRaWAN.
It is recommended to watch each video sequentially as I may refer to certain LoRa/LoRaWAN topics explained earlier.
In this tutorial I will demonstrate how to install and configure the open source LoRaWAN network server called LoRaServer.
The LoRa Server project provides open source components for building LoRaWAN networks.
The LoRa Server project consists of four major components: LoRa Gateway Bridge, LoRa Server, LoRa App Server and LoRa Geo Server.
All components are licensed under the MIT license and can be used for commercial purposes.
The LoRa Gateway Bridge abstracts the packet forwarder UDP protocol data into JSON and sends it to the LoRa Server over MQTT.
The LoRa Server is the LoRaWAN network server.
It de-duplicates and handles the received uplink frames from the gateway(s), handles the LoRaWAN mac layer and schedules the downlink data transmissions.
The LoRa App Server is the LoRaWAN Application Server and handles the join-requests, encryption of application payloads and offers a RESTful JSON API, gRPC API or MQTT for external services.
The LoRa App Server has a web interface to manage users, organisations, applications and devices.
It also allows you to see the received sensor data.
Many users are sending their sensor data to The Things Network.
Now you can create your own private LoRaWAN network by using the LoRa Server components.
More information about the LoRa Server project:
https://www.loraserver.io
All LoRa Server project code:
https://github.com/brocaar
LoRa Server forum:
https://forum.loraserver.io
The LoRa Server and the LoRa App Server each requires their own PostgreSQL database.
There are many configurations of these components possible, for example:
- All LoRa Server components and their dependencies can be installed on their own servers.
- All LoRa Server components and their dependencies can be installed on the gateway itself, which I will demonstrate in this video.
- All LoRa Server components and their dependencies can be installed on a single server instance.
- LoRa Gateway Bridge can be installed on the gateway itself, the other LoRa Server components and their dependencies can be installed on a single server instance.
How it works
The gateway has the Semtech packet forwarder installed.
The global_conf.json and local_conf.json files are used to configure the packet forwarder.
In the global_conf.json file the Lora Gateway Bridge server address and port 1700 are set.
The Lora Gateway Bridge abstracts the received packet forwarder UDP protocol data.
The data is converted into JSON and publishes it to a MQTT broker.
The lora-gateway-bridge.toml file is used to configure the Lora Gateway Bridge.
The Lora Server is the LoRaWAN network server and it has a PostgreSQL database to store the gateway data.
The loraserver.toml file is used to configure the Lora Server.
The Lora App Server is the LoRaWAN application server and it also has a PostgreSQL database to store the gateway data.
The lora-app-server.toml file is used to configure the Lora App Server.
I have created a manual how to install and configure the LoRa Gateway Bridge, LoRa Server, LoRa App Server and their dependencies on the RAK 831 Pilot Gateway.
https://www.mobilefish.com/developer/lorawan/lorawan_quickguide_loraserver_installation.html
The LoRa Gateway OS is an easy way to get started with LoRaWAN and the LoRa Server project.
LoRa Gateway OS are SD card images which contains out-of-the-box support for the Semtech packet forwarder, Lora Gateway Bridge, LoRa Server and LoRa App Server for certain concentrator shields.
More information: https://www.loraserver.io/lora-gateway-os/overview/
There are also gateways on the market with the LoRa Server components already installed, such as the RAK WisKit.
This kit contains among other things:
- RAK2245 Pi HAT (LoRa concentrator module)
- Raspberry Pi 3B+
- WisNode (LoRa Node)
A tutorial about this can be found at:
https://www.hackster.io/fomi-T/simplest-lora-starter-kit-w-rak2245-rpi-ttn-loraserver-0ad993
An SD Card MAY wear out.
The lifetime of SD cards is limited by the number of writes.
It is recommended NOT to use cheap SD cards.
LoRa Server tries to minimise the number of database writes.
Check out all my other LoRa/LoRaWAN tutorial videos:
https://www.youtube.com/playlist?list=PLmL13yqb6OxdeOi97EvI8QeO8o-PqeQ0g
Subscribe to my YouTube channel:
https://www.youtube.com/channel/UCG5_CT_KjexxjbgNE4lVGkg?sub_confirmation=1
The presentation used in this video tutorial can be found at:
https://www.mobilefish.com/developer/lorawan/lorawan_quickguide_tutorial.html
#mobilefish #lora #lorawan
Видео LoRa/LoRaWAN tutorial 31: LoRa Server Project канала Mobilefish.com
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
BTW cursus 2: Btw-tarieven & digitale dienstenLoRa/LoRaWAN tutorial 55: Migrate The Things Gateway from V2 to V3Ethereum SignatureStorage Dapp proof of concept using web3.jsLoRa/LoRaWAN tutorial 35: Coax Cables and Coaxial ConnectorsHow to make beetroot potato salad for 6 personsIOTA tutorial 5.1: Snapshot Be PreparedHow plant an advocado plant in a flower pot. Part 2Ethereum ether denominationsDocker tutorials: Docker installation on MacIOTA tutorial 13: Rebroadcast, reattach and promoteBTW cursus 6: B2B btw-regels voor digitale diensten binnen de EUIOTA tutorial 26.1: Trinity Wallet Seed and Two-Factor Authentication Part 2LoRa/LoRaWAN tutorial 54: LoRaWAN 1.1 OTAALoRa/LoRaWAN tutorial 32: Resistor, Reactance, ImpedanceIOTA tutorial 11: Attach Address To TangleCellphone camera tripod clip bracket holder for the iPhone 6S and others from Banggood.comIOTA tutorial 15: BundleHashIOTA tutorial 29: Sending sensor data to the tangle using MAM and Arduino UnoLoRa/LoRaWAN tutorial 51: LoRaWAN Gateway with Cellular Backhaul - RAK7244CLoRa/LoRaWAN tutorial 20: LoRa End Node LibrariesSend data from the Things Uno Beta to The Things Network, part 5