A little converter that connects to an MQTT broker and maps topics to MongoDB collections. Intended to be used with brokers that send messages in JSON format (like The Things Stack V3).
- Go 94.6%
- Dockerfile 5.4%
|
All checks were successful
/ docker-build-and-push (push) Successful in 3m9s
|
||
|---|---|---|
| .forgejo/workflows | ||
| .gitignore | ||
| config.example.yaml | ||
| config.go | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| mongo-models.go | ||
| README.md | ||
MongoTT: MQTT to MongoDB converter
This tools lets you subscribe to multiple MQTT topics. Incoming messages will be stored in a MongoDB database for permanent storage.
Copy the config.example.yaml to config.yaml and start the docker container:
docker run -v $(pwd)/config.yaml:/config.yaml:ro code.leon.wtf/leon/mongott:latest