Commit Graph

58 Commits

Author SHA1 Message Date
Lloyd da4006d230 feat: add transport key management methods and API endpoints 2025-11-16 20:56:29 +00:00
Lloyd 2acd44bcf8 add get_route_stats method to StorageCollector and corresponding API endpoint for packet stats 2025-11-12 07:08:09 +00:00
Lloyd 49de8e5180 add route_stats endpoint and implement get_route_stats method in SQLiteHandler 2025-11-11 20:54:59 +00:00
Lloyd 9f5a459134 feat: update packet_type_graph_data to accept parameters for hours, resolution, and types 2025-11-10 22:13:20 +00:00
Lloyd d1963fc70f feat: add endpoint to retrieve adverts by contact type with optional filters 2025-11-10 20:37:39 +00:00
Lloyd de71d5b954 feat: implement MeshCore to MQTT JWT pusher with packet processing and publishing 2025-11-10 17:00:14 +00:00
Lloyd f8661a2c10 Implement data acquisition module with SQLite, RRDTool, and MQTT handlers
- Added `SQLiteHandler` for managing packet and advert storage in SQLite database.
- Implemented `RRDToolHandler` for creating and updating RRD databases for metrics.
- Developed `MQTTHandler` for publishing data to MQTT broker.
- Created `StorageCollector` to integrate SQLite, RRDTool, and MQTT functionalities.
- Added methods for recording packets, adverts, and noise floor data.
- Implemented data retrieval methods for packet statistics, recent packets, and noise floor history.
- Established database schema with appropriate tables and indices for efficient data access.
- Included error handling and logging for database operations and MQTT communications.
2025-11-10 10:26:24 +00:00
Lloyd d239911ddf remove old http template server 2025-11-10 09:38:23 +00:00
Lloyd 8614dbc310 feat: add CORS support to API endpoints and update packet type graph data retrieval 2025-11-09 23:28:56 +00:00
Lloyd e9cb384999 fix: simplify parameter handling in packet stats and recent packets endpoints 2025-11-07 22:47:47 +00:00
Lloyd a9b7fe75b1 fix: correct comments for system sections in API endpoints 2025-11-07 17:30:13 +00:00
Lloyd e3179e518e docs: add API endpoint documentation for stats, packets, charts, noise floor, repeater control, and CAD calibration 2025-11-07 17:20:44 +00:00
Lloyd 65d72ca399 fix: update noise floor RRD metrics format to use 'U' for undefined values 2025-11-07 16:20:30 +00:00
Lloyd c58330aff5 feat: add noise floor monitoring with history, stats, and chart data endpoints 2025-11-07 16:17:01 +00:00
Lloyd 2df8d6069c refactor: streamline packet and advert recording by consolidating RRD metrics updates 2025-11-07 14:24:57 +00:00
Lloyd eb79fb7baf fix:StorageCollector to serialize non-SQLite-bindable fields and improve error handling in APIEndpoints for storage retrieval 2025-11-07 13:56:12 +00:00
Lloyd fa8084b98e renamed folders http > web 2025-11-07 13:32:40 +00:00
Lloyd 3f092e3b39 Add StorageCollector class for packet and advert management
- Refactored main.py to import HTTPStatsServer from the new path.
- Introduced storage.py to handle SQLite database for packets and adverts.
- Implemented methods for initializing SQLite, RRD, and MQTT.
- Added functionality to record packets and adverts, including storage and metrics updates.
- Created methods for retrieving packet statistics, recent packets, and filtered packets.
- Implemented RRD data fetching and packet type statistics.
- Added cleanup method for old data in the database.
2025-11-07 13:23:44 +00:00
Lloyd a179d36018 Bump version to 1.0.3 and update pymc_core dependency to 1.0.4 2025-11-04 22:27:44 +00:00
Lloyd 4a9aa89042 UI with new dialog for displaying packet information 2025-11-04 22:13:22 +00:00
Lloyd 3306492ee2 Refine CAD calibration logic for improved sensitivity testing and results reporting 2025-11-04 16:10:26 +00:00
Lloyd 570629320d Merge pull request #6 from rightup/feat-trace
feat: add Repeater SNR logging, CAD calibration and LBT features
2025-11-02 15:16:09 -08:00
Lloyd 8631703b12 Update pyproject.toml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-02 23:15:25 +00:00
Lloyd b27cef961f Updated nav footer 2025-11-02 23:01:22 +00:00
Lloyd f607784b0b Bump version to 1.0.2 and update pymc_core dependency to version 1.0.3 2025-11-02 21:40:01 +00:00
Lloyd 32d2183798 Add version badges for pyMC_Repeater and pyMC_Core in navigation 2025-11-02 21:35:02 +00:00
Lloyd 6a7dca0bca add heatmap chat 2025-11-01 22:41:26 +00:00
Lloyd 24514543c2 Add CAD Calibration Tool HTML template with real-time data visualization and controls
- Implemented a responsive layout with navigation and calibration controls.
2025-10-31 22:24:02 +00:00
Lloyd 32c6b4f490 Refactor CAD calibration engine to use daemon instance instead of stats getter 2025-10-31 22:16:52 +00:00
Lloyd 3fc295e26c Add CAD calibration tool and endpoints for real-time detection optimization 2025-10-31 22:10:45 +00:00
Lloyd 2564f4b772 Fix formatting in log messages and debug statements for consistency 2025-10-31 08:51:31 +00:00
Lloyd 1c5b67de95 CAD radio initialization and SNR handling in RepeaterDaemon 2025-10-31 00:15:41 +00:00
Lloyd 85df2c5b0f Implement trace packet logging and SNR display enhancements 2025-10-30 00:11:04 +00:00
Lloyd ed678af4ca Add TraceHandler for network diagnostics 2025-10-29 00:08:06 +00:00
Lloyd b5ac0c1d03 Merge pull request #3 from rightup/main
Merge pull request #2 from rightup/dev - docs
2025-10-28 04:59:20 -07:00
Lloyd bca9a0e4ea Merge pull request #2 from rightup/dev
Core Improvements & Feature Enhancements
2025-10-27 15:44:50 -07:00
Lloyd dd4bcea5ae Merge branch 'main' into dev 2025-10-27 15:44:31 -07:00
Lloyd 803d6a6fa4 Core Improvements & Feature Enhancements
Update Summary

Refactored packet handling to replace a custom hash function with the built-in implementation.
Updated the statistics template — renamed success rate to repeats and adjusted calculations.
Added neighbours connection map with  SNR labels.
Added distance calculation and display to the neighbours table.
Added noise floor measurement and improved dashboard visualisation.
Added an automated upgrade script for the PyMC Repeater, including service management.
2025-10-27 15:41:36 -07:00
Lloyd 6f2aeddc2e Add upgrade script for pyMC Repeater: automate updates, service management, and error handling 2025-10-27 22:35:15 +00:00
Lloyd 3bb2dca587 Bump version to 1.0.1 in pyproject.toml and __init__.py 2025-10-27 22:09:44 +00:00
Lloyd d95a0819b4 Update dependencies in pyproject.toml and add meshadv configuration in radio-settings.json 2025-10-27 21:45:11 +00:00
Lloyd ab00bc929f Refactor control button and duty cycle styling: enhance layout, add hover effects, and improve visual feedback 2025-10-27 21:27:02 +00:00
Lloyd 9f15094fce Enhance noise floor display: update sparkline dimensions, remove unnecessary bar styling, and adjust layout for improved visibility 2025-10-27 21:10:07 +00:00
Lloyd 511321bb98 Add noise floor measurement feature and update dashboard display 2025-10-27 21:01:34 +00:00
Lloyd 1065949fac Add duty cycle enforcement option, update dashboard duplicate badge text, and implement API fetch with fallback to local presets 2025-10-27 20:47:20 +00:00
Lloyd 733bdc4847 Add distance calculation and display in neighbors table 2025-10-27 18:26:56 +00:00
Lloyd ad2ba7c023 Replace mock neighbor data with real API data in updateNeighbors and updateNeighborsTable functions 2025-10-27 15:18:01 +00:00
Lloyd 6ec1bc1f0c Improve SNR label styling: adjust icon size, popup padding, and snr-text dimensions for better visibility 2025-10-27 15:15:54 +00:00
Lloyd 3c25f49595 Enhance SNR label display and improve popup styling in neighbors.html 2025-10-27 15:13:55 +00:00
Lloyd 9399304966 Add SNR labels to connection lines on the map 2025-10-27 15:10:02 +00:00