Commit Graph

79 Commits

Author SHA1 Message Date
Lloyd
2137e6a1c6 Refactor code structure for improved readability and maintainability 2025-11-22 22:07:46 +00:00
Lloyd
2495f08ab9 Add favicon and index.html for pyMC Repeater Dashboard
- Introduced a favicon.ico file for the application.
- Created index.html with basic structure, including meta tags, links to Google Fonts, and references to JavaScript and CSS assets for the dashboard.
2025-11-22 13:33:19 +00:00
Lloyd
9da12d6082 feat: implement transport code validation with caching for flood forwarding 2025-11-21 16:54:59 +00:00
Lloyd
3f3771d600 feat: implement PacketRecord class for standardized packet handling and update MQTTHandler and StorageCollector to utilize it 2025-11-21 15:35:54 +00:00
Lloyd
08d4e054b0 clean up code formatting and improve readability in letsmesh_handler and storage_collector 2025-11-20 10:11:06 +00:00
Lloyd
f0ccf161c9 add disallowed packet types configuration for LetsMesh and implement filtering in storage collector 2025-11-19 15:33:39 +00:00
Lloyd
549696a6c8 feat: enhance payload with model and format client version 2025-11-19 13:55:22 +00:00
Lloyd
38569d029e log trace packet storage 2025-11-19 12:24:44 +00:00
Lloyd
3a2466f953 refactor LetsMesh handler initialization and add live stats support 2025-11-19 11:28:00 +00:00
Lloyd
1793973a84 tidy configuration handling by adding get_node_info function 2025-11-19 10:39:14 +00:00
Lloyd
007182deb1 MeshCoreToMqttJwtPusher initialization and packet publishing with node name and radio configuration 2025-11-18 23:36:10 +00:00
Lloyd
8ef2d3997d feat: update raw packet handling in StorageCollector and RepeaterHandler 2025-11-18 23:05:34 +00:00
Lloyd
785cdd60f7 feat: update packet publishing logic in StorageCollector to use 'raw_packet' 2025-11-18 22:45:30 +00:00
Lloyd
57db8d8831 feat: fix indentation in LetsMesh handler initialization in StorageCollector 2025-11-18 22:30:44 +00:00
Lloyd
1660f1f8b3 fix typo 2025-11-18 22:27:09 +00:00
Lloyd
eabd5245fd feat: fix indentation and improve LetsMesh handler initialization in StorageCollector 2025-11-18 22:26:04 +00:00
Lloyd
306beea7a0 feat: add LetsMesh configuration and handler integration in StorageCollector 2025-11-18 22:23:09 +00:00
Lloyd
11354fcf46 feat: update MeshCoreToMqttJwtPusher 2025-11-18 21:44:22 +00:00
Lloyd
732466eabf feat: enhance global flood policy endpoint to update and save configuration 2025-11-16 22:06:33 +00:00
Lloyd
9e65a02273 feat: add global flood policy configuration and API endpoint for updates 2025-11-16 21:43:35 +00:00
Lloyd
deaed4b376 feat: implement transport key generation and update API endpoints for optional transport key handling 2025-11-16 21:37:17 +00:00
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