-
Notifications
You must be signed in to change notification settings - Fork 0
Chirpstack server
De installatie en configuratie van de Chirpstack server is aan te raden om op een Linux distributie te doen. Chirpstack heeft op zich zelf niet erg veel resources nodig. Dit platform is namelijk ook getest op een Raspberry Pi 4 en dit werkte naar behoren.
- Linux distributie -> Ubuntu in dit voorbeeld
- Docker is geïnstalleerd
- Internet toegang
Voor het gemak is het handig om de Chirpstack server een static IP te geven
git clone https://github.com/brocaar/chirpstack-docker.git
cd chirpstack-docker
sudo docker-compose up
network server stap <- TODO
sudo docker-compose down
Nu moet de chirpstack-gateway-bridge-configuratie aangepast worden:
cat ~/chirpstack-docker/configuration/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml
Met de volgende tekst:
# Gateway backend configuration.
[backend]
# Backend type.
type="basic_station"
# Basic Station backend.
[backend.basic_station]
# ip:port to bind the Websocket listener to.
bind=":3001"
# Region.
region="EU868"
# Minimal frequency (Hz).
frequency_min=863000000
# Maximum frequency (Hz).
frequency_max=870000000
# Concentrator configuration.
# Note: this is defined twice as the Cisco gateway has two SX1301 chips.
[[backend.basic_station.concentrators]]
# Multi-SF channel configuration.
[backend.basic_station.concentrators.multi_sf]
# Frequencies (Hz).
frequencies=[
868100000,
868300000,
868500000,
867100000,
867300000,
867500000,
867700000,
867900000,
]
# LoRa STD channel.
[backend.basic_station.concentrators.lora_std]
# Frequency (Hz).
frequency=868300000
# Bandwidth (Hz).
bandwidth=250000
# Spreading factor.
spreading_factor=7
# FSK channel.
[backend.basic_station.concentrators.fsk]
# Frequency (Hz).
frequency=868800000
[[backend.basic_station.concentrators]]
# Multi-SF channel configuration.
[backend.basic_station.concentrators.multi_sf]
# Frequencies (Hz).
frequencies=[
868100000,
868300000,
868500000,
867100000,
867300000,
867500000,
867700000,
867900000,
]
# LoRa STD channel.
[backend.basic_station.concentrators.lora_std]
# Frequency (Hz).
frequency=868300000
# Bandwidth (Hz).
bandwidth=250000
# Spreading factor.
spreading_factor=7
# FSK channel.
[backend.basic_station.concentrators.fsk]
# Frequency (Hz).
frequency=868800000
# Integration configuration.
[integration]
# Payload marshaler.
marshaler="protobuf"
# MQTT authentication.
[integration.mqtt.auth]
type="generic"
# Generic MQTT authentication.
[integration.mqtt.auth.generic]
# MQTT servers.
#
# Configure one or multiple MQTT server to connect to. Each item must be in
# the following format: scheme://host:port where scheme is tcp, ssl or ws.
servers=[
"tcp://mosquitto:1883",
]
sudo docker-compose down
sudo docker-compose up
Vervolgens moeten we naar de application webpagina gaan via de browser:
Algemeen
Benodigdheden
Cisco LoRaWAN Gateway installatie
Server installatie
Algemeen
Benodigdheden
Cisco LoRaWAN Gateway installatie
Server installatie