Commit Graph

9 Commits (28ce7cf67fc7c97f4c98e747f835b6a1e243097e)

Author SHA1 Message Date
Miroslav Pivovarsky 351a7b1cc7 Fixes from PR #147: camera reinit, WiFi, TLS, timelapse, SD card
- camera: reinit under the frame buffer semaphore, settings are not written without the sensor
- WiFi: new WiFi settings from the web without restart
- TLS handshake timeout 20 s, time limit for reading the OTA response
- timelapse: folder for each day /timelapse/YYYY-MM-DD/, an existing file gets an index
- SD card: an empty card is not reported as full or missing

Co-authored-by: robertpouliot <32142598+robertpouliot@users.noreply.github.com>
2026-11-04 14:37:30 +01:00
Miroslav Pivovarsky f5fe311d43 Fix the firmware update from a file and the SD card status on the web, save the log before restart
- USB CDC console does not slow down the logger when the PC does not read it
2026-11-04 14:37:16 +01:00
Miroslav Pivovarsky 096b5860c6 SD card: logging through a queue and a logger task
- log messages go to a ring buffer in PSRAM, only the logger task writes to the console and to the card
- new log file SysLog_NNNN.log for each start, rotation, up to LOGS_FILE_MAX_COUNT files
- detection of a removed and a full card, /get_logs reads the file in parts
- ENABLE_SD_CARD_HOTPLUG: the card is reconnected at runtime only on ESP32-S3, SD_MMC begin/end at runtime broke the camera on ESP32
- token and WiFi password are masked in the log
- camera: reinit of the camera module after repeated failed captures, it was never called
2026-11-04 14:37:12 +01:00
Miroslav Pivovarsky e247969bca init templates for ESP32-S3-CAM modules 2024-06-27 22:19:31 +02:00
Miroslav Pivovarsky 4243473169 updated library for logging 2024-05-31 22:44:12 +02:00
Miroslav Pivovarsky 68e26390ac updated logging and web design 2024-05-27 17:53:04 +02:00
Miroslav Pivovarsky 55bdcecf84 added saving image snapshot to micro SD card 2024-05-27 17:42:44 +02:00
Miroslav Pivovarsky 449bb07b58 Fixed memory utilization issue. Utilized F() macro for moving strings from RAM to PROGMEM. 2024-05-10 23:29:55 +02:00
Miroslav Pivovarsky 0eefd45e11 initial commit 2024-04-18 21:55:30 +02:00