I have a Reolink RLN8-410 NVR with a few cameras. I discovered advanced-camera-card today, which works great (camera stream displays, PTZ works, etc) except for one thing - I’m trying to filter out the clips so only AI detection tagged clips are shown. I’ve been struggling with this using gemini AI to configure the card, but nothing is working. Always all clips are shown instead of the few detection clips.
Here is one of the many suggestions from gemini.
type: custom:advanced-camera-card
cameras:
- camera_entity: camera.garage_telephoto_fluent
media_source:
media_class: video
media_id: "media-source://reolink/RES|01KEKZHWB0FB8YST480WYC6BE2|0|autotrack_sub"
filter:
search:
labels:
- Person
- Vehicle
- Animal
I’ve also considered that it may not even be possible. But any nudge in the right direction would be extremely helpful. Thanks.
I sort of got it working.
type: custom:advanced-camera-card
cameras:
- camera_entity: camera.garage_telephoto_fluent
column_span: 2
folders:
- type: ha
ha:
url: >-
/media-browser/browser/app%2Cmedia-source%3A%2F%2Freolink/playlist%2Cmedia-source%3A%2F%2Freolink%2FCAM%7C01KEKZHWB0FB8YST480WYC6BE2%7C0/playlist%2Cmedia-source%3A%2F%2Freolink%2FRES%7C01KEKZHWB0FB8YST480WYC6BE2%7C0%7Csub
path:
- parsers:
- type: date
matchers:
- type: date
since:
days: 5
- parsers:
- type: date
format: HH:mm:ss
matchers:
- type: title
regexp: .*(?<value>Animal|Vehicle|Person)
It does match ONLY clips tagged as Animal|Vehicle|Person, but it includes all of the 5 minute clips when I just want the short, event-only clips that reside within the Animal|Vehicle|Person folders.
I also tried changing the regex to (\d\d:\d\d:\d\d 0:0[0-3]:\d\d.*(Vehicle|Animal|Person)) but I guess the time and duration are not in the title or something.
If there’s a way to exclude clips with a duration longer than 3 minutes, then this would work perfectly - sort of.
One last item. The loading of clips is very slow. I’m not sure why.