frigate/docs
Josh Hawkins 729ee86043
Some checks are pending
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
Miscellaneous fixes (#23619)
* fix stale active object indicators on the live dashboard

The camera_activity/<camera> snapshot cache is only written when a client sends onConnect, and object "end" events only update the local state of mounted useCameraActivity hooks, never the cache. As a result, a hook that seeded from a stale cache or missed an "end" event while disconnected showed objects that had already left, with no path to correct itself short of a full page reload.

This change will re-request the snapshot on hook mount (collapsed to one onConnect per task across camera cards), and always re-notify camera_activity topics so hooks reconcile against their own local state instead of relying on snapshot-vs-snapshot comparison, and clear the payload dedup cache on reconnect and resync so byte-identical snapshots still apply.

* docs tweaks

* fix mqtt log message

* use consistent values for lpr debug frame filenames

with millisecond resolution

* apply object events through a functional updater to prevent lost updates

The events effect derived a new objects list from the value captured at render time and wrote the whole list back. When events arrived close
together, a run derived from a stale list erased a concurrent run's removal; the resurrected object then had no remaining "end" event to clear it, and the add branch could mint a duplicate entry that no splice could ever remove, leaving the live dashboard showing active objects the backend had already cleared, until a page reload.

The fix is to apply each event inside setObjects so it operates on the true current list exactly once. Unchanged results return the same reference so React bails out of re-rendering, and the label rewrite is hoisted so added objects get the sub_label/verified label directly instead of relying on the effect re-running against its own state update.
2026-07-04 00:25:22 -06:00
..
data Rebuild object docs (#23570) 2026-06-26 06:48:42 -06:00
docs Miscellaneous fixes (#23619) 2026-07-04 00:25:22 -06:00
plugins docs: include available objects in documentation 2021-03-09 06:23:37 -06:00
scripts Merge detector and model in settings UI (#23216) 2026-05-17 11:54:21 -06:00
src Rebuild object docs (#23570) 2026-06-26 06:48:42 -06:00
static Merge remote-tracking branch 'origin/master' into dev 2026-06-28 15:04:01 +02:00
.gitignore Docs refactor (#22703) 2026-03-30 10:36:45 -06:00
babel.config.js docs: move docs to docusaurus 2021-01-26 21:40:33 -06:00
docusaurus.config.ts docs: add highlight magic comments (#22367) 2026-03-10 07:18:02 -06:00
package-lock.json Bump fast-uri from 3.1.0 to 3.1.2 in /docs (#23139) 2026-05-10 12:12:44 -05:00
package.json Rebuild object docs (#23570) 2026-06-26 06:48:42 -06:00
README.md Use Swagger documentation for Frigate HTTP API (#14178) 2024-10-07 14:27:35 -06:00
sidebars.ts Docs updates (#23407) 2026-06-04 17:07:12 -06:00

Website

This website is built using Docusaurus 3.5, a modern static website generator.

For installation and contributing instructions, please follow the Contributing Docs.

Development

  1. Run npm i to install dependencies
  2. Run npm run start to start the website