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%
Find a file
Leon Schmidt d7cdc3cd39
All checks were successful
/ docker-build-and-push (push) Successful in 3m9s
chore: migration from Gitlab CI/CD to Forgejo Actions
2026-04-14 21:15:02 +02:00
.forgejo/workflows chore: migration from Gitlab CI/CD to Forgejo Actions 2026-04-14 21:15:02 +02:00
.gitignore Basic structure done, closed #1 2024-01-29 16:59:40 +01:00
config.example.yaml Added authentication database config param 2024-02-24 11:32:25 +01:00
config.go Added authentication database config param 2024-02-24 11:32:25 +01:00
Dockerfile Downgraded go, moved subscription to onConnect 2024-02-09 11:08:30 +01:00
go.mod Downgraded go, moved subscription to onConnect 2024-02-09 11:08:30 +01:00
go.sum Switched to mongoDB 2024-01-29 19:19:33 +01:00
LICENSE Added LICENSE 2025-08-11 20:52:43 +02:00
main.go Added authentication database config param 2024-02-24 11:32:25 +01:00
mongo-models.go Added DB access check and closed #3 2024-02-19 14:08:23 +01:00
README.md chore: migration from Gitlab CI/CD to Forgejo Actions 2026-04-14 21:15:02 +02:00

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