Commit Graph
295 Commits
Author SHA1 Message Date
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 4d4b64232a feat: Add support for rotating camera streams (#2149)
* Closes #1307
2025-08-23 17:30:53 -07:00
Dermot Duffy c6a4c8aea2 feat: Implement basic general folder support (#2051)
- Related: #1748
2025-05-21 19:59:21 -07:00
Dermot Duffy b5eee5878a feat: Add out of the box support for Reolink PTZ (#1982)
- Closes: #1964
2025-03-26 21:26:02 -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 3b77b11196 fix: Increase reliability of media auto actions (e.g. play) (#1934)
Refactors media player handling entirely to make the code more
consistent and less boilerplate. Add testing for media player actions.

- Closes #1921
- Closes #1916
2025-03-03 20:59:01 -08:00
Dermot Duffy 0432eea4b8 feat: Add UI support for PTZ presets (#1920)
- Closes #1889

Whilst a simple change theoretically, the card has such a collection of
surfaces that can overlap other surfaces, it's challenging to get this
to work right! There's a real chance this will have broken something
z-index related (e.g. X overlaps Y when it should not), or (for related
reasons) broken curver corners on the card.
2025-02-27 20:22:12 -08:00
Dermot Duffy c66c3ec919 feat: Add control/output of selected camera via an entity (#1895)
- Closes #1871
2025-02-17 13:33:10 -08: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 3e8e688b36 feat: Add basic fullscreen support for iPhone (#1857)
- Closes #1444
2025-01-27 07:23:07 -08:00
Dermot Duffy 0212840688 fix: Substream only cameras should not be triggerable (#1848)
- Closes #1846
2025-01-21 07:17:09 -08:00
Dermot Duffy faa5ec3eec refactor: Refactor internal error / info message components (#1842) 2025-01-20 15:26:53 -08:00
Dermot Duffy 278560b5ac feat: Add richer card theme support (#1809) 2025-01-07 19:54:13 -08:00
Dermot Duffy f7ecb91578 fix: Allow icon styles to be overridden (#1794) 2024-12-23 21:24:28 -08:00
Dermot Duffy 9d812af9f4 fix: Use HA style and coloring for all icons (#1790) 2024-12-23 15:22:27 -08:00
Dermot Duffy 650d99ec00 fix: Fix initialization race condition that occurs in certain circumstances (#1545)
* fix: Fix initialization race condition in certain circumstances

* Minor improvements and camera iris logo
2024-09-19 19:42:38 -07:00
Dermot Duffy 429dd90972 Use custom websocket to avoid needing admin privileges. 2024-08-24 20:00:00 -07:00
Dermot Duffy e503f0e429 Initial version of status bar. 2024-08-16 20:08:21 -07:00
Dermot Duffy 7ab545738d Add initial keyboard shortcut support. 2024-06-05 21:44:17 -07:00
Dermot Duffy f67620397f Set timeline to now not to most recent event. 2024-04-07 20:21:09 -07:00
Dermot Duffy 95c44adcf1 Allow camera capabilities to be configured. 2024-03-26 21:00:15 -07:00
Dermot Duffy 93a475c7f4 Allow live thumbnails to load recordings . 2024-02-03 14:23:49 -08:00
Dermot Duffy 9a2eb24d35 Rename service_data to data to maintain HA compatibility. 2023-10-08 21:17:57 -07:00
Dermot Duffy 9b72dd8089 Refactor main types.ts . 2023-10-02 22:35:58 -07:00
Dermot Duffy a3b1e5f834 Fix trigger scan config issue. 2023-10-02 18:52:37 -07:00
Dermot Duffy bfdbe70d6c Refactor card.ts substantially and test. 2023-10-02 16:30:05 -07:00
Dermot Duffy 568a5cea35 Accept . as a query string delimiter. 2023-09-06 21:22:21 -07:00
Dermot Duffy 17bfe4f38b Recalculate grid for a slot change. 2023-08-19 12:28:11 -07:00
Dermot Duffy b663e0b731 Initial support for grid for live and media viewer. 2023-08-08 22:26:25 -07:00
Dermot Duffy e1320c4d71 Fix view-related querystring action race condition 2023-06-21 08:41:56 -07:00
Dermot Duffy 39b985b4df Add screenshot support. 2023-06-16 19:36:45 -07:00
Dermot Duffy 972a0999fb Allow default media controls to be hidden. 2023-05-14 20:00:23 -07:00
Dermot Duffy 8365b43c04 Add play/pause/mute/unmute Frigate card commands. 2023-05-11 20:25:40 -07:00
Dermot Duffy d63a1de042 Only show the microphone button when the loaded media supports 2-way audio. 2023-05-07 16:47:02 -07:00
Dermot Duffy 109e10ea68 Rename option to always_connected. 2023-05-07 15:32:44 -07:00
Dermot Duffy ee7d02fc58 Add support for connecting microphone on card load. 2023-05-07 15:17:39 -07:00
Dermot Duffy 2c1b8ed785 Implement momentary and toggle microphone button types. 2023-05-06 15:59:57 -07:00
Dermot Duffy 992b622f7c Add support for disabling zoom. 2023-05-06 14:03:05 -07:00
Dermot Duffy 867a118a16 Add better control over substreams. 2023-05-06 10:42:17 -07:00
Dermot Duffy fd74c1c855 Add initial support for automations. 2023-05-04 19:54:41 -07:00
Dermot Duffy 37a016e381 Add experimental 2-way audio support. 2023-04-29 13:30:37 -07:00
Dermot Duffy 705afaca99 Add initial zoom support. 2023-04-22 16:32:11 -07:00
Dermot Duffy e854187666 Add support for new ribbon timeline. 2023-04-14 16:44:39 -07:00
Dermot Duffy 1da7510c3a Add max_height and min_height dimension options. 2023-04-11 19:50:36 -07:00
Dermot Duffy e1d74dc35a Enable smooth panning between past/live. 2023-04-09 19:23:34 -07:00
Dermot Duffy d25d85eb34 Clicking on an event in the timeline always plays. 2023-04-07 07:49:36 -07:00
Dermot Duffy 7071f2ff63 Add unittest coverage for engine-factory. 2023-04-04 21:55:52 -07:00
Dermot Duffy 304c7e3164 Initial motionEye commit. 2023-03-26 16:42:21 -07:00
Dermot Duffy 2e9f5f9b74 Rename expand_toggle action to expand. 2023-03-13 22:00:43 -07:00
Dermot Duffy b0528d94f9 Restrict card_id characters. 2023-03-13 21:41:54 -07:00