It’s german but maybe it helps:
max_disappeared: 25
what does the 25 stand for? 25 seconds delay between triggers?
Also what’s the best way to not trigger for a certain amount of time after initial trigger. For instance lets say I person was detected and triggered, but that person is still in the frame for a few seconds. How do I make it so it doesn’t trigger again until the person is out of frame?
For now I have it set up as such in my automation but it doesn’t seem to work well:
condition:
- "{{ trigger.payload_json['after']['label'] == 'person' }}"
- "{{ trigger.payload_json['after']['camera'] == 'bac' }}"
- "{{ trigger.payload_json['after']['top_score'] > 0.75 }}"
- "{{ ( as_timestamp(now()) - as_timestamp(state_attr('automation.person_enters_backyard_notify', 'last_triggered')) |int(0) ) > 60 }}"
Noob question… how install frigate-hass-integration v2.0.0 to the Home assistant?
Team
wanted to let you know that I have been running Wyze V2 ( 3x ) and Wyze V3 (2x ) on Frigate for few months now and it is working great ever since I installed 3rd party FW.
for V2 Im running Dafang Hack for V3 I
m running HTTP Stream wyzehack.
here are my configs
V2
Garage:
ffmpeg:
global_args: -hide_banner -loglevel warning
hwaccel_args:
- -hwaccel
- qsv
- -qsv_device
- /dev/dri/renderD128
input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1
output_args:
detect: -f rawvideo -pix_fmt yuv420p
record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
clips: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
inputs:
- path: rtsp://192.168.1.94:8554/unicast
roles:
- detect
- record
width: 1280
height: 720
fps: 5
V3
Driveway:
ffmpeg:
global_args: -hide_banner -loglevel warning
hwaccel_args:
- -hwaccel
- qsv
- -qsv_device
- /dev/dri/renderD128
input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt
output_args:
detect: -f rawvideo -pix_fmt yuv420p
record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
clips: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an
inputs:
- path: http://192.168.1.174:12345
roles:
- detect
- record
width: 1920
height: 1080
fps: 5
How can I change the size of the snapshots?
Is the size of the snapshots linked to the size of the detect stream. With other words, is the snapshot generated from the detectstream?
If yes, is there a possibility to make the snapshots from another stream? Like the one I use for clips?
I have an imou dome cam that I want to use this for. But all hwaccel I try keep crashing the addon in home assistant. And telling me that it could not start mmpeg on the camera. Is there a documentation page on which to use and maybe a page on all the options you have in Hwaccel. Maybe it’s common knowledge but I’m just starting with the whole camera thing so everything is new to me now. 99% of what is posted here is stuff I don’t understand
Try this in your yml file…
snapshots:
enabled: True
height: 960 # Defines height of snapshots.
crop: True
Everything is documented here
But this is only to crop the snapshots? I want bigger snapshots.
If you want the full size, set crop to FALSE
crop: False
I have a Proxmox with a vm with hassos supervised and frigate with coral and gpu passthrough.
But I have this issue
Detection appears to be stuck. Restarting detection process…
I don’t know docker or lxc, please can you explain for a newbie, how to create a frigate into lxc and if needed, config passthrough about coral ?
Any advice on how to filter out ONE zone in case multiple zones are triggered?
I have this in my automation to only send me a notification when a entered_zone gets activated.
{{ 'parking_area' in trigger.payload_json['after']['entered_zones'] }}
But I also have a zone named “street_zone”, sometimes both these zones get triggered when etc a car parks at my parking_area. When both zones are ative the MQTT show:
entered_zones: ['street_area']['parking_area'] ..
How to adjust my template to trigger when “parking_area” is in entered_zones?
//Minglarn…
Hi guys,
No matter what I do, frigate cannot detect my Coral, I’m using the m.2 connected to a mini pcie adapter, then passed through to the HA supervisor. But nothing…
My host is ESXi 6.5
Any suggestions? (anything! Lol)
I am having the same problem, it’s been working fine for months and now it does not work any more.
I use Proxmox LXC, and all the hardware should accessible
I can see the device both on the host and in Home Assistant.
But in the frigate addon log says:
frigate.edgetpu INFO : No EdgeTPU detected.
What could be wrong?
Is there a way to delete old recordings/clips after a certain amount of days?
record:
# Optional: Enable recording
enabled: False
# Optional: Number of days to retain
retain_days: 30
clips:
# Optional: Maximum length of time to retain video during long events. (default: shown below)
# NOTE: If an object is being tracked for longer than this amount of time, the cache
# will begin to expire and the resulting clip will be the last x seconds of the event.
max_seconds: 300
# Optional: size of tmpfs mount to create for cache files (default: not set)
# mount -t tmpfs -o size={tmpfs_cache_size} tmpfs /tmp/cache
# NOTICE: Addon users must have Protection mode disabled for the addon when using this setting.
# Also, if you have mounted a tmpfs volume through docker, this value should not be set in your config.
tmpfs_cache_size: 256m
# Optional: Retention settings for clips (default: shown below)
retain:
# Required: Default retention days (default: shown below)
default: 10
# Optional: Per object retention days
objects:
person: 15
How can I calculate the duration of a clip? I’m subtracting start_time from end_time and adding pre_capture and post_capture, but it’s not matching. Would it be possible to provide the duration in the events api? Thank you!
Guys, how to setup the custom model in HASSOS?
I’ve read the documentation:
But there are still questions:
- where exactly do I need to save model and labels files if I use frigate addon?
in folder /custom_components/frigate ? - how should I change the frigate configuration?
Is there a way to find out if my docker container can see my pcie edge tpu board? I am using win10 and I’ve connected an pcie edge tpu board but I can’t figure out if my docker container can actually see it. Whenever I set it as my detector it never works so for now I’m using my cpu…