Frigate on a Proxmox LXC

  Рет қаралды 71,466

Home Automation Guy

Home Automation Guy

11 ай бұрын

How to run Frigate NVR on Proxmox.
❤️ Found this video useful and want to support the channel? I'd love a donation at paypal.me/homeautomationguy
The article showing these steps: www.homeautomationguy.io/blog...
The Frigate Playlist: • AI Home Security Camer...
Frigate Documentation: docs.frigate.video/
My ProxMox Setup: • Building a rack mounte...

Пікірлер: 238
@fixedtech
@fixedtech 8 ай бұрын
For anyone following this as of November 2023 the port for the Docker LXC is 9443 not 9000 as stated!
@seanwoodward33
@seanwoodward33 7 ай бұрын
This is exactly what I came here to say too. Thanks for the tutorial Alan, very helpful as always.
@lok3a4
@lok3a4 7 ай бұрын
I spent more than i hours trying every biso setting, reinstalling proxmox, trying different hard disk, trying different setting in my routor... and this is what went wrong....
@timr798
@timr798 5 ай бұрын
It would be great to mention about new port in text version of the tutorial :)
@RamjetX
@RamjetX 4 ай бұрын
I'd discovered this too by running 'docker ps', but the response I get from 9443 is "Client sent an HTTP request to an HTTPS server." and no portainer. All other ports don't respond on that IP, just 9443
@RamjetX
@RamjetX 4 ай бұрын
Ahhh right... I just needed to use IPADDRESS:9443.... okay... all good... moving on.
@MakeitZUPER
@MakeitZUPER 11 ай бұрын
I love your videos and the specs of your systems. They are everything that I want to do, especially getting it done without the cloud and still getting notifications. I'm still really new and learning the terms and acronyms. Thanks for explaining everything and producing such applicable content.
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
I'm glad you find them useful! ❤️
@SmithyScotland
@SmithyScotland 11 ай бұрын
I've found your website very useful recently. Thank you for returning to making videos
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
Thank you!
@RobotsRuleTheWorld
@RobotsRuleTheWorld 6 ай бұрын
Used this to extract my Frigate running in Home Assistant to Proxmox. Worked perfectly, thank you very much!
@HomeAutomationGuy
@HomeAutomationGuy 6 ай бұрын
Great!
@randonhenrikson6071
@randonhenrikson6071 11 ай бұрын
Finally somone has made the video I have been looking for forever. THANK YOU!
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
Glad I could help!
@adamburgoyne8398
@adamburgoyne8398 9 ай бұрын
Thanks for this, was exactly what I needed! The Coral TPU works much better in an LXC container vs a VM due to the LXC's closer connection to the host hardware. If you pass through the coral usb port or device to a VM you'll find frequent usb restarts in the logs, going the LXC route completely eliminates them. With this tutorial I was up and running within 15 mins and stable ever since! Also worth noting..... the LXC gives faster inference speeds rather than the usb emulation of going via a VM.
@Rattikus
@Rattikus 11 ай бұрын
You are a legend!! Thanx for all the effort into this topic!
@stingray2107
@stingray2107 5 ай бұрын
Love your videos and blog posts. Hope you are doing well and have not stopped do these videos! Thanks for your hard work, the effort you put into this really shows, great job!
@HomeAutomationGuy
@HomeAutomationGuy 5 ай бұрын
There's been a few too many things going on in life recently so I haven't had time for Home Automation and Videos! I will return!
@rkbest9783
@rkbest9783 11 ай бұрын
Finally the setup I was in waiting for!
@tonymatthews1053
@tonymatthews1053 8 күн бұрын
Great series of Frigate videos Alan (plus all the others, of course). Helped me no end. However, as I understand it, it's a big security risk to run Frigate in a privileged LXC, as essentially everything then runs with the root permissions of the Proxmox VE Host. Because of this I did quite a bit of digging around on the interwebs, and I've now got Frigate running in Docker, running in an Unprivileged LXC, running in Proxmox VE on a Dell Optiplex 3070, with GPU passthrough and using a PCI Google Coral TPU (6.5 mS inference speed). If you ever consider redoing the video, I'd be happy to share the steps I documented to do this, as I had to go through it several times to get it right. Regards
@Kasparinow
@Kasparinow 4 күн бұрын
Would be super interested in this!
@tonymatthews1053
@tonymatthews1053 4 күн бұрын
@@Kasparinow Thanks for the interest. I'll create a sanitised version of my instructions (passwords etc redacted), and post back here when done and where to find it
@Kasparinow
@Kasparinow 3 күн бұрын
​@tonymatthews1053 tried today again but these tuts mostly work when the used versions of proxmox docker and so on are same as in the video. Taking the actual versions and something goes wrong a not linux used guy is facing problems.... starts with passthrough of the pcie coral and ends with frigate 0.14 rc1😂
@skoolspirit1476
@skoolspirit1476 8 ай бұрын
Thanks for another great tutorial. Followed along and spun this up October 1. Now December 4 and no issues with Frigate. Rebooting the host, automated backups that stop/restart the container several times weekly. Running Frigate stable (version 12). The thing I did have issues with is when I tried to use the go2rtc feature inside of Frigate. Repeated random crashes where the CPU and RAM would max out and the container would become unresponsive, necessitating a container re-start. I've set up go2rtc as a standalone docker container in it's own dedicated LXC and it seems to be going fine that way. This may just be unique to my own Proxmox host for some reason.
@HomeAutomationGuy
@HomeAutomationGuy 7 ай бұрын
I've not delved into go2rtc yet... if it ain't broke, then don't fix it - my RTSP streams work great!
@david85o
@david85o 11 ай бұрын
I was waiting for this!!!!!! Thanks a lot!
@jameshendry3571
@jameshendry3571 11 ай бұрын
cracking video - thanks. I had a higher shared memory size in Portainer because of the number of cams I am running and change the config file from RO to write but successfully migrated tonight - thanks again
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
Glad it was helpful!
@andreasbuff
@andreasbuff 3 ай бұрын
I love your tutorials. Thank you, great Work. Just a remark to the Docker Compose script. In my case I had to change the volume information to " - /opt/frigate/config:/config" (without the :ro; -> read only) to make it work. But everything else worked fine. Thanks👍
@DoCLov
@DoCLov 3 ай бұрын
yes, had to do the same. It seems frigate needs to write a database into that location now
@2009ingvar
@2009ingvar 2 ай бұрын
Thanks so much! and thanks for posting your comment here. I have done several reinstalls without getting Frigate to work. When I removed [:ro] everything started working.
@MaciejLisCK
@MaciejLisCK 7 ай бұрын
If you are strugling whether /dev/bus/usb/002 is right number, just go to that folder with coral unplugged, check what this folder contains, plug coral and find whether it have more files inside
@MaciejLisCK
@MaciejLisCK 7 ай бұрын
actually you can use command: lsusb
@000Cypher
@000Cypher 5 ай бұрын
Thank you for this video. very helpful
@BradleyFordAus
@BradleyFordAus 11 ай бұрын
Firstly awesome video...I nearly gave up on Proxmox for Frigate. Literally I was in the process of downloading ready too move away and then your post this at the exact same time. Perfect!!! One suggestion is to change the Docker Compose to have RW for the Config directory. Without this it is not possible to update the configuration from the Frigate UI
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
Glad it was helpful, and thanks for the RO/RW tip!
@haliputti
@haliputti 11 ай бұрын
Came looking for this. How can I give rights? I'm not so good with linux. @HomeAutomationGuy maybe this step could be added to the blog?
@911shmoky911
@911shmoky911 10 ай бұрын
Awesome tutorial thank you, been wanting to combine my Home Assistant and Frigate installs onto one server and now I have that. Was concerned that the overhead would be high doing it this way but its hardly noticeable.
@HomeAutomationGuy
@HomeAutomationGuy 10 ай бұрын
Glad it helped!
@birddroppings32
@birddroppings32 11 ай бұрын
Reolink is NOT cloud based. It's a bit misleading showing Reolink when talking about sending video streams to a company's cloud for AI processing. Reolink is all locally process on the cameras/NVR's them selves. Combine that with HA for local push notifications and EVERYTHING is local. Only time Reolink is cloud based is if you use the Reolink app's notification service (and I belive that's only notifications, not the video streams going through their cloud) or explicitly sign up for cloud video storage. I really enjoy all your content but, just wanting to make it clear for others that may be looking at or currently Reolink stuff and get confused. Looking forward toy your detail video on the bed occupancy detection!
@BradleyFordAus
@BradleyFordAus 11 ай бұрын
Agree, I am all with Reolink locally
@Sch0field8
@Sch0field8 11 ай бұрын
Yup, they process everything local. But you still need to block them from internet, because they phone home.
@ProjectMadness
@ProjectMadness 8 ай бұрын
Came here to say just this.. But the AI locally on the cameras themselves can be inaccurate at times no matter the setting. so im looking into frigate myself to supplement. while the cameras do their own cataloging
@ProjectMadness
@ProjectMadness 8 ай бұрын
@@Sch0field8 Only if you have UID enabled to phone home, the whole purpose of that is to tunnel outside of your network to access the cameras remotely..
@mikedien3609
@mikedien3609 3 ай бұрын
i'm using 4 reolink e1 pro 8k cams with shinobi right now and wanted to see if frigate is anything better. The tpu ai stuff confuses me a bit, since reolink PTZ cams, do the autotracking and person/animal/object detection out of the box. so i dont need that coral tpu, do i?? i dont think so, because my proxmox runs on dual xeon with 28cores/56 threads/64GB ram, so the cpu power is no problem at all with 4x 8k cams i have no probs running shinobi on a i7-8700k, what is much slower if frigate does not do the job without the tpu, i am certain i will dump it...
@mozmanolakis4894
@mozmanolakis4894 10 ай бұрын
Great video thank you very much trying to migrate from zm
@sundinmikael
@sundinmikael 7 ай бұрын
Good guide, working with proxmox 8.1.3
@bogorad
@bogorad 11 ай бұрын
There's no guarantee that usb/002 will stay that way and won't become usb/003 or whatever when you add/remove USB devices or change ports. This is the sole reason I use VMs when I need to pass USBs through - you can use manufacturer ID (xxxx:xxxx) that never changes to describe USB devices. Alternatively, you can sometimes map via /dev/serial/by-id/ but not all USB devices are serial :)
@nilssonrichard
@nilssonrichard 11 ай бұрын
Passing USB's through with connection between port changes can be done in the lxc though. It was (for me, not fluent in linux) a hassle that took hours and all the Google fu I could think of. It boils down to another couple of lines in the lxc config file. And probably some more stuff. Sorry, but I can't remember right now exactly how to do it again. And I certainly don´t remember the sites holding the info. It was several forum posts. In different forums...
@BrutalCoding
@BrutalCoding 11 ай бұрын
Love this reply. Could've been my words hahaha. We all know that feeling@@nilssonrichard
@nilssonrichard
@nilssonrichard 11 ай бұрын
@@BrutalCoding Thanks! In hidsight, I should have documented the steps and procedure. Maybe something else you could have written!? ;)
@adamburgoyne8398
@adamburgoyne8398 9 ай бұрын
In this specific case of passing through a Google Coral TPU, using a VM would be worse than a LXC due to how Proxmox passes through usb ports as I've sadly recently found out. I was getting frequent USB crashes when passing through either the coral device or the usb port to a VM, turns out proxmox usb emulation can be problematic at times. Using an LXC solves the problem as it has direct access to the usb controller via the host, added benefit being decreased latency of the coral. It immediately solved my crashing device problem and have lower inference speeds too, would recommend.
@cyclemoto8744
@cyclemoto8744 11 ай бұрын
HAd never heard of Frigate so thank you. Cheers
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
You are welcome!
@scottswf238
@scottswf238 11 ай бұрын
Love it MUCH better than Blueiris!
@HunterGeophysicsAustralia
@HunterGeophysicsAustralia 4 ай бұрын
If you have a permission error when mounting the folder at 7:00, you just need to shut down the target container first. Then run the command and it should work.
@martinottolangui4667
@martinottolangui4667 3 ай бұрын
cheers , was absolutely clueless why it wasn't working
@vincentwilkes9611
@vincentwilkes9611 11 ай бұрын
Facinating thanks.
@Amsteffydam
@Amsteffydam 10 ай бұрын
Side note: You may need to preface the IP address with "HTTPS://" And the default port is 9443, it wasn't 9000 for me.
@trevorstuart3950
@trevorstuart3950 10 ай бұрын
good find
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Great tip, thanks for sharing!
@doncrn
@doncrn Ай бұрын
Thanks man!!
@HomeAutomationGuy
@HomeAutomationGuy Ай бұрын
No problem!
@fizyk1769
@fizyk1769 11 ай бұрын
That is great setup proxmox->lxc->docker I'm running such setup since last year, and on 3 locations - everything work flawlessly, even managed to use NVidia gpu for acceleration (that was pain). Nice tutorial, didn't know that there is a docker in lxc script available. I suppose for frigate which is not available from outside priviledged container is okay, but for services that you would put available from public access I would consider unpriviledged LXC. It's then separated from your proxmox host (in a way) and more secure. I did my setup on unpriviledged containers. It needed to fiddle with lxc conf files for passing through usb and gpu, but it works nice, also sub 10ms latency for frigate :)
@fizyk1769
@fizyk1769 11 ай бұрын
@@Username-qx9gk good question, two of those is managed through tailscale, as it runs on mobile internet (LTE), no other possibility at location, but tailscale is just for accessing proxmox. I have HASSIO in vms there that are exposed by Cloudflare Argo tunnels, where with Frigate proxy addon I have full access to config etc. in convenient way. 3rd instance is at my home, so fiber connection with OPNsense virtualized to handle routing, reverse proxy and local wildcard certificates. PiKVM is in my wishlist (pricey little thing)
@cobmahavishnu
@cobmahavishnu 4 ай бұрын
how did you get nvidia to pass from proxmoc>lxc> docker> frigate? i fail to get the drivers on debian working. is there some additional code to be added in the /etc/lxc/xxx? - thanks.
@fizyk1769
@fizyk1769 4 ай бұрын
@@cobmahavishnu yeah there is: # Allow cgroup access lxc.cgroup2.devices.allow: c 195:* rwm lxc.cgroup2.devices.allow: c 243:* rwm # Pass through device files lxc.mount.entry: /dev/nvidia0 dev/nvidia0 none bind,optional,create=file lxc.mount.entry: /dev/nvidiactl dev/nvidiactl none bind,optional,create=file lxc.mount.entry: /dev/nvidia-uvm dev/nvidia-uvm none bind,optional,create=file lxc.mount.entry: /dev/nvidia-modeset dev/nvidia-modeset none bind,optional,create=file lxc.mount.entry: /dev/nvidia-uvm-tools dev/nvidia-uvm-tools none bind,optional,create=file Put this in /etc/pve/lxc/xxx.conf also very important, install NVDIA driver on proxmox (you have to build driver, don't install the package), and then in LXC machine do the same build from the same file, but use --no-kernel-modules to have nvidia-smi. Hope that helps :)
@cobmahavishnu
@cobmahavishnu 4 ай бұрын
@@fizyk1769 thanks - will try. Though sorry for my ignorance what do you mean by building driver on pve and lxc? is there any link/ guide for that?
@fizyk1769
@fizyk1769 4 ай бұрын
@@cobmahavishnu hey Mate, sorry for late answer, I thought I hit reply couple of days ago. By building your own driver I meant to download the installer directly from NVIDIA site and running it, you will need couple of dependencies installed (driver will say what it needs). If you need some additional guidance, you will find lot of tutorials on YT with step by step guide :)
@andymok7945
@andymok7945 8 ай бұрын
Thanks. Wish we could install Frigate in just an LXC alone. I have enough on my plate to learn and docker is at the very bottom.
@andreaun
@andreaun 10 ай бұрын
Thanks for the tutorial. Do you think this setup is doable for a few cameras (3) without Coral TPU?
@pppaulpeter
@pppaulpeter 11 ай бұрын
Hi, thanks for you video. i am wondering why not just use Hikvision or axis camera to filter the false motion alarm since now most this funtion is done on the edge camera not the clould.
@alienJIZ1990
@alienJIZ1990 7 ай бұрын
Regarding 5:26, normally if you're using Docker you wanna enable that, but since you need to give the container Privileged access anyway due to the Coral, not sure if there's a point adding fuse-overlay so perhaps that's the right call. Normally you use that to interact with non native file systems like NTFS, but running in User Space to avoid giving it privileged access (FUSE = FileSystem in User Space).
@iankolazpitasobron1520
@iankolazpitasobron1520 10 ай бұрын
Great video as well as the other ones. They are helping me a lot!!! Justo a doubt: why is better to run frigate on docker than using the frigate lxc directly?
@HomeAutomationGuy
@HomeAutomationGuy 10 ай бұрын
I am not familiar with any Frigate LXC, so I'm not sure how this works
@jamesburgess9101
@jamesburgess9101 5 ай бұрын
I had this eact question too. So from your answer it's just that there are no install methods for Frigate that don't use Docker. Which is kind of funny since Frigate itself can't even know it's in a container, that's point of a container :-) Not a bad answer but somewhat odd, in that we're not getting anything out of this extra layer. I will go read more about Frigate and its installation. Thanks for this video, its production level is top-notch.
@ramadanmusa3116
@ramadanmusa3116 7 ай бұрын
Thank you for your informative work, i am a beginer in home assistant, i dont have an existing NVR camera system..but i want to implement one. I am stuck on how am going to connect the physical network system between NVR network and HOME ASSISTANT server
@captaindcc
@captaindcc 11 ай бұрын
In Proxmox do you still use run a server VM and inside of that docker with HA,MQTT and Portainer containers with docker compose? Good video btw, very useful im learning Proxmox right now. (This might be answered in the video you mentioned in there video)
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
No, I run Home Assistant OS inside a VM now. Frigate runs in a separate container on Proxmox and talks to HA and MQTT via the network
@captaindcc
@captaindcc 11 ай бұрын
@@HomeAutomationGuy Thanks for answering! I’ll look at your other video it probably explains more. I also put all of those files in the /opt/ dir cause of you now 😂
@the_muilu
@the_muilu 11 ай бұрын
This is great tutorial thanks! Just wishing there was a way for proxmox to recocnize if the TPU usb port changes all of a sudden. Happened me first time today after VE boot.
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
Mine has continued to work after reboots, but maybe I'm just getting lucky!
@tedev
@tedev 11 ай бұрын
how about creating an up-to-date video for face recognition using frigate?
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
I will once I figure out how to do it! Seems like Deepstack is no more and I'm not sure where to go with it. Any tips or suggestions?
@Sch0field8
@Sch0field8 11 ай бұрын
@@HomeAutomationGuy One of the frigate guys forked it and is maintaining it a bit. Also it is actually a quite simple Programm . I customised it a bit for myself to integrate an alpr… What I am still testing is what detector and model to use. Compreface for example is quite sure of it self. A bit too sure. It frequently reports twigs and other random stuff as known person with 99%. While AI Server is more precise, it seems a bit scared and reports a lot of unknown…
@Adrian-fi3kt
@Adrian-fi3kt 10 ай бұрын
Thanks for the videos, how do i save the videos to the cloud?
@piepsakul-en3qe
@piepsakul-en3qe 11 ай бұрын
Thanks!
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
Thank *you*! That's so amazing, I really appreciate this 🥰
@ajducey1868
@ajducey1868 7 ай бұрын
Thank you for this! I was floundering badly on my own. I got to the point where you used a mount point in the command. I failed on mp0. Do you have a video on mountpoints?
@andreasbuff
@andreasbuff 3 ай бұрын
you have to shutdown the container, before you issue the mount point command :-)
@wizsc
@wizsc 5 ай бұрын
well i did it... sort of its running, but it doesnt work no matter - its so much hassle!... i just want my nas to handle cameras for me : [[[[[ thanks for the video and the guide, i learned a lot
@firewall6810
@firewall6810 11 ай бұрын
great video, everythings up and running without coral (cpu). today i get my coral. connect, reboot host, reboot container, coral tpu not found, frigate is running cams no streams. any help for trouble shooting?
@31631106
@31631106 11 ай бұрын
What command would you use to add the M.2 coral to the container?
@jsantana1232
@jsantana1232 3 ай бұрын
From the Frigate installation section it has it under devices as - /dev/apex_0:/dev/apex_0 Is that correct?
@sohail579
@sohail579 7 ай бұрын
Any chance you can show us how you created the notifications you have
@Rymden2
@Rymden2 5 ай бұрын
Can you please release a video on how to update Frigate? I have followed this guide for the installation, but can't figure out how to update. Thank you.
@gerdrutten8412
@gerdrutten8412 5 ай бұрын
Hi, great video! I miss one point: Isn't it necessary to install the Coral drivers in the LXC? Best regards Gerd
@HomeAutomationGuy
@HomeAutomationGuy 5 ай бұрын
I don't remember doing that 🤔
@TomHusband
@TomHusband 7 ай бұрын
Great tutorial. I'm up and running. I did notice that I can't change the Frigate Config and have to go to config.yml to make changes to Frigate. Something about the container being created outside of Portainer doesn't allow access or maybe it's allowing read/write capability in the compose.yml file? I'm not sure but, regardless, I'm happy. Thanks!
@HomeAutomationGuy
@HomeAutomationGuy 7 ай бұрын
Thanks for sharing! Glad you got it up and running
@bobbymooreok
@bobbymooreok 11 ай бұрын
Hi Friends, Love the content; looking for some help. I can see the USB in the LXC container (Bus:001-Device:002), but not in the frigate container itself. I guess it's not the LXC config at it's presenting to the host, and the compose yaml file I assume is passing all USBs with this line: /dev/bus/usb:/dev/bus/usb. Any advice? I have also seen you can specify the device in the config.xml like this: device: usb:002 but it's not getting that far.
@user-rh6is3ib8f
@user-rh6is3ib8f 7 ай бұрын
Hello, quick question, i get the second line for the coral, do i need the first line if i am using AMD CPU (AMD Ryzen 7 5700G), with graphic?
@MrMichaeldwatson
@MrMichaeldwatson Ай бұрын
One thing to note is this only works if you’ve already downloaded the template. If you haven’t, the first script doesn’t even work.
@miroirfbm6288
@miroirfbm6288 5 ай бұрын
i follow the instructions ...successfully message came but the portainer not opening ... can you please help
@colcol83ful
@colcol83ful 4 ай бұрын
I had the same issue, looks like the script now only sets up the portainer container to forward port 9443, so ipOfYourContainer:9443. You'll have to click around the 'this certificate is busted' notice your browser will show.
@danielgozzani
@danielgozzani 11 ай бұрын
Wow... awesome! I tried that before but I couldn't pass-through my GPU and I don't have a coral so performance was bad... Questions: Why didn't you bother with GPU pass-through? Can I use this mapping command to map a NAS shared? how can I add user/password to that command line? tnx
@jovs1407
@jovs1407 3 ай бұрын
I've followed your great tutorial. Great work again. Everything is working for me except for the motion triggers in home assistant. In the zones nothing gets detected. On the frigate server itself , motion detection on the same zones works perfectly. It's only on home assistant that the created zones on the frigate server , don't detect any motion. Do you have a solution for that?
@wapphigh5250
@wapphigh5250 11 ай бұрын
This is insane! How much power is this server using processing these 4 HD streams? Thanks.
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
150W. But that's running the entire server, not just the video component
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
Sorry. 150W is for my whole rack, including server, switches, access points, a few small devices, and a UPS
@Monarchias
@Monarchias 11 ай бұрын
@@HomeAutomationGuy That is not bad. It's like 2 old lightbulbs turned on 24/7!
@DougRansom1
@DougRansom1 9 ай бұрын
Do you think Frigate could be installed on a Risc-V computer with a 4TOP NPU? That would be a huge win.
@ivlis32
@ivlis32 11 ай бұрын
You can run an unprivileged container with a USB and video acceleration passthrough, there are just additional steps to get the access rights correct. Also if your vm storage drives are on zfs you need to enable overlay on zfs otherwise your docker images will be unpacked for every layer and will consume a lot of space.
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
Interesting, I shall look into the overlay options - thank you!
@LordCoon159
@LordCoon159 11 ай бұрын
I was working on same thing, however i stoped when i figure out that there is no authentication for frigate. Are you fine that everybody on your network has access to your cameras? I think direct integration to HASS OS is more secure, because there is HASS auth at least.
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
I use firewall rules to limit the exposure on my network. But your way works just as well, thanks for sharing!
@mikedien3609
@mikedien3609 3 ай бұрын
ok, i tried frigate, the docker on proxmox way now and compared it to my running proxmox shinobi nvr but i dont find "benefits" in frigate. So If you need a reliable NVR, but don't want to run containers inside vms etc. and dont need usb tpu, because your cams like my reolinks, do the autotracking and object/person detection out of the box without any extra configuration, extra hardware etc. give shinobi a chance. my shinobi vm runs perfect on proxmox without tricks but for sure not on Pis or N100 cpus 😉
@fearthesmeag
@fearthesmeag Ай бұрын
nope, Ive been at this for almost 4 months, on and off and just cannot get it to work. I have a new Unifi g4 Doorbell, tbh, it can do a lot (animal, person, vechicle detections / zone setup - all saving to my 4tb hdd on my UDM SE - a breeze to setup. Maybe I'll give Frigate a stab again when I get a couple of g5 Bullets.
@ajducey1868
@ajducey1868 7 ай бұрын
What sort of storage are you using?
@bluesquadron593
@bluesquadron593 11 ай бұрын
Lol, almost the exact same as my process. Are you able to take backup of the lxc with the mounted external disk folder?
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
I've taken loads of backups of it. Never tried a restore though 🫣
@bluesquadron593
@bluesquadron593 11 ай бұрын
@@HomeAutomationGuy hmm. I need to look into this more. My snapshot fails to be created.
@DankoStojanovic
@DankoStojanovic 11 ай бұрын
​@@HomeAutomationGuyI am not trying to be flippant, but until you successfully restore you don't really have it
@mcaralli
@mcaralli 17 күн бұрын
After intensive research I ended up installing Home Assistant on a Virtualbox Virtual machine installed on a mini pc. Then I run Frigate as an add on in home assistant, purchase the Coral USB TPU accelerator, but unfortunately after many hours of attempts, the Coral does not work. Reading the Frigate documentation I noticed that my setup is not recommended and il likely not to work. I am not an expert nerd, but really want to get my home assistant to work with Frigate and Coral TPU. Do you know if installing Proxmox on the same mini pc and following your tutorials for setting up Frigate on the Proxmox VE will work with the Coral TPU? Thank you in advance.
@TomRoads-xh9ct
@TomRoads-xh9ct 9 ай бұрын
Do you have a copy of your automation to forward screenshots/videos to Signal messenger?
@nihilchris
@nihilchris 3 ай бұрын
Thanks for your Video!! Did you install the coral driver on pve or on the lxc? Lsusb does Not Show google inc. As a device Thanks!
@HomeAutomationGuy
@HomeAutomationGuy 3 ай бұрын
I don't believe I did. I just piped through the port to the Proxmox container which presumably has the right drivers
@nihilchris
@nihilchris 3 ай бұрын
@@HomeAutomationGuy thanks, I have no idea why this *!#! USB Accelerator does not work ☺
@DoCLov
@DoCLov 3 ай бұрын
I am having issues with passing the accelerator too. Frigate fails with `frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb` and 30 seconds later `frigate.detectors.plugins.edgetpu_tfl ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.` With a long stack trace with an exception `ValueError: Failed to load delegate from libedgetpu.so.1.0` I've installed the drivers on Proxmox itself and `lsusb` shows `Bus 002 Device 004: ID 18d1:9302 Google Inc.` on the Proxmox and inside the lxc container. When I tried to do the same from inside the frigate container I see blank next `Bus 002 Device 004: ID 18d1:9302` However what is suspicious `Bus 002 Device 001: ID 1d6b:0003 Linux 6.5.11-8-pve xhci-hcd xHCI Host Controller` inside the frigate docker container and `Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub` on the bus. I installed the driver only to be able to run a pycoral test to see if it was connecting to the host alright and it is working with that test no problem. Any clues to what I am missing?
@DoCLov
@DoCLov 3 ай бұрын
It turned out that I have `unprivileged: 1` inside the lxc file. After remove that line, everything started to work.
@sudman
@sudman 2 ай бұрын
I am able to see everything working and can log into Portainer, but when i use the same IP and go to port 5000 It does not do anything? Also, not sure how to verify that TPU is actually recognizing and working ? Any help would be greatly appreciated!
@rkbest9783
@rkbest9783 11 ай бұрын
I have a PCIe coral that i installed and want to configure it to work. How do the step differe a non usb version of the tpu for use in the LXC?
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
I don't know the answer to that I'm afraid. I've only got the USB coral set up on my system.
@mako9673
@mako9673 11 ай бұрын
Do you prefer running home assistant and your other systems on Proxmox over docker? And how so?
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
Not really, they both work as well as each other. Docker worked perfectly fine, and Proxmox is working perfectly fine. I just really like learning new things, which is why I switched it up when I moved house
@mako9673
@mako9673 11 ай бұрын
@@HomeAutomationGuy Fair enough. Thanks!
@edwinlau834
@edwinlau834 9 ай бұрын
I am concerned running Coral USB 24/7 because it doesn't have thermal throttling. People said it could get quiet hot. Does yours have any issue?
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
I've never really touched it whilst it's been operating so I've not noticed. I've been using it for almost two years now and it has been flawless.
@gambler3k
@gambler3k 9 ай бұрын
How do i update frigate in portainer? If i repull image i get error 500..
@crackdesign
@crackdesign 6 ай бұрын
In your video you're already in /data folder and mounting relative /data/cctv_clips, doesn't it end up having /data/data/cctv_clips being mounted?
@Timichaud
@Timichaud 11 ай бұрын
Didn't know about Frigate! Im using Project AI on BlueIris but it is on a Windows VM 🤢🤮 but blueiris is rock solid. I hope to see blueiris on linux or docker some times
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
I've heard good things about BlueIris, but I wanted to stick with Linux and that's when I came across Frigate.
@PorkTjop_ZA
@PorkTjop_ZA 6 ай бұрын
Thanks for this - got everything working except i can play WebRTC from the live view - Any ideas why?
@HomeAutomationGuy
@HomeAutomationGuy 6 ай бұрын
Make sure you're using a browser that supports WebRTC
@PorkTjop_ZA
@PorkTjop_ZA 6 ай бұрын
Got it eventually sorted by recreating container. Works pretty well.
@oskarma1801
@oskarma1801 5 ай бұрын
I get a Curl 7 can't connect to 127.0.0.1:5000 error in portainer and the add-on doesn't start. I have no idea how to fix it??
@sohail579
@sohail579 11 ай бұрын
Can you please do a video on the notification you showed? How did you set it up?
@EsotericArctos
@EsotericArctos 11 ай бұрын
To be honest, it likely would have been better to run up a Linux VM and run Docker inside a VM instead of under LXC. I am not sure with Frigate and performance, but I would imagine Docker would be better in a VM rather than inside another container. I haven't found any hard data on Frigate. There seems to be equal VM / LXC so I guess mileage may vary depending on how many resources you can allocate to your VM, so take this comment as just my personal preference to run it in a VM and have more granular control of the hardware resources compared to an LXC container
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
Fair points. I made an (uneducated) assumption that the VM would add more overhead than an LXC, but I honestly have no idea either. But I certainly think your method is valid.
@Megacheez
@Megacheez 11 ай бұрын
@@HomeAutomationGuy a VM does add quite a bit of overhead, simply by being up it will consume more memory than an LXC container (VM has its own kernel end such that need to be in mem!) also an LXC's resource use is more efficiently provisioned/allocated by proxmox than with a VM. Simply because what resources you allocate to an LXC is only a cap to how much it is allowed to use and not an allocation of resources to its exclusive use and the container knows its running on say a 12 core system but only is allowed 2 cores for example. Whereas with a VM the system will "think" that whatever you assigned to it is exclusively available for it. you can ofcourse over provision and use ballooning and such techniques to try and recover that allocation from a vm again but that still is more overhead than native in an LXC container. However not everything is suited for containers, especially from a security and separation standpoint running a full OS in a VM is better and more secure. but as said that does mean you need say a GB of memory for a single app in stead of just just a few hundred megs. as with all things everything is a trade off,
@gacekk87
@gacekk87 11 ай бұрын
For some reason when i paste the code from github and push enter, nothing happens. Just new line appears
@MikeRoss-zv9nm
@MikeRoss-zv9nm 5 ай бұрын
I am having the same problem, did you figure it out?
@jesperesbjerg
@jesperesbjerg 12 күн бұрын
kinda stock at 6:42, how do you do this pct set 103 (Mineis at 103) -mp0 /data/cctv_clips,mp=/cctv_clips
@cameronottosen8376
@cameronottosen8376 9 ай бұрын
Has anyone tried using the M.2 coral? I would imagine it would jive well with the docker VM setup
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Sadly not. I don't have any spare M.2 slots left. But if you try it please let me know as I'd love to hear how it went!
@kelvinfleuty6496
@kelvinfleuty6496 5 ай бұрын
How do you set dchp and dns? 4:32
@theamazinglandshark
@theamazinglandshark 11 ай бұрын
Where did you find the code for the Intel hardware acceleration?
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
On the Frigate documentation website
@haliputti
@haliputti 10 ай бұрын
How to get rw rights to config.yml file so that it can be modified straight from the frigate?
@HomeAutomationGuy
@HomeAutomationGuy 10 ай бұрын
Great automation! Thanks for sharing!
@danjones3956
@danjones3956 11 ай бұрын
How come you are using frigate vs unifi protect? Is it so you can run a wider camera choice?
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
I actually run both. Unifi protect takes care of my 24/7 recording and their app is perfect for looking at my cameras in real time, their doorbell features, and scrubbing through historical footage. Unfortunately their AI detection isn't great, and frigate does a far better job in that space. So I use Frigate to alert my phone with stills and clips for things that are recognised as important
@danjones3956
@danjones3956 11 ай бұрын
Ahh makes sense, I was thinking of something similar myself 👍 currently got Asus mesh, and eufy cameras and was thinking of going all in on unify...
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
@@danjones3956 if you're happy with what you have, then I wouldn't change.
@danjones3956
@danjones3956 11 ай бұрын
The WiFi seems to drop devices, despite being and expensive router and node with custom firmware. Then eufy is pretty unreliable 😔
@MikeRoss-zv9nm
@MikeRoss-zv9nm 5 ай бұрын
When I put the script in to create Docker LXC from the helper in the shell of proxmox, Nothing happens. Any idea what could be wrong. This is like the first step and can't get this to even work. I have a working Frigate inside HA but want to use it in an LXC under Proxmox
@MikeRoss-zv9nm
@MikeRoss-zv9nm 5 ай бұрын
Turned out I had a DNS issue, I reinstalled proxmox and set my dns. Then I was able to use helper script.
@biggjoe741
@biggjoe741 5 ай бұрын
Sorry, I am a total noob here. what would be the best/easy way to upgrade the Frigate version that is already running in my Docker portainer? running 0.12 I see 0.13.1 is the latest. I am new to docker so I apologize for my basic question.
@gambler3k
@gambler3k 5 ай бұрын
recreate the image and "repull image" in portainer ui
@ckwcfm
@ckwcfm 2 ай бұрын
any reason you didn't create the stack file in portainer?
@HomeAutomationGuy
@HomeAutomationGuy 2 ай бұрын
I don't really know all the ins and outs of Portainer, and just use it to view the stack and check the logs. I'm sure it makes a lot more sense to do it all in Portainer, but I started my Docker journey with the config files and just always stayed there.
@RLR997TT
@RLR997TT 2 ай бұрын
OK, I have Frigate via an LXC (not with Docker) but have managed to passthrough the Coral USB and mount a Proxmox hosted ZFS drive. What I can't seem to do is to get it showing in Frigate for recording.... Anyone got any ideas?
@Pbenter
@Pbenter 5 ай бұрын
I love you
@HomeAutomationGuy
@HomeAutomationGuy 5 ай бұрын
Nawww, shucks 😊
@nigelnovelo279
@nigelnovelo279 9 ай бұрын
Hi I am following your video and your guide, but I get the following after this command : root@docker-frigate:/opt# docker compose up -d no configuration file provided: not found. can you provide me some insight as to what I may be doing wrong?
@HomeAutomationGuy
@HomeAutomationGuy 9 ай бұрын
Make sure you have your docker compose configuration file in the /opt directory and that it's named correctly
@benni5541
@benni5541 8 ай бұрын
Usually there never is a "reason" to run priviliged containers other than to avoid the setup of the cgroups and user id mappings. And yes its tiresome but woth it for security related containers.
@HomeAutomationGuy
@HomeAutomationGuy 8 ай бұрын
"Laziness" is always a reason 😂 But yes, I agree with you!
@perfect.stealth
@perfect.stealth 29 күн бұрын
Did i misunderstand docker and lxc? Im pretty sure they're kind of trying to do the same: containerization (not even sure thats a word). Just seems stupid to run 2 containers to run Frigate on Proxmox. Would be awesome if an LXC template existed with Frigate manually installed.
@HomeAutomationGuy
@HomeAutomationGuy 28 күн бұрын
I agree, it sure is stupid. But it's the only way I could get it to work
@perfect.stealth
@perfect.stealth 28 күн бұрын
@@HomeAutomationGuy does it have any impact on performance?
@theamazinglandshark
@theamazinglandshark 5 ай бұрын
how would you go about updating frigate in this setup?
@HomeAutomationGuy
@HomeAutomationGuy 5 ай бұрын
You can SSH into the docker PVE and run docker compose pull docker compose up --force-recreate --build -d docker image prune -f
@theamazinglandshark
@theamazinglandshark 5 ай бұрын
@@HomeAutomationGuy I really appreciate you responding. I usually never get responses, especially on 6 month old videos. Thank you so much!
@HomeAutomationGuy
@HomeAutomationGuy 5 ай бұрын
No problem at all! All part of your friendly neighborhood Home Automation Guy service. I hope it helped!
@Bruno-vz8vk
@Bruno-vz8vk Ай бұрын
I tried multiple time, no frigate screen in the end...
@lpdescamps
@lpdescamps 11 ай бұрын
why not running frigate as add-ons in home assistant?
@ivlis32
@ivlis32 11 ай бұрын
Because way less control on how you do things.
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
As @blochtheorem mentioned, it helps give me control and separates my services out
@lpdescamps
@lpdescamps 11 ай бұрын
Brilliant! Thanks
@MikeRoss-zv9nm
@MikeRoss-zv9nm 5 ай бұрын
I keep getting an error in logs when starting to run [Errno 30] Read-only file system: '/config/model_cache'. then it stops all services. Do you know how I can resolve this?
@HomeAutomationGuy
@HomeAutomationGuy 5 ай бұрын
Try removing the :ro from the docker compose file mappings
@MikeRoss-zv9nm
@MikeRoss-zv9nm 5 ай бұрын
@@HomeAutomationGuy Thanks for getting back to me. I found this same answer in the Installation Frigate Proxmox discussion. I also had errors with it not detecting USB coral device, but I got that figured out as well. I had to reboot my whole proxmox. Everything is running great. Something I have wanted to do for a very long time. I spent 3 days working on this as I am a noob with linux. But pushed through and now I got it. Thanks a million.
@HomeAutomationGuy
@HomeAutomationGuy 5 ай бұрын
@@MikeRoss-zv9nm It took me about the same amount of time as I'm a linux noob too!
@TomHusband
@TomHusband 2 ай бұрын
Something in Proxmox must have changed as I had Frigate running great in a previous install but this time I get the [Errno 30] Read-only file system: '/config/model_cache error. I removed the :ro but nothing changed. There doesn't seem to be much I can do. The Frigate folks really don't want to support the Docker/Proxmox LXC folks. Their suggestion is put it in Docker (no Proxmox)
@graham2425
@graham2425 11 ай бұрын
Best you lol do a smart home tour as you been saying you have the ultimate smart home lol
@nikopaulanne
@nikopaulanne 11 ай бұрын
Good tutorial, cudos for that. But a bit misleading title, should be "Frigate on the Docker in a Proxmox LXC". I was excited to check the video as I've been looking out how to properly have full installation of Frigate without docker on LXC on my Proxmox cluster. 😀This video did not help as it is one more docker tutorial for Frigate.
@RobertusWE
@RobertusWE 10 ай бұрын
@Home Automation Guy , create a video where you explain, how to save in cloud, like a folder mounted in google drive, an mp4 from an event. So an API to create an mp4 from an event in frigate, and it is in frigate docs, but there isn't any info about an automation, to put this mp4 created, into a mount folder in cloud. is useless keep these data in local, a thief can destroy very quickly and you can't have any proof... I don't understand why in internet there isn't any people in the world, that do that. The hard part isn't to create mp4, there is an API in frigate, but is to create an automation, that create the mp4 from an event from API, that rename this with name of camera, data and hour ( because api create al ways clip.mp4, so in this way overwrite everytime ), and then save this mp4 into a folder where is mounted a for example google drive. So you have in local and in cloud, and this way is pretty SAFE, imho, not only in local. I hope that you can do this important tutorial.
@z1haze
@z1haze 3 ай бұрын
Why wouldn't you just install frigate directly as an LXC? What is the point of the additional layer of abstraction?
@HomeAutomationGuy
@HomeAutomationGuy 3 ай бұрын
Do you mean Frigate instead of Proxmox?
@z1haze
@z1haze 3 ай бұрын
@@HomeAutomationGuy I do, sorry about that. I will edit my comment.
@HomeAutomationGuy
@HomeAutomationGuy 3 ай бұрын
This is the recommended way based on the installation documents. Frigate comes as a Docker container, it doesn't look like there's an easy way to install it outside of Docker.
@ciprian-nedelcu
@ciprian-nedelcu 11 ай бұрын
been there, done that, is not something to be done. the issue with frigate on proxmox is the fact you can not migrate frigate ct, except if you have as many corals as the number of nodes you have
@HomeAutomationGuy
@HomeAutomationGuy 11 ай бұрын
I don't use the migration or High Availability side of Proxmox, so it's not something I've personally needed to deal with.
@ciprian-nedelcu
@ciprian-nedelcu 11 ай бұрын
@@HomeAutomationGuy in that case I suppose is fine.
@paul3151
@paul3151 11 ай бұрын
If you need to restore you have manual effort again. Recommend doing a vm with this as the passthrough will automatically be restored
@allanmac0095
@allanmac0095 Ай бұрын
Portainer loads via HTTPS on port 9443. Frigate loads on HTTP port 5000. However, login to Portainer as root with password set during script fails. I can log into Proxmox LXC Console using those credentials. Also My Frigate page loads with a white background and spinning wheel. Cameras never load. I tried adding all 4 at once. I'll try just one at a time. I did verify rstp stream is correct with VLC. Anyone else have issues logging into Portainer?
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 24 МЛН
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 11 МЛН
Docker on Proxmox LXC 🚀 Zero Bloat and Pure Performance!
20:53
SmartHomeBeginner
Рет қаралды 38 М.
Don’t run Proxmox without these settings!
25:45
Christian Lempa
Рет қаралды 160 М.
Mastering Frigate Installation in Home Assistant - Part 1
24:56
The Home Automation Project
Рет қаралды 1,8 М.
Building a rack mounted proxmox server for my smart home
17:04
Home Automation Guy
Рет қаралды 92 М.
Tracking my CAT with AI!  Feat. Object Detection in Frigate and Viseron NVR
17:54
The BEST Self-Hosted CCTV Solution With AI Object Detection?
26:16
Jim's Garage
Рет қаралды 75 М.
Ditch Your Ring Subscription with Frigate and Scrypted
15:29
Technithusiast
Рет қаралды 23 М.
Don't Overlook This Slot
15:54
Hardware Haven
Рет қаралды 560 М.
EVEN MORE Free Local Object Detection with Home Assistant - Frigate Install
42:10
Everything Smart Home
Рет қаралды 194 М.
Local Security Camera Recording with Frigate NVR
13:47
Home Automation Guy
Рет қаралды 133 М.
Nika loves to eat chicken #cat #cats
0:17
Princess Nika cat
Рет қаралды 78 МЛН
Bro didn’t make it 😬😟💀 (FAKE NOT REAL) #shorts
0:19
Nate Nahhh
Рет қаралды 12 МЛН
Epic Beach Day! Digging a Massive Hole!
0:12
MELIAH & DAD (THE PONTES FAMILY)
Рет қаралды 3,7 МЛН
Я не голоден
1:00
К-Media
Рет қаралды 2,7 МЛН