Commit Graph
44 Commits
Author SHA1 Message Date
Dermot Duffy 529500ed94 refactor: Migrate config schema from Zod v3 to Zod v4 (#2357) 2026-02-18 21:47:43 -08:00
Dermot Duffy fc32727860 feat: Add support for Frigate reviews / detections [initial PR] (#2315)
- Add support for Frigate reviews / detections.
 - Add support for GenAI metadata.
- Significant internal refactor to more flexible "UnifiedQuery" to allow
mixing cameras with simple metadata and review metadata (e.g. a timeline
view of a Frigate camera with reviews, and a Reolink camera with simple
metadata).
 - Add support for folder media as camera media.

There are a few more PRs to commit prior to this going live, but
commiting this for now due to the scale of the change.

BREAKING CHANGE: `media_type` and `events_type` are retired under
`live`, `viewer` and `timeline` configuration sections, instead media
type is associated (once) with the camera under `media`.
2026-01-19 13:32:50 -08:00
Dermot Duffy 3279481b0e feat: Add festive visual effects (#2252)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> Introduces an effects system (fireworks, ghost, hearts, shamrocks,
snow), a new `effect` action, and optional date-based loading effects,
integrated into the card with docs, schema, editor, and tests.
> 
> - **Effects System**:
> - Add `EffectsController` and `advanced-camera-card-effects` host with
lazy-loaded effect modules (`fireworks`, `ghost`, `hearts`, `shamrocks`,
`snow`).
> - New base effect component with fade-in/out; SCSS and z-index
updates.
> - **Actions**:
> - New custom action `advanced_camera_card_action: effect` with
`effect_action` (`start`|`stop`|`toggle`).
>   - Wire into `ActionFactory` and add `EffectAction` executor.
> - **Card Integration**:
> - Mount effects host in `advanced-camera-card` and expose
`getEffectsControllerAPI()` via `CardController`.
> - Loading component can trigger date-based effects (e.g., New Year
fireworks) when enabled.
> - **Configuration & Editor**:
> - Add `performance.features.card_loading_effects` (default `true`)
alongside `card_loading_indicator`.
> - Update schemas, defaults, low-performance profile (disables
effects), and editor toggles.
> - **Docs & Examples**:
>   - Document `effect` action parameters and add menu example.
>   - Update performance docs with new option.
> - **Localization & Tests**:
>   - Update i18n strings for new performance option.
> - Add comprehensive tests for effects controller, action, factory,
config defaults/profiles, and utilities.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
cffd4304fe3bd22340316f9cec53e341379b1756. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2025-12-06 18:21:44 -08:00
Dermot Duffy bc5022ef1a feat: Enable go2rtc live stream proxying (#2159)
- Closes #1984
2025-08-28 21:19:19 -07:00
Dermot Duffy 4d4b64232a feat: Add support for rotating camera streams (#2149)
* Closes #1307
2025-08-23 17:30:53 -07:00
Dermot Duffy c3e7cef9cf fix: Camera aspect-ratio should always apply (#2114)
- Closes #2073
2025-07-13 14:56:03 -07:00
Dermot Duffy 13e43b8747 fix: Handle spaces in PTZ presets (#2084)
- Closes #2079
2025-06-03 20:27:40 -07:00
Dermot Duffy c6a4c8aea2 feat: Implement basic general folder support (#2051)
- Related: #1748
2025-05-21 19:59:21 -07:00
Dermot Duffy 75ae7720d3 fix: Confirmations should apply to all actions (#1959)
This also refactors how generic HA actions are handled, and improves
typing of actions.


[skip ci]
2025-03-15 14:32:48 -07:00
Dermot Duffy a79ffa6edc refactor: Retire the use of unmaintained custom-card-helpers (#1956)
- Closes #1295
2025-03-09 16:02:33 -07:00
Dermot Duffy cc376a8be1 feat: Rename the card to advanced-camera-card (#1873)
Whilst the Frigate support in this card is the best among camera
engines, the name incorrectly suggests that Frigate is a requirement.
Instead, to broaden the appeal, change to more camera agnostic name.
This does not suggest any change in priority, role or support for
Frigate.

This change is likely to be bug prone, due to the size of the rename --
the code contains 1500+ references to "Frigate" most of which make sense
to rename, some which do not, all of which needed human assessment.

- Closes #1298


BREAKING CHANGE: References to `frigate-card` in all kinds of
configuration need to be updated to `advanced-camera-card`. An automated
config upgrade should take care of the majority of usecases (click `Edit
-> Upgrade -> Save`), though may not be perfect.
2025-02-06 19:32:32 -08:00
Dermot Duffy 8344734e2b Remove optimization that caused scrubbing misbehavior 2024-08-26 20:55:02 -07:00
Dermot Duffy 429dd90972 Use custom websocket to avoid needing admin privileges. 2024-08-24 20:00:00 -07:00
Dermot Duffy 7ab545738d Add initial keyboard shortcut support. 2024-06-05 21:44:17 -07:00
Felipe Santos 1a36ce0894 Update date-fns and date-fns-tz to v3 2024-06-05 22:37:54 -03:00
Dermot Duffy 7917e5c537 Add support for pre-defined zoom/pan settings. 2024-04-27 14:55:38 -07:00
Dermot Duffy 323925101d Add support for more advanced forms of overriding 2024-04-13 18:23:11 -07:00
Dermot Duffy 72eae2bf88 Update dimensions and media layout options to be per camera. 2024-03-06 23:08:32 -08:00
Dermot Duffy 89ddea69db Fix obscure config merge bug. 2024-03-03 18:22:51 -08:00
Dermot Duffy e830db1a77 Complete carousel refactor.
Reduces one layer of DOM nesting for simplication, uses the latest Embla
version, unittests for everything.
2023-09-04 16:25:32 -07:00
Dermot Duffy b4595867b3 Avoid carousel init duplication. 2023-08-13 10:00:29 -07:00
Dermot Duffy b663e0b731 Initial support for grid for live and media viewer. 2023-08-08 22:26:25 -07:00
Dermot Duffy 91f6f48696 Add label to timeline marker with current time. 2023-04-15 09:31:05 -07:00
Dermot Duffy 6ea7c7d260 Merge pull request #1087 from dermotduffy/basic-unittests
Add unitests for `basic` support functions
2023-04-14 18:31:05 -07:00
Dermot Duffy 9b7eae303b Add unitests for basic functions. 2023-04-14 18:27:25 -07:00
Dermot Duffy e854187666 Add support for new ribbon timeline. 2023-04-14 16:44:39 -07:00
Dermot Duffy 304c7e3164 Initial motionEye commit. 2023-03-26 16:42:21 -07:00
Dermot Duffy 7f1fcf454e Add support for 'scroll up refresh' in the gallery. 2023-03-06 21:04:05 -08:00
Dermot Duffy 06b4cc914c Refactor camera initialization into the camera engines. 2023-02-12 16:10:22 -08:00
Dermot Duffy f9f2a494c6 Avoid dispatching range changed events if there's nothing to be gained. 2023-01-30 20:21:12 -08:00
Dermot Duffy 0df6faaf7d Move camera name and icon into camera manager. 2023-01-29 18:30:07 -08:00
Dermot Duffy 49e5cc5c5e Make debug logging controllable by config. 2023-01-29 15:56:47 -08:00
Dermot Duffy 5fb2a9d3ed Include metadata from recordings. 2023-01-29 11:26:48 -08:00
Dermot Duffy 67b134308a Fetch metadata from engine. 2023-01-26 21:55:07 -08:00
Dermot Duffy d0a6f0928f Add 'infinite' gallery support. 2023-01-24 19:36:54 -08:00
Dermot Duffy 191c901952 Do a fresh media query on snapshot->clip conversion. 2023-01-24 19:36:54 -08:00
Dermot Duffy 1762b5530f Refactor media classifiers. 2023-01-24 19:36:54 -08:00
Dermot Duffy 093925cb40 Initial code for major engine refactor. 2023-01-24 19:36:54 -08:00
Dermot Duffy 9eb97ab0cd Improve tree shaking for lodash and date-fns. 2022-10-09 09:10:56 -07:00
Dermot Duffy 5ec3cbac54 Garbage collect segments. 2022-09-24 13:39:17 -07:00
Dermot Duffy a2e80d93a3 Fetch timeline events from events endpoint not media browser. 2022-09-24 11:31:03 -07:00
Dermot Duffy 70d445d921 Fix drawer open bug in iOS Safari. 2022-08-13 13:48:01 -07:00
Dermot Duffy 4901905ca1 Make error handling and console logging consistent 2022-06-20 03:03:27 +00:00
Dermot Duffy 6b30487229 Initial common.js refactor. 2022-05-12 20:42:02 -07:00