Meshtastic-Android icon indicating copy to clipboard operation
Meshtastic-Android copied to clipboard

Node Packet Counter

Open musznik opened this issue 1 year ago • 6 comments

I’ve implemented a packet counter column. This feature, while targeted towards advanced users, provides valuable statistical insights that can greatly enhance network analysis and optimization.

packet_counter_v2

Benefits:

  • Network Load Analysis: The packet counter helps identify nodes that heavily load the network, enabling users to diagnose and mitigate potential bottlenecks, trolls or badly configured nodes.
  • Antenna Tuning: Users can evaluate the effectiveness of different antennas by analyzing packet counts, aiding in fine-tuning for optimal performance.
  • Node Discovery: This feature is useful for locating distant nodes, which is critical in scenarios like search and rescue or in remote areas.
  • Enhanced Functionality: Currently, users mainly rely on node observations, last activity times, or sending Traceroute pings. The packet counter adds another layer of functionality, enriching the experience for advanced users and providing them with more tools for network analysis.

Potential Drawbacks:

  • Interface Complexity: Adding another column may add complexity to the UI, which could be overwhelming for less experienced users.

Overall, this enhancement offers significant benefits for users needing deeper network insights, and I believe it will be a valuable addition to the project. This is just a suggestion based on needs of my community.

musznik avatar Aug 18 '24 23:08 musznik

cool. when does it reset? every 24 hours or user configurable? This will be helpful to see which people are blasting away telemetry every 5min. This could also be put in or in addition to the upcoming data graphs and separated by data type.

b8b8 avatar Aug 18 '24 23:08 b8b8

my only suggestion is to move it down to the "expanded" card area that was recently added.

b8b8 avatar Aug 18 '24 23:08 b8b8

Good points. Currently, the counter doesn’t reset automatically, but adding a reset feature makes sense. I’ll definitely consider implementing it, along with breaking down the statistics by data type.

musznik avatar Aug 18 '24 23:08 musznik

A rolling 1 hour may be a good start actually, not 24 hours. Its nice to see some of the mesh data being more accessible than just in the background and will really help with debugging and testing.

b8b8 avatar Aug 18 '24 23:08 b8b8

Take a look at the local stats telemetry https://github.com/meshtastic/protobufs/blob/52cfa2c1c2cd5a1a714e1338d551d967f674fca8/meshtastic/telemetry.proto#L236

garthvh avatar Aug 24 '24 23:08 garthvh

Take a look at the local stats telemetry https://github.com/meshtastic/protobufs/blob/52cfa2c1c2cd5a1a714e1338d551d967f674fca8/meshtastic/telemetry.proto#L236

Yeah, please use this API because we have precedence here on the Apple apps. It has more raw data available from the device as well

thebentern avatar Aug 26 '24 15:08 thebentern