MeshCoreTel-firmware icon indicating copy to clipboard operation
MeshCoreTel-firmware copied to clipboard

[Feature/Support]: CLI support for custom MQTT server configuration

Open FreeKopcap opened this issue 7 months ago • 3 comments

Summary

The web panel currently supports only two predefined MQTT servers: Meshcortel and LetsMesh (ON/OFF toggle). It would be great to have a CLI command to configure a custom MQTT server, similar to what is available in other observer firmware versions: set mqtt.server [URL] This would be very useful for operators who run their own MQTT broker — for example, to collect extended statistics and perform custom data analysis.

Board

No response

Firmware Target

No response

Power Source

No response

Current Behavior

No response

Expected Behavior

No response

Comparison

No response

Logs Or Screenshots

No response

FreeKopcap avatar May 05 '26 12:05 FreeKopcap

What configuration do you need also for that custom broker? Do you need to set MQTT path as well?

VBart avatar May 15 '26 14:05 VBart

@FreeKopcap i actually (vibe-) coded my own proxy solution for exact this problem, maybe this will fits your needs too https://github.com/hackruu/gomeshcore-mqtt-proxy

hackruu avatar May 18 '26 20:05 hackruu

I'd like that too

agessaman/MeshCore/blob/mqtt-bridge-implementation has the following commands:

  • set mqtt.server <hostname> - Set MQTT server hostname
  • set mqtt.port <port> - Set MQTT server port (1-65535)
  • set mqtt.username <username> - Set MQTT username
  • set mqtt.password <password> - Set MQTT password

https://github.com/agessaman/MeshCore/blob/mqtt-bridge-implementation/MQTT_IMPLEMENTATION.md#set-commands

MultiMote avatar May 29 '26 15:05 MultiMote