2.9 KiB
2.9 KiB
ChirpStack Tutorial Outline
- Overview
- RPi gateway + ChirpStack
- Sensor device
- Metrics
- Architecture description
- Gateway
- UDP packet forwarder (Semtech) OR concentratord
- Gateway Bridge OR MQTT Forwarder
- UDP -> GW Bridge, UDP -> MQTT, or concentratord -> MQTT
- Server
- MQTT broker
- ChirpStack
- Redis
- PostgreSQL
- Integration
- InfluxDB + Grafana
- Gateway
- Overall parts and cost
- ChirpStack setup
- Hardware
- Raspberry Pi 3 or 4 (+ power supply and MicroSD card)
- Hat + Seeed WM1302 (SPI version, not USB)
- Other options
- WaveShare
- Seeed SenseCAP M2
- Microtik wAP LR9
- Rak WisGate Edge Pro
- RAK5146 Pi hat
- Milesight UG63
- Multitech Conduit AP
- Dragino LPS8N
- More options
- Raspberry Pi imaging
- RPi imager; I get it from Flathub with Mint
- Network setup (static IP, WiFi is fine but prefer ethernet)
- ChirpStack installation
- Packet forwarder
- Download
- Config (channel and port settings)
- Systemd script
- ChirpStack gateway creation
- Hardware
- Device setup
- Hardware + tools
- Wire cutter + 22 AWG wire or premade jump wires
- Breadboard
- Makerfocus CubeCell + USB-C to USB-A cable (cannot be USB-C to USB-C!)
- BME280 temp/pressure/humidity sensor
- Battery
- Dev environment
- Code
- Loop logic
- Cayenne LPP overview
- ChirpStack config
- Device profile
- Application
- Hardware + tools
- Metrics setup
- Diagram overview
- Cloud instance
- Docker setup
- InfluxDB
- Grafana
- Nginx
- Certificates + auto-renewal
- ChirpStack config
TODO put this somewhere:
There are many more components included in ChirpStack, and they can integrate with one another to allow for lots of flexibility:
flowchart TD
subgraph Gateway
pf(Semtech Packet Forwarder) --> gb(ChirpStack Gateway Bridge)
c(ChirpStack Concentratord) --> uf(ChirpStack UDP Forwarder)
c --> mf(ChirpStack MQTT Forwarder)
uf --> gb
pf --> mf
end
mf --> mb
gb --> mb(Mosquitto MQTT Broker)
subgraph Cloud Server
mb--> cs(ChirpStack)
cs --> i(...Various integrations...)
end