Commit Graph

22 Commits

Author SHA1 Message Date
eddieoz
ded1de6b2f feat: Add HTML report generation with configurable output formats and improve packet processing robustness. 2025-11-28 20:25:40 +02:00
eddieoz
b822c6b116 feat: Add local node configuration validation, enhance report generation with custom filenames, and improve code quality with type hints and constants. 2025-11-28 20:12:22 +02:00
eddieoz
ca612603cf refactor: Rename core package to mesh_analyzer, formalize project setup, and introduce report regeneration with new configuration options. 2025-11-28 19:04:46 +02:00
eddieoz
2e1f06e6ff Enhance report recommendations and persistence
- Improvements to Ineffective Router detection:
  - Treat undefined roles as CLIENTs to catch more cases
  - Mark all ineffective routers as CRITICAL priority
  - Detect mesh-clogging routers (high ChUtil + low relays)
- Report Persistence:
  - Persist Test Location and Timestamp in JSON
  - Use original metadata when regenerating reports
  - Apply manual positions from config during regeneration
- Safety:
  - Prevent overwriting JSON file during report regeneration
- Fixes:
  - Fixed IndentationError in monitor.py
  - Fixed local_node dictionary handling in reporter.py
2025-11-28 18:41:39 +02:00
eddieoz
33d365b2db chore: Comment out warning log for potential issues. 2025-11-28 15:55:41 +02:00
eddieoz
5979f9e14c fix: Correct hop count calculation to count intermediate relay nodes and add dedicated unit tests. 2025-11-28 15:54:59 +02:00
eddieoz
ccf0e6fc7c feat: Refactor report generation to include JSON persistence and regeneration, supported by new test scripts. 2025-11-28 15:32:51 +02:00
eddieoz
bf7412aa2a refactor reports
- created report_generate.py
- moved reports to reports/
- persisted data in .json
2025-11-28 15:32:34 +02:00
eddieoz
75e381f344 feat: Add configurable router density radius and active threshold, and improve report recommendations and issue presentation. 2025-11-28 15:07:19 +02:00
eddieoz
ddb23b3121 feat: Add local node position to executive summary and enhance recommendation generation for topology and placement. 2025-11-28 13:17:08 +02:00
eddieoz
14b08b9435 feat: Introduce router cluster analysis mode for active node discovery with configurable radius and tests. 2025-11-28 12:38:47 +02:00
eddieoz
bad5905dd6 docs: Add virtual environment setup instructions to installation and renumber steps. 2025-11-28 10:43:04 +02:00
eddieoz
9ebe4c7509 feat: Add configurable network analysis thresholds, network size warnings, and enhanced router density detection. 2025-11-28 10:41:13 +02:00
eddieoz
800c839bf7 feat: Add route quality analysis and detailed router performance statistics to reports. 2025-11-28 00:51:44 +02:00
eddieoz
992745b50c feat: add router efficiency and route quality analysis, integrating it into the monitor, report, and adding new tests. 2025-11-27 16:56:24 +02:00
eddieoz
34066691b2 Refactor codebase: consolidate utils, improve thread safety, and standardize node data handling 2025-11-27 16:27:42 +02:00
eddieoz
1cb71b2ea4 feat: centralize application entry point, add active test cooldown, and improve graceful shutdown. 2025-11-27 12:22:14 +02:00
eddieoz
b75b3adf8d feat: Configurable timeout/interval and stratified node selection
- Feat: Make traceroute_timeout configurable (default 60s)
- Feat: Make active_test_interval configurable (default 30s)
- Feat: Implement stratified node selection (Role -> LastHeard -> Distance)
- Docs: Update README and sample-config with new settings
- Test: Add tests for config and stratified selection
2025-11-27 10:55:14 +02:00
eddieoz
cbda7e8432 feat: Add Route Analysis, fix traceroute parsing and distance calc
- Fix: Correctly parse RouteDiscovery protobuf from decoded['traceroute']
- Fix: Handle integer coordinates for distance calculation
- Feat: Add RouteAnalyzer for relay usage, bottlenecks, and path stability analysis
- Feat: Integrate route analysis into NetworkReporter
- Docs: Update README and sample-config
- Test: Update mock tests and add local ID test
2025-11-27 02:06:40 +02:00
eddieoz
0650631103 chore: Remove config.yaml from version control
It is a local configuration file and should not be tracked.
sample-config.yaml is provided as a template.
2025-11-26 20:50:31 +02:00
eddieoz
c20c7e1b41 feat: Add Auto-Discovery, Network Reporting, and Threading improvements
- Implemented Auto-Discovery of traceroute targets based on roles and geolocation.
- Added Network Reporting feature (Markdown generation).
- Refactored ActiveTester to use threading for non-blocking traceroutes.
- Fixed self-exclusion logic in auto-discovery.
- Fixed coordinate validation bugs in Analyzer.
- Updated config and README.
2025-11-26 20:27:05 +02:00
eddieoz
99c9f72995 Initial commit: Meshtastic Network Monitor with geospatial analysis and configurable logging 2025-11-26 18:47:39 +02:00