Meshtastic MQTT Proxy #1219
LN4CY
started this conversation in
Show and tell
Replies: 1 comment
-
|
Now available in the Docker Configurator :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Meshtastic MQTT Proxy
After experiencing unreliable behavior with the built-in Meshtastic MQTT gateway, I created an MQTT proxy that runs in a Docker container and behaves like the official Meshtastic iOS and Android apps, where MQTT traffic is routed through the client instead of directly from the node.
📦 Repository: https://github.com/LN4CY/mqtt-proxy
This proxy can integrate with MeshMonitor, or it can run completely standalone.
Why this exists
I was originally using a T-Deck as an MQTT gateway, but in practice it proved to be unreliable. The device would frequently drop Wi-Fi, resulting in the loss of my only connection to MQTT.
This became especially problematic when not running the mobile apps and relying solely on MeshMonitor. When the T-Deck lost connectivity, MQTT traffic stopped entirely, leaving no stable or automatic recovery.
This project was created to:
Running the MQTT client proxy logic inside a Docker container has proven to be significantly more reliable than gateway mode on embedded hardware.
How it works
The proxy uses the same underlying mechanism as the Meshtastic apps (
mqttClientProxyMessage). As long as the node:…the proxy will automatically route MQTT traffic to the configured server.
The proxy reads all MQTT and channel settings directly from the node, meaning no duplicate or manual MQTT configuration is required.
Features
Summary
This project provides a stable, app-equivalent MQTT client proxy for Meshtastic networks. By moving MQTT handling off embedded devices and into a containerized environment, it eliminates common connectivity issues while remaining fully compatible with existing node configurations.
Beta Was this translation helpful? Give feedback.
All reactions