Skip to content

Enhance boot logging, update version to 1.1.0, and improve filters#82

Merged
morfredus merged 14 commits into
mainfrom
dev
Jun 24, 2026
Merged

Enhance boot logging, update version to 1.1.0, and improve filters#82
morfredus merged 14 commits into
mainfrom
dev

Conversation

@morfredus

Copy link
Copy Markdown
Owner

No description provided.

morfredus added 14 commits June 19, 2026 18:17
…quement » sur la page Historique pour inclure les adresses IP et mise à jour des fichiers associés.
…quement » sur la page Historique pour traiter correctement la réponse de l'API et inclure les adresses MAC et IP.
…v1.0.7)

Cette mise à jour introduit un nouveau module de journalisation des redémarrages, permettant de capturer la raison du dernier reset (panic, watchdog, brownout, reset logiciel/externe) ainsi que les derniers logs émis avant le reboot, sans nécessiter de moniteur série.

Nouveau module `src/modules/boot_log.h/.cpp` : implémentation d'un buffer circulaire en RAM RTC_NOINIT_ATTR, persistant au reboot suivant dans `/bootlog.json` sur LittleFS (10 derniers démarrages, FIFO). Ajout d'une page `/debug` et d'une API GET/DELETE `/api/bootlog`.

Conçu pour un retrait facile après débogage : toutes les modifications sont marquées "DEBOGAGE TEMPORAIRE" dans le code, avec une procédure de retrait documentée dans `docs/DEVELOPMENT.md`.
- Updated version badge in README.md to 1.0.8.
- Added detailed logging of boot statistics including boot and crash counts, internal temperature, last known state before reset, and periodic runtime statistics in ROADMAP.md.
- Expanded boot log functionality in DEVELOPMENT.md, detailing new features and usage.
- Configured new logging parameters in app_config.h for log buffer size and line length.
- Enhanced web interface for boot log display, including additional metadata in debug.js.
- Updated platformio.ini to reflect new version.
- Modified main.cpp to set last task in boot log during network scan and save operations.
- Improved boot_log module to capture and persist additional runtime statistics and device counts.
- Refactored web_server module to utilize a new route registration method that tracks API calls and page serves for better logging.
- Changed site tag from "Passerelle réseau locale" to "Topologie du réseau" in topology.html
- Updated site tag to "Accueil" in index.html
- Modified site tag to "Historique" in history.html
- Changed site tag to "Logs de Debug" in debug.html
- Added error handling for non-OK HTTP responses in loadBootLog.
- Changed response handling to first read as text and then parse JSON.
- Improved error logging for JSON parsing failures.
- Updated footer timestamp display on successful load and error conditions.
…erprinting

- Updated project version in platformio.ini from 1.0.9 to 1.1.0.
- Added DHCP sniffer module for passive fingerprinting of devices on the network.
- Integrated DHCP sniffer into main application flow, allowing for continuous monitoring of DHCP packets.
- Enhanced network scanner to utilize DHCP fingerprints for device enrichment.
- Updated web interface to display new DHCP source information with appropriate styling.
- Added new styles for DHCP and MQTT sources in styles.css.
@morfredus morfredus merged commit 4f0e586 into main Jun 24, 2026
@morfredus morfredus deleted the dev branch June 24, 2026 17:28
@morfredus morfredus restored the dev branch June 24, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant