Added scheduling
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
# BoomCast Waveshare ESP32-S3-ePaper-1.54 V2 firmware
|
||||
|
||||
Arduino sketch for the **non-touch V2** board. This folder is the imported `v0.1.0-concept` prototype, updated for the BoomCast sensor API. Its original source was supplied by the project owner; no upstream copyright notice was present in the archive. Official Waveshare support is fetched separately and retains its own attribution and component licenses. The top-level `arduino/` folder is outside the current Django Git repository (`django/`), so include this firmware folder when establishing a project-wide repository or firmware repository.
|
||||
Arduino sketch for the **non-touch V2** board. This folder started from the owner's `v0.1.0-concept` prototype and has been updated for the BoomCast sensor API. Its original source was supplied by the project owner; no upstream copyright notice was present in the archive. Official Waveshare support is fetched separately and retains its own attribution and component licenses.
|
||||
|
||||
**Hardware status:** The owner has confirmed V2, but no physical board has been flashed or tested in this workspace. See [physical validation checklist](docs/validation-checklist.md).
|
||||
**Hardware status:** The owner has run earlier firmware on the V2 board. This detector revision has only been checked with synthetic PCM traces and compilation; its microphone sensitivity still needs a physical check. See [physical validation checklist](docs/validation-checklist.md).
|
||||
|
||||
## Features
|
||||
|
||||
- ES8311 microphone capture at 16 kHz through pinned Waveshare support; one fixed stereo slot is selected for mono. The slot assignment still requires playback validation on the real V2 board.
|
||||
- RMS/peak sound trigger, approximately 2.5 seconds of rolling pre-trigger audio and 2.5 seconds of post-trigger audio. Early startup captures contain the available pre-roll and keep the intended post-trigger interval.
|
||||
- Browser-worklet-aligned RMS/peak sound trigger, up to 8 seconds of rolling pre-trigger audio and a 2-second tail. Early startup captures contain the available pre-roll and keep the intended tail. See [detection parity and calibration](docs/detection-parity.md).
|
||||
- 16-bit mono PCM WAVs saved on microSD with a metadata sidecar. A `.meta` file is the queue commit marker; incomplete or invalid WAVs are not upload eligible. Interrupted commits with valid `.meta.tmp` are recovered on startup. FAT cannot guarantee full power-loss atomicity of multi-file transactions; inspect the queue after hard power cuts.
|
||||
- Wi-Fi setup AP, local owner UI, two ePaper screens, automatic upload retry with bounded backoff, and confirmed-receipt deletion.
|
||||
- CA-verified HTTPS using the ESP32 core's built-in public CA bundle and an ignored local credentials header. No insecure TLS mode is enabled.
|
||||
@@ -43,3 +43,13 @@ Queue filenames are stable across reboot. The queue selects the oldest eligible
|
||||
## Known limits
|
||||
|
||||
The Waveshare codec read API returns an error status but no byte count. A failed read is discarded and aborts an active clip; a successful short read cannot be measured through this wrapper. The selected microphone slot and actual recording quality must be checked on a V2 board. Uploads run in the main loop and may pause the local web UI while a slow request is in progress. FAT multi-file commits and SD flush durability need interruption testing. Physical acceptance remains pending.
|
||||
|
||||
### Scheduled monitoring (0.4.0-concept)
|
||||
|
||||
The local management page now offers persistent weekday/weekend schedules,
|
||||
Amsterdam DST handling, temporary monitoring and a dedicated idle screen.
|
||||
Scheduling defaults to off. Outside configured hours, audio stops and CPU/Wi-Fi
|
||||
power use is reduced while web management stays reachable. Hardware light/deep
|
||||
sleep remains unavailable pending V2 power-hold validation; no board was flashed.
|
||||
See [scheduled monitoring](docs/scheduled-monitoring.md) for behavior, tests and
|
||||
physical validation still required.
|
||||
|
||||
Reference in New Issue
Block a user