firmware icon indicating copy to clipboard operation
firmware copied to clipboard

[Bug]: MQTT JSON output missing on develop branch (works on 2.7.26 stable)

Open shlorpian opened this issue 3 months ago • 1 comments

Category

Other

Hardware

Other

Is this bug report about any UI (https://meshtastic.org/docs/configuration/device-uis/) component firmware?

  • [ ] Meshtastic UI aka MUI
  • [ ] InkHUD
  • [ ] BaseUI

Firmware Version

2.8.0.74119c0 Nightly or develop branch

Description

On the develop branch or v2.8.0.74119c0 Nightly, the device no longer publishes to the MQTT JSON topic (msh/.../json/...) at all, regardless of the mqtt.json_enabled setting. The same configuration works correctly on the v2.7.26.54e0d8d stable release — JSON messages are published as expected there.

Environment

  • Hardware: ESP32-based node
  • MQTT: local broker, no auth, no TLS
  • develop branch: current HEAD as of [date/commit hash]
  • Working comparison: v2.7.26.54e0d8d (stable)
  • mqtt.json_enabled: true on both

Steps to reproduce

  • Flash develop to a node connected to WiFi/Ethernet with a working MQTT connection.
  • Enable mqtt.json_enabled in the MQTT module config.
  • Enable uplink on a channel (e.g. default LongFast).
  • Subscribe to msh/.../json/# on the broker.
  • Send a message / let telemetry publish.
  • Observe: no messages arrive on the json topic, while msh/.../e/# (protobuf) topic works normally.
  • Repeat with v2.7.26.54e0d8d — JSON topic receives messages as expected.

Expected behavior

JSON topic should be populated the same way it is on 2.7.26, when mqtt.json_enabled is true.

Relevant log output


shlorpian avatar Aug 19 '26 12:08 shlorpian

This is expected, you need to do any json processing outside of the firmware now

garthvh avatar Aug 19 '26 15:08 garthvh