Skip to content

Situation Map only show trusted, ignore configuration #92

@brothercorvo

Description

@brothercorvo

I am currently working on the Reticulum Telemetry Hub project
https://github.com/FreeTAKTeam/Reticulum-Telemetry-Hub, a situational awareness server for Sideband with TAK and meshtastic bridges.

I encountered the following issue in Sideband’s telemetry handling logic.
When in telemetry options “Only display trusted on map” is disabled, Sideband still fails to show untrusted peers’ telemetry markers on the map. The UI toggle moves correctly, but the map continues to filter out all untrusted telemetry.

The behavior seems to indicate that:

  • the configuration value is not being applied to the map layer,
    -- the value may remain truthy internally, or
  • the telemetry trust filter is desynchronized between UI and the display engine.

Source locations involved:

  • Trust-filtering logic in map update loop at sbapp/main.py:6578
  • UI toggle code writes to config at sbapp/ui/telemetry.py:82–85 and 260–283
  • Even with telemetry_display_trusted_only = False, the map continues to drop untrusted markers.
  • This is reproducible, and appears to be a genuine defect in the trust-filter handling.

To Reproduce

  • Open Settings → Telemetry.
  • Disable “Only display trusted on map”.
  • configure a Telemetry collector & restart sideband
  • Start Sideband with a Reticulum network containing both trusted and untrusted peers connected to the same collector
  • Receive telemetry from telemetry collector with both trusted and untrusted peers (stream or beacon).
  • go to to the Situation map view.
  • below are the nodes in the collector
Image

Result:

Image
  • Only trusted peers appear on the map; untrusted telemetry markers never show.

This occurs regardless of whether the collector mode is active.

Expected Behavior

  • When “Only display trusted on map” is disabled:
  • all telemetry sources (trusted + untrusted) should appear as markers on the map,
  • telemetry filtering should rely solely on the toggle state,
  • the map should re-render with untrusted markers visible immediately.

Logs & Screenshots

UI state showing the toggle disabled, but untrusted telemetry not displayed:

Image

Code locations related to the bug:

  • Trust-field read during map rendering:

  • sbapp/main.py:6578

  • UI toggle writes to configuration:

  • sbapp/ui/telemetry.py:82–85, 260–283

Telemetry-related configuration from sideband_config decompiled:

{
  "enable_telemetry": true,
  "enable_telemetry_beacon": false,
  "enable_telemetry_beacon_throttling": true,
  "enable_telemetry_collector": false,
  "enable_telemetry_forward": false,
  "enable_telemetry_map": true,
  "enable_telemetry_stream": true,
  "enable_telemetry_system": true,
  "enable_telemetry_trust_filter": true
}

System Information

  • OS: (tested with several Android and a Windows 11 sideband
  • Program Version: Sideband release 1.8.0

Additional Context

This issue occurs consistently on both mobile and desktop builds.
Even when untrusted telemetry is confirmed in peer_telemetry() and visible in the DB, the map renderer does not display it unless the peer is in the trust list. The UI toggle does not override this as intended.
The problem likely involves the trust-filter boolean remaining truthy or a stale cached value being used during map redraw.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions