No description
Find a file
Mitchell R e1a3cd1d05
fix: ONVIF single-kiosk ownership + rate limiting
Server-side:
- Bundle gen: when camera event_source is "auto", first kiosk to fetch
  bundle claims ownership → writes "kiosk:<id>" to camera row. Other
  kiosks see assigned owner and skip ONVIF subscription.
- Kiosk deletion resets event_source back to "auto" so next kiosk
  takes over.
- repo.getActiveOnvifOwners() for future use.

Kiosk-side:
- Only subscribe when event_source is "auto" or "kiosk:<MY_ID>".
  Skips "kiosk:<other_id>", "server", "none", "disabled".
- Poll interval: 3s → 10s (cameras were getting overwhelmed)
- CreatePullPoint backoff: exponential 30s→60s→120s...→600s max
- Pull errors: exponential 15s→30s→45s...→300s, resubscribe after 5
  consecutive failures instead of immediately.
- load_kiosk_id() helper reads from cached bundle.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-27 01:40:44 +02:00
.github/workflows feat: expand BF_DATA on first boot + wire update progress banner + partition reporting 2026-05-26 08:09:20 +02:00
deploy fix: add /var/lib/betterframe/tmp to tmpfiles for bfkiosk write access 2026-05-26 15:17:37 +02:00
docs feat(ota): add RAUC OS update foundation 2026-05-20 05:15:29 +02:00
kiosk fix: ONVIF single-kiosk ownership + rate limiting 2026-05-27 01:40:44 +02:00
nodered fix: Node-RED event forwarding + parse ONVIF Key section (PlateNumber) 2026-05-26 15:38:30 +02:00
scripts fix(rauc): switch signing keys from Ed25519 to ECDSA P-256 2026-05-21 15:45:26 +02:00
server fix: ONVIF single-kiosk ownership + rate limiting 2026-05-27 01:40:44 +02:00
.gitattributes fix(deploy): mark setup-pi-kiosk.sh executable in git index + add .gitattributes 2026-05-13 03:33:41 +02:00
.gitignore chore: gitignore doc files + remove from tracking 2026-05-26 04:16:33 +02:00
CLAUDE.md fix(proxy): split Node-RED route surfaces 2026-05-11 10:44:45 +02:00
docker-compose.coolify.yml fix(docker): simplify version arg to COOLIFY_GIT_COMMIT 2026-05-26 03:36:09 +02:00
docker-compose.yml fix: resolve merge conflict + align BSB workdir /home/bsb 2026-05-23 23:58:36 +02:00
LICENSE-AGPL.txt docs: dual-license declaration + vendored AGPL-3.0 text 2026-05-15 04:47:46 +02:00
LICENSE-COMMERCIAL.md docs: dual-license declaration + vendored AGPL-3.0 text 2026-05-15 04:47:46 +02:00
LICENSE.md docs: dual-license declaration + vendored AGPL-3.0 text 2026-05-15 04:47:46 +02:00
package-lock.json fix: regenerate lockfile for package name betterframe 2026-05-24 03:19:38 +02:00
package.json adding initial project 2026-05-10 01:09:13 +02:00
sec-config.template.yaml refactor: decommission SQLite + add UUIDv7 PK migration for existing PG 2026-05-26 13:22:29 +02:00
tsconfig.base.json adding initial project 2026-05-10 01:09:13 +02:00