All Projects → brocaar → chirpstack-gateway-os

brocaar / chirpstack-gateway-os

Licence: other
Yocto based gateway images including ChirpStack components.

Programming Languages

BitBake
79 projects
shell
77523 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to chirpstack-gateway-os

chirpstack-concentratord
Concentrator HAL daemon for LoRa gateways.
Stars: ✭ 53 (-47.52%)
Mutual labels:  gateway, lora, lorawan
LoraGW-Setup
SX1301 Lora Concentrator Raspberry PI based gateway setup
Stars: ✭ 70 (-30.69%)
Mutual labels:  gateway, lora, lorawan
Beelan Lorawan
A LoRaWAN library for compatible arduino board
Stars: ✭ 87 (-13.86%)
Mutual labels:  lora, lorawan
Mainflux
Industrial IoT Messaging and Device Management Platform
Stars: ✭ 1,341 (+1227.72%)
Mutual labels:  lora, lorawan
Laf
This project intends to provide a series of tools to craft, parse, send, analyze and crack a set of LoRaWAN packets in order to audit or pentest the security of a LoraWAN infrastructure.
Stars: ✭ 119 (+17.82%)
Mutual labels:  lora, lorawan
Workshops
Workshops for The Things Network
Stars: ✭ 74 (-26.73%)
Mutual labels:  lora, lorawan
Chirpstack Network Server
ChirpStack Network Server is an open-source LoRaWAN network-server.
Stars: ✭ 1,231 (+1118.81%)
Mutual labels:  lora, lorawan
nrf52-lora
LoRa node on nRF52
Stars: ✭ 24 (-76.24%)
Mutual labels:  lora, lorawan
Lorawan Server
Compact server for private LoRaWAN networks
Stars: ✭ 667 (+560.4%)
Mutual labels:  lora, lorawan
Upylorawan
ESP32 using MicroPython meets LoRa and LoRaWAN.
Stars: ✭ 121 (+19.8%)
Mutual labels:  lora, lorawan
Cayennelpp
Library for Arduino compatible with Cayenne Low Power Payload
Stars: ✭ 51 (-49.5%)
Mutual labels:  lora, lorawan
ui
UI for Mainflux IoT platform
Stars: ✭ 73 (-27.72%)
Mutual labels:  gateway, lora
Floranet
LoRaWAN Network Server
Stars: ✭ 30 (-70.3%)
Mutual labels:  lora, lorawan
WisBlock
Quickstart, tutorials and examples for the RAKwireless WisBlock product line.
Stars: ✭ 95 (-5.94%)
Mutual labels:  lora, lorawan
Esp32 Paxcounter
Wifi & BLE driven passenger flow metering with cheap ESP32 boards
Stars: ✭ 844 (+735.64%)
Mutual labels:  lora, lorawan
Ttgo T Beam Car Tracker
TTGO-T-Beam Arduino Car Tracker - ESP32 + LoRa + GPS + GSM (optional)
Stars: ✭ 106 (+4.95%)
Mutual labels:  lora, lorawan
Lorawan Stack
The Things Stack, an Open Source LoRaWAN Network Server
Stars: ✭ 504 (+399.01%)
Mutual labels:  lora, lorawan
Lua Rtos Esp32
Lua RTOS for ESP32
Stars: ✭ 621 (+514.85%)
Mutual labels:  lora, lorawan
Lora Serialization
LoraWAN serialization/deserialization library for The Things Network
Stars: ✭ 120 (+18.81%)
Mutual labels:  lora, lorawan
RAK831-Zero
Pi Zero RAK831 Adapter board
Stars: ✭ 98 (-2.97%)
Mutual labels:  gateway, lorawan

ChirpStack Gateway OS

The ChirpStack Gateway OS is an embedded OS for LoRa gateways. It is part of the ChirpStack open-source LoRaWAN Network Server stack.

The goal of the ChirpStack Gateway OS is to provide firmware images that are easy to setup, maintain and customize.

Images

chirpstack-gateway-os-base

An image providing the Semtech Packet Forwarder and ChirpStack Gateway Bridge.

Provides the following features:

chirpstack-gateway-os-full

An image providing a complete LoRaWAN network-server running on the gateway.

Provides the following features:

Targets

Raspberry Pi

  • Raspberry Pi Zero W
  • Raspberry Pi 1
  • Raspberry Pi 3
  • Raspberry Pi 4

Shields / kits

Using

Login

The default username is admin with password admin.

Gateway configuration

Execute the following command as admin user:

sudo gateway-config

Building images

A Docker Compose based build environment is provided for compiling the images.

Note: Compiling these images require a fair amount of CPU power, RAM and disk space. As a reference, the pre-compiled images are built using a 8 x Core i7 machine with 16GB RAM running Manjaro Linux with 200GB reserved for the build environment.

Initial setup

Run the following command to fetch the git submodules and setup directory permissions (to write back from the Docker container):

# update the submodules
make submodules

# setup permissions
make permissions

Run the following command to set the /build folder permissions:

# on the host
docker-compose run --rm busybox

# within the container
chown 999:999 /build

Building

Run the following command to setup the build environment:

# on the host
docker-compose run --rm yocto bash

# within the container

# initialize the yocto / openembedded build environment
source oe-init-build-env /build/ /chirpstack-gateway-os/bitbake/


# build the chirpstack-gateway-os-base image
bitbake chirpstack-gateway-os-base

In case of error:

docker.credentials.errors.InitializationError: docker-credential-secretservice not installed or not available in PATH

Make sure that the golang-docker-credential-helpers is installed. On Ubuntu you can install it with:

sudo apt install golang-docker-credential-helpers

Configuration

By default, Raspberry Pi3 is configured as the target platform. You need to update the following configuration files to configure a different target:

  • /build/config/local.conf
  • /build/config/bblayers.conf

Good to know

SD Card wearout

Although ChirpStack Network Server and ChirpStack Application Server try to minimize the number of database writes, there will be regular writes to the SD Card (PostgreSQL and Redis snapshots). According to Is it true that a SD/MMC Card does wear levelling with its own controller? it might make a difference which SD Card brand you use.

Versioning

The major version (major.minor.patch) of this project represents the major version of the provided ChirpStack Network Server stack.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].