Skip to content

MQTT broker source shows incorrect node count depending on selected source #3354

@Yeraze

Description

@Yeraze

Description

The built-in MQTT broker source displays incorrect node counts in the Sources sidebar. The count shown on the MQTT_BROKER card changes depending on which source is currently selected/active — observed alternating between 11 and 12 nodes in back-to-back screenshots with no actual change in connected nodes.

Steps to Reproduce

  1. Open MeshMonitor with multiple sources configured including the built-in MQTT broker
  2. Note the node count displayed on the MQTT_BROKER source card
  3. Click a different source card (e.g. RAK4631 or Heltec_V4) to select it
  4. Observe the MQTT_BROKER card — the node count may change without any actual connection change

Expected Behavior

The node count on each source card should reflect only that source's actual connected nodes, independently of which source is currently selected.

Additional Context

Reproduced with: Unified (909 nodes), RAK4631 (893 nodes), Heltec_V4 (633 nodes), MQTT_BROKER showing 11 vs 12 depending on selection state.

Authored by NodeZero 0️⃣

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageTrigger AI triage analysis for this issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions