Thanks for the reply. All my cameras are fine in every dashboard and even in most parts of Frigate (Birdseye, Events), it’s just that one camera page where all (6) cameras are displayed at once that it does it.
Hi guys, i need some help.
I’m on proxmox and everything is installed allright.
However when i start the docker container of frigate i get this message:
2023-11-14 13:00:48.547963151 [2023-11-14 13:00:48] frigate.app INFO : Starting Frigate (0.12.1-367d724)
2023-11-14 13:00:48.574996430 [2023-11-14 13:00:48] frigate.app INFO : Creating directory: /media/frigate/recordings
2023-11-14 13:00:48.578736700 [Errno 13] Permission denied: '/media/frigate/recordings'
the config.yml
the docker compose:
the mount
when i go into the Proxmox docker container and i check the folder of /cctv_clips
i can access it normally so it mounts correctly.
however the permission is a problem and don’t know what to do now?
regards
Have you got the
/opt/frigate/config:/config
Wrong, this is the format for the new beta versions, it should be
opt/frigate/config/config.yml:/config/config.yml
For the stable version.
Disclaimer, I think??
This works for the current version as well
if u did reply to me, i did change it according like you said
However the previous way i did config it did not cause any problems.
However still permission denied:
2023-11-15 13:19:54.019930971 [2023-11-15 13:19:54] frigate.app INFO : Starting Frigate (0.12.1-367d724)
2023-11-15 13:19:54.048295393 [2023-11-15 13:19:54] frigate.app INFO : Creating directory: /media/frigate/recordings
2023-11-15 13:19:54.051472157 [Errno 13] Permission denied: '/media/frigate/recordings'
2023-11-15 13:19:55.384212632 [INFO] Service Frigate exited with code 1 (by signal 0)
My drive i use is an mounted drive CIFS in proxmox, i use this sme drive for various containers with no problem.
So i don’t know if frigate does support cifs as an external hdd in a docker container.
Folders have root access same for the Frigate container.
I need some help re-integrating frigate into Home Assistant (my first post and I have already reviewed documentation and other posts). I had it running, but ran into a problem with my NAS and as part of the resolution had to remove the frigate integration and frigate proxy.
Background Info (everything on a QNAP NAS):
- Frigate (latest) is in a docker container (container switch on 10.x.x.3 on container network 10.x.x.1, but accessible via http://192.xxx.xxx.3:5000)
- Home Assistant is running as a VM (virtual switch 192.xxx.xxx.3, VM says 192.xxx.x.xx and is accessible via http://homexxxxx.local:8123)
- Frigate integration is already installed via HACS and visible in the custom_components
- Frigate Proxy is installed (configuration is saved as 192.xxx.xxx.3:5000) and “show in sidebar” is on
- Browser preference is Chrome on a PC, but also tried Firefox on PC
Issues:
Clicking on the Frigate Proxy in the sidebar just shows a black screen with HA sidebar. There is a NGINX log via the direct Frigate URL (http://192.xxx.xxx.3:5000) showing the attempted connection:
"GET // HTTP/1.1" 200 10522 "http://homexxxxx.local:8123/ccab4aaf_frigate-proxy" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" "192.xxx.x.x, 172.xx.xx.1, 172.xx.xx.2"
The 192.xxx.x.x is my PC and not sure what the 172 addresses are from, but the date/time coincide with my attempted view
When I attempt to add Frigate (Settings → Devices & services → Add Integration) using http://192.xxx.x.3:5000/, it responds with “Failed to connect” and there is an entry in the log ([custom_components.frigate.api] Timeout error fetching information from http://192.xxx.x.3:5000/api/stats ). There is a NGINX log via Frigate:
"GET /api/stats HTTP/1.1" 200 2494 "-" "HomeAssistant/2023.11.2 aiohttp/3.8.5 Python/3.11" "-"
I have rebooted the HA VM a few times and my MQTT and Frigate containers. The logger is set as:
custom_components.frigate: debug
Any suggestions of how to fix the problem?
Thanks
Can somebody recommend PC configuration for hardware decoding in frigate that is actually working if i have Proxmox? I have been trying to do it for a long time with checp 710 nvidia etc. but without result. Please somebody write your PC config what gpu is working with pci passthrough…
Anyone ever think it might be nice to have multiple config files?
I have noticed over the years that things change enough to want my settings to be different in different seasons.
Would be awesome to be able to automate different configs for different situations throughout the year. Or even just push a button to choose which scenario is appropriate.
I could maybe keep multiple copies of the config and manually switch them, but no clue how I’d automate that since I’d have to change filenames and keep track of which is which.
Anyone have any ideas?
Thanks
Hello to all I have the same question and having a hard time . how are you passing the m.2 card to the lxc container? Can you post please your lxc config when you get a chance, think this will helpful for a lot of people. Thanks have spend last 3 days and I’m going in circles now.
Thank you!
Hay,
Can someone help me out please I have Frigate up and running Great! but it is using the CPU not great
I have a Geforce RTX Ti GPU but I can not seem to get it to work Frigate, can anyone share code to help me out?
Thanks
Keep in mind that video acceleration won’t help with object detection…it will just help you decode the h.264/5 streams coming in. You need another method to help with object detection. The most common is a google coral TPU.
That said try looking here to see if this can help you:
Ive look at that link, is this all I have to put?
ffmpeg:
hwaccel_args: preset-nvidia-h264
yes, assuming the previous setup steps have been followed correctly
I will try it out.
Did you ever resolve this? I’m having the same issue.
Unfortunately not. I switched the USB Coral over to an Intel NUC running Debian instead. I have that running Frigate in Docker with no issues and talking to Home Assistant over the network instead of being on the same machine.
would you be able to share the frigate yaml page? I haven’t been able to get my hiseeu cameras to work.
No, I use Scypted now.
Hi all,
I would like to send snapshot via Telegram. It works well as long a I use mqtt/events as trigger and the ID.
The resulting path to the image is e.g.:
http://192.168.xxx.xx:8123/api/frigate/notifications/17xxxxxxxxx.76xx27-axxx2/snapshot.jpg
Once I try to just send the snapshot image from the latest event for the camera
(GET /api/<camera_name>/<label>/snapshot.jpg
) it fails. I get a “404: Not Found”.
http://192.168.xxx.xx:8123/api/frigate/einfahrt/person/snapshot.jpg
This is the test setup I use:
alias: Frigate Test Image Telegram
description: ""
trigger:
- platform: mqtt
topic: frigate/events
condition: []
action:
- service: notify.x_telegram
data:
title: Person in der Einfahrt.
message: Event
data:
photo:
- url: >
http://192.168.xxx.xx:8123/api/frigate/notifications/{{
state_attr('sensor.frigate_event_details_wohnzimmer', 'after').id
}}/snapshot.jpg
enabled: false
- service: notify.x_telegram
data:
title: Person in der Einfahrt.
message: Event
data:
photo:
- url: >
http://192.168.xxx.xx:8123/api/frigate/einfahrt/person/snapshot.jpg
mode: single
Any idea what’s wrong?
Thank you very much!
Really been trying to figure this one out too since the upgrade to frigate 13 changed where the snapshot files are. Docs seem simple enough, but just say <event-id>
. I don’t understand the event ID and where I’m supposed to find that.
For now I have settled on grabbing a snapshot of the mjpeg stream.
In the data box of the automation is this:
photo:
- caption: Car in Drive
- url: http://192.168.13.40:5000/api/driveway/latest.jpg?bbox=1
So this isn’t a great way to do it, but all I can come up with so far.
Anyone else have success sending snapshots using telegram?