Docs: a camera's snapshot_min_s, hold_s at least 2, person on connect

This commit is contained in:
Melvin Strobl
2026-10-17 10:44:14 +02:00
parent 72c1d73e96
commit d18ddad789
+2 -2
View File
@@ -614,9 +614,9 @@ A camera device (openpanel on a NANO) reports these ports:
| Port | Type | Settings | What it sends |
|---|---|---|---|
| `camera` | `image`, on demand | `width` (640), `fps` (5), `idle_fps` (0, off), `quality` (65) | JPEG frames, held in memory and never stored |
| `person` | `bool` | `hold_s` (10) | whether someone is in view, held for `hold_s` after they leave |
| `person` | `bool` | `hold_s` (10, at least 2) | whether someone is in view, held for `hold_s` after they leave, and sent again on each connect |
| `detections` | `json` | | `{count, boxes: [{score, x0, y0, x1, y1}]}`, boxes scaled 0 to 1, on change and at most once a second |
| `snapshot` | `image` | | one stored frame each time `person` turns true |
| `snapshot` | `image` | `snapshot_min_s` (30) | one stored frame each time `person` turns true, none within `snapshot_min_s` of the last |
| `live` | `video`, on demand | | H.264 over WebRTC while a [live view](#live-view) runs; never wired in a flow |
`camera` sends only while it has demand: while a page wants its frames (a