github Yeraze/meshmonitor v1.12.1
v1.12.1 - Hop Count Visualization

latest releases: v2.19.0, v2.18.9, v2.18.8...
one month ago

๐ŸŽจ Hop Count Visualization Enhancement

This release replaces traceroute-based hop counting with the more reliable protobuf hops_away field and introduces a beautiful blue-to-red color gradient for visualizing network topology.

โœจ Highlights

Blue-to-Red Color Gradient

  • ๐ŸŸข 0 hops: Green (Local Node)
  • ๐Ÿ”ต 1 hop: Blue
  • ๐Ÿ”ต๐ŸŸฃ 2 hops: Blue-Purple
  • ๐ŸŸฃ 3 hops: Purple
  • ๐ŸŸฃ๐Ÿ”ด 4 hops: Red-Purple
  • ๐Ÿ”ด๐ŸŸฃ 5 hops: Red-Magenta
  • ๐Ÿ”ด 6+ hops: Red

Each hop level now has a distinct, visually clear color that makes it easy to understand the network topology at a glance.

๐Ÿš€ New Features

  • Protobuf hops_away Integration: More accurate hop counting using data directly from mesh nodes
  • Enhanced Map Legend: Expanded from 4 to 7 hop levels, showing each color distinctly
  • Map Node Popup Enhancements:
    • Added "Hops Away" field
    • Added "Altitude" field (when available)
  • Node List Display: Hop count now shown with ๐Ÿ”— icon in stats section

๐Ÿ”ง Improvements

  • Fixed node list sorting to use hops_away instead of traceroute data
  • Removed dependency on traceroute for hop counting
  • Removed "No Traceroute" entry from map legend (no longer needed)
  • Removed unused getTracerouteHopCount() function
  • Net code reduction: -7 lines

๐Ÿ“Š Technical Details

The hops_away field is directly reported by mesh nodes via the protobuf NodeInfo message and provides accurate hop distance information. This is more reliable than deriving hop counts from traceroute data, which may be incomplete or unavailable.

Color gradient uses linear RGB interpolation from blue (#0000FF) to red (#FF0000), creating visually distinct colors for each hop level.

๐Ÿ”— Related PR

  • #96 - feat: hops_away visualization with blue-to-red gradient

Full Changelog: v1.12.0...v1.12.1

๐Ÿš€ MeshMonitor v1.12.1

๐Ÿ“ฆ Installation

Docker (recommended):

docker run -d \
  --name meshmonitor \
  -p 8080:3001 \
  -v meshmonitor-data:/data \
  ghcr.io/Yeraze/meshmonitor:v1.12.1

๐Ÿงช Testing

โœ… All tests passed
โœ… TypeScript checks passed
โœ… Docker images built for linux/amd64, linux/arm64, linux/arm/v7

๐Ÿ“‹ Changes

See commit history for detailed changes.

Don't miss a new meshmonitor release

NewReleases is sending notifications on new releases.