1.2 Chirpstack
The URL specifies the IP address of the Chirpstack installation, port 1883
With a standard installation of Chirpstack, specifying a user and password is not necessary, but depends on how Chirpstack was configured. The Chirpstack documentation should be consulted for this purpose.
After saving, closing and starting the instance should turn “green”, if not check the settings and observe the log.
A mixed use of MQTT is of course possible, so that an unencrypted MQTT connection is possible locally, but encrypted externally, with user/password and generated certificates via TLS and port 8883. See the Chirpstack documentation:
https://www.chirpstack.io/docs/guides/mosquitto-tls-configuration.html
nano /etc/mosquitto/conf.d/listeners.conf
per_listener_settings true
listener 1883 0.0.0.0
allow_anonymous true
listener 8883 0.0.0.0
cafile /etc/mosquitto/certs/ca.pem
certfile /etc/mosquitto/certs/mqtt-server.pem
keyfile /etc/mosquitto/certs/mqtt-server-key.pem
allow_anonymous false
require_certificate true
use_identity_as_username true
acl_file /etc/mosquitto/acl
apt update && apt upgrade -y
apt install docker.io docker-compose -y
apt install git apparmor
git clone https://github.com/brocaar/chirpstack-docker
cd chirpstack-docker/
docker-compose up --detach
ip a
IP:8080 Chirpstack WEB Login admin:admin
IP:8090 REST-API
Installatio Chirpstack v4 (german) YouTube Video
for longer ( >51 Byte) Downlinks in Chirpstack:
Docker:
nano /chirpstack-docker/configuration/chirpstack/region_eu868.toml
Debian/Ubuntu:
nano /etc/chirpstack/region_eu868.toml
rx2_dr=3
reboot Chirpstack