Commit Graph

3838 Commits

Author SHA1 Message Date
Josh Hawkins
19c72ca283 Ensure audio listener is defined before trying to stop ffmpeg (#17045) 2025-03-18 15:12:41 +01:00
Josh Hawkins
5436e1b3eb Ensure admin is default role (#17044) 2025-03-18 15:12:41 +01:00
Josh Hawkins
40414d2584 LPR tweaks (#17046) 2025-03-18 15:12:41 +01:00
Josh Hawkins
55622f85d4 Small UI bugfix (#17035)
* test for more HA elements

* check if mobile and iOS instead of mobilesafari

* simplify

* fix for logs view
2025-03-18 15:12:41 +01:00
Josh Hawkins
6e2278d5f8 Prevent settings menu scroll on iOS proxy iframe from shifting entire UI (#17024) 2025-03-18 15:12:41 +01:00
Josh Hawkins
5f092a38a8 UI viewer role (#16978)
* db migration

* db model

* assign admin role on password reset

* add role to jwt and api responses

* don't restrict api access for admins yet

* use json response

* frontend auth context

* update auth form for profile endpoint

* add access denied page

* add protected routes

* auth hook

* dialogs

* user settings view

* restrict viewer access to settings

* restrict camera functions for viewer role

* add password dialog to account menu

* spacing tweak

* migrator default to admin

* escape quotes in migrator

* ui tweaks

* tweaks

* colors

* colors

* fix merge conflict

* fix icons

* add api layer enforcement

* ui tweaks

* fix error message

* debug

* clean up

* remove print

* guard apis for admin only

* fix tests

* fix review tests

* use correct error responses from api in toasts

* add role to account menu
2025-03-18 15:12:41 +01:00
Nicolas Mowen
3be33ac766 Fix yolov9 link (#17007) 2025-03-18 15:12:41 +01:00
Nicolas Mowen
06277db797 Update python deps (#17006) 2025-03-18 15:12:41 +01:00
dependabot[bot]
f343143cca Bump actions/setup-python from 5.3.0 to 5.4.0 (#16184)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5.3.0...v5.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-18 15:12:41 +01:00
Josh Hawkins
c2f80d0cc4 Add cameras filter to history view (#16995) 2025-03-18 15:12:41 +01:00
Chris Oelerich
6e9ecd04d8 video['global'] can be empty resulting in a divide by zero (#16993)
* video['global'] can be empty resulting in a divide by zero

* formatting :(
2025-03-18 15:12:40 +01:00
Nicolas Mowen
ced7e384ba Update web deps (#16983)
* Update vite

* Update LuIcons

* Update radix packages

* Fix other icons

* Use correct node version

* Remove superfluous web build on python tests

* Move web build to test
2025-03-18 15:12:40 +01:00
Nicolas Mowen
79a9f5796b Disable detection by default (#16980)
* Enable detection by default

* Migrate config to have detect enabled if it is not
2025-03-18 15:12:40 +01:00
Nicolas Mowen
ca12fb9336 Refactor enabled camera listeners (#16979)
* Monitor if camera is disabled for review items

* Simplify multi camera disabled check

* Cleanup birdseye config handling

* Cleanup

* Remove old listeners
2025-03-18 15:12:40 +01:00
Nicolas Mowen
5f876c0222 Fix previews failing when disabled (#16962)
* Fix previews failing when offline

* Simplify frame cache handling
2025-03-18 15:12:40 +01:00
Josh Hawkins
9758bb6578 Ensure disabling a camera also disables audio detection (#16961)
* Ensure disabling a camera also disables audio detection

* fix enabled state

* fix path
2025-03-18 15:12:40 +01:00
Josh Hawkins
40e39d7a11 Docs updates (#16949)
* live and lpr docs updates

* disabled clarity

* more disable clarity

* clarify sync_recordings
2025-03-18 15:12:40 +01:00
jdryden572
72e7cfae28 Orient live camera feed for best screen fit when in fullscreen mode (#16947)
* Change orientation in fullscreen to best fit video

* Refactor effect to simplify, add more comments
2025-03-18 15:12:40 +01:00
leccelecce
2a2dd61b08 GenAI: allow configuring additional send trigger after_significant_updates as well as event_end (#16919) 2025-03-18 15:12:40 +01:00
Josh Hawkins
662d2b77f8 Ensure genai thumbnails are always jpegs (#16939) 2025-03-18 15:12:40 +01:00
dxs-dev
afd3ae3628 Fixed the issue where internal context copy occurs frequently. (#16931)
remove cache mount in nginx build

Co-authored-by: Ludis Hur <ludishur@dxsolution.kr>
2025-03-18 15:12:40 +01:00
Josh Hawkins
5eb9817f8d Add camera enable switch to mobile drawer (#16929) 2025-03-18 15:12:40 +01:00
Nicolas Mowen
ffd9971039 Quick fix (#16926)
* fix

* Fix

* Fix incorrect default websocket value

* Cleanup value setting
2025-03-18 15:12:40 +01:00
Nicolas Mowen
41076b3d44 Disabled camera output (#16920)
* Fix live cameras not showing on refresh

* Fix live dashboard when birdseye is added

* Handle cameras that are offline / disabled

* Use black instead of green frame

* Fix missing mqtt topics
2025-03-18 15:12:40 +01:00
D34DC3N73R
60f4486bfe Adapt openai.py to work with xAI (#16903)
* Adapt openai.py to work with xAI

It appears xAI is a bit more strict in regards to how the prompt is sent. This changes the prompt to be a dictionary with `"type": "text"` which works with OpenAI and xAI.

* Adapt openai.py to work with xAI

add "detail": "low"

* Adapt openai.py to work with xAI

Apply Ruff formatting and linting fixes
2025-03-18 15:12:40 +01:00
leccelecce
d44f558755 GenAI minor refactor (#16916) 2025-03-18 15:12:40 +01:00
Josh Hawkins
a2064f159a Dynamically enable/disable cameras (#16894)
* config options

* metrics

* stop and restart ffmpeg processes

* dispatcher

* frontend websocket

* buttons for testing

* don't recreate log pipe

* add/remove cam from birdseye when enabling/disabling

* end all objects and send empty camera activity

* enable/disable switch in ui

* disable buttons when camera is disabled

* use enabled_in_config for some frontend checks

* tweaks

* handle settings pane with disabled cameras

* frontend tweaks

* change to debug log

* mqtt docs

* tweak

* ensure all ffmpeg processes are initially started

* clean up

* use zmq

* remove camera metrics

* remove camera metrics

* tweaks

* frontend tweaks
2025-03-18 15:12:38 +01:00
Nicolas Mowen
e012f43ea2 Remove rocm detector (#16913)
* Remove rocm detector plugin

* Update docs to recommend using onnx for rocm

* Formatting
2025-03-18 15:11:28 +01:00
Nicolas Mowen
8513bfdb3f Upgrade RocM to 6.3.3 (#16900)
* Simplify rocm install and update to 6.3.1

* Build out more necessary packages

* Update to 6.3.3

* Set bake version

* Fix typo

* Ensure NHWC is used

* Reset dev changes

* Write to cache
2025-03-18 15:11:28 +01:00
Nicolas Mowen
a84788a382 Fix docs (#16889) 2025-03-18 15:11:28 +01:00
Nicolas Mowen
fde10714f6 Disable hailort log (#16888) 2025-03-18 15:11:28 +01:00
Nicolas Mowen
09199f5e93 Update d-fine documentation (#16881) 2025-03-18 15:11:28 +01:00
Martin Weinelt
a8722a9d40 Reuse constants (#16874) 2025-03-18 15:11:28 +01:00
Nicolas Mowen
01c99a915e Fix cuda targetarch (#16869) 2025-03-18 15:11:28 +01:00
Josh Hawkins
f7ca42a313 Embeddings tweaks (#16864)
* make semantic search optional

* config

* frontend metrics

* docs

* tweak

* fixes

* also check genai cameras for embeddings context
2025-03-18 15:11:28 +01:00
Nicolas Mowen
a02ad1e458 Fix jetson (#16854)
* Fix jetson build

* Update ci.yml

* Update Dockerfile.base

* Update Dockerfile.base

* Update Dockerfile.base

* Fix

* Update ci.yml
2025-03-18 15:11:28 +01:00
Jared
553377311e Quality of life documentation updates (#16852)
* Update getting_started with full host:container syntax for hwacc

* Update edgetpu.md

Add a tip about the coral TPU not changing identification until after Frigate runs an inference on the TPU.
2025-03-18 15:11:27 +01:00
toperichvania
4f9d3dcacd Fix incorrect storage usage per camera (#16825) (#16851) 2025-03-18 15:11:27 +01:00
Nicolas Mowen
8819774e3a Simplify tensorrt (#16835)
* Remove unneccessary trt wheels build

* Cleanup

* Try without local cuda

* Keep specific cuda libs only

* Cleanup

* Add newer libcufft

* remove target

* Include more
2025-03-18 15:11:27 +01:00
Josh Hawkins
590712e2c7 Add ability to use Jina CLIP V2 for semantic search (#16826)
* add wheels

* move extra index url to bottom

* config model option

* add postprocess

* fix config

* jina v2 embedding class

* use jina v2 in embeddings

* fix ov inference

* frontend

* update reference config

* revert device

* fix truncation

* return np tensors

* use correct embeddings from inference

* manual preprocess

* clean up

* docs

* lower batch size for v2 only

* docs clarity

* wording
2025-03-18 15:11:27 +01:00
Josh Hawkins
9d05888b4b Fix lpr metrics and add yolov9 plate detection metric (#16827) 2025-03-18 15:11:27 +01:00
p-boon
4353fdbd4d Lint fixes 2025-03-05 20:46:47 +01:00
p-boon
31dfd97493 Indicate in review timeline when motion was considered calibration. 2025-03-05 12:53:02 +01:00
p-boon
d4946f19f5 Merge branch 'dev' of https://github.com/blakeblackshear/frigate into motion_improvements 2025-02-26 14:17:39 +01:00
Nicolas Mowen
7eb3c87fa0
UI tweaks (#16813)
* Add escape to close review details

* Refresh review page automatically if there are currently no items to review
2025-02-25 19:17:39 -06:00
Nicolas Mowen
7ce1b354cc
Use native arm runner for arm docker builds (#16804)
* Try building jetpack on latest ubuntu version

* Update ci.yml

* run natively on arm

* Run all arm builds using arm runner

* Update ci.yml
2025-02-25 11:02:56 -06:00
p-boon
9ef3fdbfe7 Fix code comment 2025-02-25 14:50:24 +01:00
p-boon
3432907c89 Make motion detection less sensitive by ignoring minor (<5%) changes. 2025-02-25 14:35:34 +01:00
p-boon
7d0d5efac5 Merge branch 'dev' of https://github.com/blakeblackshear/frigate into motion_improvements 2025-02-25 14:35:15 +01:00
Jason Hunter
0de928703f
Initial implementation of D-FINE model via ONNX (#16772)
* initial implementation of D-FINE model

* revert docker-compose

* add docs for D-FINE

* remove weird auto-format issue
2025-02-24 08:56:01 -07:00