chirpstack

by BeeInventor

Helm chartv0.1.10App 3

ChirpStack open-source LoRaWAN® Network Server

About this chart

ChirpStack

ChirpStack open-source LoRaWAN® Network Server

TL;DR

helm repo add beeinventor https://beeinventor.github.io/charts
helm install my-release beeinventor/chirpstack

Multi-band Installation

Using this chart, you can deploy multi-band network servers and gateway bridges, additionally, the networkServer.variant value can separate deployments of the same band with different network settings.

Senario

Please note that each network server's postgres database must be separate, therefore, you must create a database before running the step 2.

Start multiple network servers and gateway bridges, and the application server connects to them so that you can manage multiple regions from a single web interface.

  1. Install the chart with applicationServer.enabled: true, and modify the values of the application server.

    helm upgrade --install -f as-values.yaml chirpstack beeinventor/chirpstack -n chirpstack
    
  2. Install the chart with networkServer.enabled: true and gatewayBridge.enabled: true, and modify the values of the network settings (band, networkSettings, etc.).

    helm upgrade --install -f as923-tw.values.yaml taiwan-lora beeinventor/chirpstack -n chirpstack 
    
  3. Login to the web, and add the network server, for example, taiwan-lora-chirpstack-gateway-bridge-as923-a:8080.

  4. Repeat step 2 and 3.

MQTT Topic Template

As for the default mqtt topic templates, the ${region}-${variant} in lowercase will be prefixed. E.g.

  • as923-a/gateway/...
  • eu868-a/gateway/...

Redis Key Prefix

As each server has its own key prefix, it is fine to share a redis server among several network servers.

For example, if the networkServer.band.name is set to AS923 and the networkServer.variant is set to A, the network server redis key prefix will be ns:as923-a.

Mosquitto

It is highly recommended that you deploy your own MQTT server since Mosquitto is aimed toward getting started quickly.

Deploy chirpstack with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has chirpstack on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartchirpstack is pinned at v0.1.10 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply