Skip to content

Prepare Bunny Tracker for Raspberry Pi deployment - #1

Merged
JoeyPatricio merged 1 commit into
mainfrom
fix/raspi-deployment-readiness
Oct 21, 2026
Merged

JoeyPatricio merged 1 commit into
mainfrom
fix/raspi-deployment-readiness

Conversation

@JoeyPatricio

Copy link
Copy Markdown
Owner

Raspberry Pi migration was blocked by unsupported Python setup instructions, incomplete model and annotation transfer instructions, and missing boot services. Automatic motion clips could also keep writing after clipping stopped for low disk space.

Reproduce the storage failure by setting a free-disk floor above available space, triggering a clipping upload, and allowing monitoring to return to normal motion mode. Previously those automatic motion uploads bypassed the disk floor.

Apply the disk floor to tagged motion uploads while preserving manual recordings and alerts. Serialize inference and configuration changes, join cancelled workers, and terminate and reap FFmpeg before replacement. Add shared transient paths, trusted-proxy handling, HTTP-aware CSP, a benchmark driven by promotion metadata, systemd services, model-bundle verification, and updated migration instructions.

Validation on the development laptop: all 21 hermetic check scripts passed across the initial run and targeted reruns after installing the already-declared missing matplotlib dependency. Final capture regressions, Ruff, the production frontend build, an isolated Uvicorn/FFmpeg synthetic-camera smoke test, and service-unit validation with local executable substitutions passed.

Pi hardware, reboot recovery, the production tunnel, and SMTP delivery remain unverified. Classification still requires a validated seven-class model.

@JoeyPatricio
JoeyPatricio merged commit 6c2bcff into main Oct 21, 2026
4 checks passed
@JoeyPatricio
JoeyPatricio deleted the fix/raspi-deployment-readiness branch October 21, 2026 16:09
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