Commit Graph
229 Commits
Author SHA1 Message Date
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 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 a6ecb76efe fix: Add go2rtc.url to editor (#1867)
* Closes #1866
2025-02-01 13:50:27 -08:00
Dermot Duffy f123bb91dd feat: Add support for 12-hour clock formatting on timelines (#1862)
- Closes #1779 


[skip ci]
2025-02-01 13:37:12 -08:00
Dermot Duffy 32e792fdf3 fix: Better handle multiple simultaneous requests for diagnostics (#1852)
- Closes #1851


[skip ci]
2025-01-21 20:36:28 -08:00
Dermot Duffy 596a724714 fix: Add additional troubleshooting pointers for stream load errors (#1844)
[skip ci]
2025-01-20 18:56:59 -08:00
Dermot Duffy 4f76e6a18a fix: Add missing editor support for always_error_if_entity_unavailable (#1837)
- Closes #1775
2025-01-18 15:17:55 -08:00
Dermot Duffy 6b3736bdaf fix: Show version number with card loading spinner (#1825)
- Closes #1818

**Why add this?**: A repeated pattern is that an issue is fixed in the
card, a new build is released and users will incorrectly believe it's
not yet fixed due to their browser caching the old code. This results in
wasting their time, and my time.

**But it's obnoxious!**: I'm pretty sensitive to this (hence adding
these messages!), so let me know how terrible you find it. You can
disable it with:

```yaml
performance:
  features:
    card_loading_indicator: false
```
2025-01-12 16:26:30 -08:00
Dermot Duffy 278560b5ac feat: Add richer card theme support (#1809) 2025-01-07 19:54:13 -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 9ac6134446 perf: Change media fetches to be asynchronous to view render (#1702)
This is a fairly non-trivial change in terms of consequence, so a greater than average chance something breaks. This is necessary since some cameras (e.g. Reolink) are materially slower to fetch media, and this change substantially improves card responsiveness.
2024-12-01 20:57:48 -08:00
Dermot Duffy dada65e008 feat: Add experimental reolink media support (#1694)
* feat: Add experimental rich reolink support.

* Formatting fix
2024-11-25 20:19:12 -08:00
Dermot Duffy 0ec9afbad2 feat: Add permanent menu items for hidden menus (#1636) 2024-10-13 11:05:33 -07:00
Dermot Duffy 1e0a990855 feat: Add new casting profile (#1575)
* feat: Add new `casting` profile

* Set some additional flags for casting
2024-09-23 20:24:35 -07:00
Dermot Duffy 766f3422a9 fix: Unparseable config when using the low-performance profile (#1570)
* The `low-performance` profile itself had parse errors: fix them!
* Do not silently swallow override parse errors, they are always a user issue
* Minor error message rendering improvements to show multiple pieces of context
2024-09-22 15:08:37 -07:00
Dermot Duffy f924537025 fix: Replace max_height with height (#1539)
* fix: Replace `max_height` with `height`

BREAKING CHANGE: This entirely removes `min_height`, and replaces `max_height` with `height`. The behavior is obviously not exactly the same, but the prior behavior did not actually work correctly. CSS does not  limit the height of child elements that are `100%` of their parents height if the parent does not have an explicit height set (this caused spillage over the set max height). As such, it's simpler to just allow the user to set the actual height of the card should they need to do so, with a (hopefully) minor loss of flexibility.

* Test fixes
2024-09-15 17:29:05 -07:00
Dermot Duffy 041656317a Add support for arbitrary image entities 2024-09-08 16:48:26 -07:00
Dermot Duffy 0403441e07 Add max_simultaneous_engine_requests parameter 2024-08-26 19:57:55 -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 d171aac09b Make description more intuitive. 2024-07-29 09:54:45 -07:00
Dermot Duffy afb9af5eb4 Rename several view variables for clarity. 2024-06-11 19:48:39 -07:00
Felipe Santos fccb4c9afd Bump prettier to v3 and format all files 2024-06-10 00:29:50 -03:00
Dermot Duffy 7ab545738d Add initial keyboard shortcut support. 2024-06-05 21:44:17 -07:00
Dermot Duffy 7917e5c537 Add support for pre-defined zoom/pan settings. 2024-04-27 14:55:38 -07:00
Dermot Duffy c7c85d188d Add support for precise layout cropping options. 2024-04-15 16:10:09 -07:00
Dermot Duffy bde4e6cd38 Add support for configuration profiles. 2024-03-28 21:41:48 -07:00
Dermot Duffy b23cea4ffe Add French language. 2024-03-27 20:55:56 -07:00
Dermot Duffy 95c44adcf1 Allow camera capabilities to be configured. 2024-03-26 21:00:15 -07:00
Dermot Duffy 463f4bf32a Add ability to set timeline pan mode via config. 2024-03-10 20:40:18 -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 7d1260d122 Remove remnants of old PTZ auto mode. 2024-03-03 21:31:43 -08:00
Dermot Duffy 88bea0ae7d Allow camera engines to signal events to the card. 2024-03-03 15:40:20 -08:00
Dermot Duffy e21756887d Add custom date/time media filtering. 2024-02-07 22:06:21 -08:00
Dermot Duffy e35a44933c Fix non-en languages. 2024-02-03 14:37:22 -08:00
Dermot Duffy 93a475c7f4 Allow live thumbnails to load recordings . 2024-02-03 14:23:49 -08:00
Dermot Duffy d3260d516c Allow the inbound audio to unmute when the microphone is unmuted. 2024-01-28 20:30:09 -08:00
Dermot Duffy 53fa1e0659 Minor fixes. 2024-01-25 22:40:29 -08:00
Dermot Duffy 2d3817100b Add warning message for loading stream. 2024-01-25 22:28:05 -08:00
Dermot Duffy 5e72070c96 Add interaction and triggered conditions. 2024-01-25 22:06:21 -08:00
Dermot Duffy 64a909ead0 Add editor and migration support. 2024-01-21 11:30:23 -08:00
Dermot Duffy 278f4f372d Initial version of more advanced scan mode control. 2024-01-17 22:07:30 -08:00
Dermot Duffy e12912fa85 Add out-of-the-box Frigate PTZ support. 2023-10-29 14:10:41 -07:00
Dermot Duffy ac0eab40a2 Add editor support. 2023-10-10 20:16:00 -07:00
Dermot Duffy bc71709cc8 Add new method of casting live cameras based on dashboards. 2023-10-09 22:04:59 -07:00
Dermot Duffy 48ece1e154 Improve display mode button text. 2023-08-26 14:51:48 -07:00
Dermot Duffy 87f137b474 Add support for timeline seeking locked to a camera. 2023-08-26 11:11:44 -07:00
Dermot Duffy b663e0b731 Initial support for grid for live and media viewer. 2023-08-08 22:26:25 -07:00