Collecting data from LoRaWAN, injecting directly to InfluxDB through direct integration in Chirpstack. And being available to Grafana to graphic. All topics are availables by MQTT and usables in Node-red
Coming from Brocaar for Chirpstack server deployment, and from jkehres for -InfluxDB, Chronograf,and Grafana, adding manually Portainer and noder Red from their original websites.
ChirpStack Docker (# brocaar/)
Brocaar (The Master) -- repository brocaar
This repository contains a skeleton to setup the ChirpStack
open-source LoRaWAN Network Server stack using Docker Compose.
- Mosquitto included
Please check the original doc for questions.
Docker-compose-influxdb-grafana (# jkehres)
jkehres -- repository jkehres
- Modification, DB base name, exposition 8888 port
Multi-container Docker app built from the following services:
- InfluxDB - time series database
- Chronograf - admin UI for InfluxDB
- Grafana - visualization UI for InfluxDB
Useful for quickly setting up a monitoring stack for performance testing. Combine with serverless-artillery and artillery-plugin-influxdb to create a performance testing environment in minutes.
Noder Red: https://nodered.org/docs/getting-started/docker.
Portainer: https://portainer.readthedocs.io/en/stable/deployment.html
- Requirements:
- Ubuntu server 20.04 (recomneded) - 18.04
- Docker & Docker-Compose
To clone this repository, you need to execute the following commands:
-
git clone https://github.com/kaciker/iiOT-All-in-ONE.git
-
cd iiOT-All-in-ONE
-
docker-compose up
To stop it:
- docker-compose stop
The services in the app run on the following ports:
Host Port | Service |
---|---|
8080 | Chirpstack |
1770 | Bridge Chirp |
3000 | Grafana |
8086 | InfluxDB |
1883 | Mosquitto |
8888 | Chronograf |
1880 | Node Red |
9000 | Portainer |
The ChirpStack stack components are pre-configured to work in the EU868 LoRaWAN band. Please refer to the configuration/chirpstack-network-server/examples
directory for more configuration examples.
When adding the Network Server in the ChirpStack Application Server web-interface
(see Network Servers),
you must enter chirpstack-network-server:8000
as the Network Server hostname:IP
.
Note that Chronograf does not support username/password authentication. Anyone can connect to the service and will have full admin access. Consequently, the service is publically exposed. To you, to down the service in Portainer if you are not using, or to reinstall the port forwarding
Note that Node Red. Is not configured with autentification. Anyone can connect to the service and will have full admin access. Consequently, the service is publically exposed. Soon I will create de docker-compose with autentification.
Implement Github autentification on docker compose
Implement autentificaton on docker compose
Implement Telegraf