What's up guys, hope you enjoy this video, sorry it was so long I wanted to make sure I covered all the essentials! I am excited to start using Frigate in my own setup! What plans do you have? Remember if you want to check out Skillshare, the first 1000 people to use the link will get a free trial of Skillshare Premium Membership: skl.sh/everythingsmarthome04211
Nice video as always. I personnaly use Shinobi (shinobi.video/), it's really easy to set up, there is no Home Assistant integration, but it uses MQTT as well.
Awesome video, everything was crystal clear. I'm definitely going to be using this. One thing of concern though, the recordings are saved on the OS drive of the machine. Would it be possible for you to explain (or maybe you have somewhere else?) how to move the recordings to say an external USB drive?
Just wanted to clarify that frigate does not require an RTSP camera. It is running ffmpeg for reading video feeds, so it can ingest any video source supported by ffmpeg, which is just about everything imaginable. The ffmpeg parameters are tuned for an RTSP feed, but you can modify them as needed in the config for mjpeg, HLS, etc.
Hey Blake, thanks for the amazing work you've done and also for clarifying that, that's great to know and definitely could be useful. Thanks again for all your hard work
I could not get it to work at all with mjpeg stream and judging from the numerous issues raised online - I'm not the only one. Frigate just doesn't recognize the stream. There are other setups besides rtsp mentioned in documentation, yes, but have you actually managed to get frigate working with mjpeg streams?
Excellent material.. Among the burgeoning masses of IoT/Home Assistant/Home Automation RU-vidrs, you do stand out with your excellent delivery - very listenable. With some presenters, I sometimes find I am forcing myself to stay watching to get the information. In your case, you nail it!
3 years later this was still a great guide to get Frigate setup. Thanks Lewis :) For those who are struggling to find the correct host name (@18:18) check under: Settings, Addons, Frigate, it shows the host name there. =)
Great video! I had a few questions after getting Frigate up and running. I went back and watched you video again and my questions were answered! Frigate is well worth the effort.
Yes.... i am also an object detection guy. Start with motion sensor, hp wifi mac address sniffer and last weekend after 5 months you upload the tensorflow n doods video, i manage to complete the project. Thank for your videos...
Hey Lewis, if you love dark mode (as I do too) why don’t you change Visual Studio Code to dark mode too? Open it > gears icon for settings in bottom left > Color theme 😉 Now I’m going to finish watching the video 😄
Woooohoooo! bought my Google Coral some months ago but was not able to get it working. Epic video! thanks a lot for detailed instructions - followed step by step and got it instantly working on hass!
Excellent video very well made clear/concise. Frigate is now the weapon of choice for my CCTV/HA. Now, onto NODE RED??? come on... you know you want to...
Great video! The one thing I got stuck on was the actual coral driver install, but your advice of looking at logs helped me get to bottom of that - thanks!!
hey there! can you explain how you installed the google coral drivers? am trying to do it on the same machine running home assistant but following the official coral documentation doesn't seem to work
FYI Coral usb is now available to PiHut. I know it has been a while since the release of the video but I thought I should give you a head up. I just purchased mine and I came back to check your video.
My man! Your a legend! Haven't been able to get one still and I've been checking quite frequently, looked yesterday and didn't have any but managed to order one this second! Thanks again!
@@EverythingSmartHome Anytime mate! Just keep up with all those great videos! I remembered that you were after one so I thought I should give you a shout. Thankfully I set an email notification when Coral becomes available..
Ha, turns out I too had alerts setup from Pi hut, I got an email from them 10 minutes after I ordered saying it was back in stock, there system must have took a bit of time to send the emails 😂
@@EverythingSmartHome Ha, same here I forgot that I had it on but I am glad that this worked tbh. I was ready to purchase Blue Iris license and go down the Deepstack road. But if frigate person/vehicle detection works with HA I think I will keep it this configuration and I will buy a Reolink NVR for 24/7 recording.
Hey again, thanks a lot for covering this. I think I’ll need to rewatch previous videos on Doods and Deepstack when I’ll finaly get to my cameras installation, but honestly now I’m thinking about not using Blue Iris with DeepStack as I intended before this video but actually use Frigate for everything. If I understood you correctly at the end of the video, you’re aiming the same? If yes, I would love to see a demo how you end up in real life with Frigate (or anything else) with actionable notifications, alarms with live video to phone and also retrospective search for some event at desktop and phone too. Cheers!
I forgot to mention that I have the same Reolink 4k camera as you already reviewed. So saving full footage of 5-6 cameras would be a storage killer. So I’m thinking about storing a full 720p stream and clips in 4k. How does this sound to you?
Great video again, good job. I don't mind having something that is difficult to setup. I want something advanced. Also, both of my neighbors are pretty active at Friday and Saturday night and I don't want to spend to much storage on them. What setup do you recommend me to go for? Frigate, Doods, Deep stack, or something I haven't mentioned? What camera do you recommend me to buy? I was thinking about a Reolink as they're pretty cheap for a good quality. Now I see you use a Pi cam. What's the best, small, high quality footage option? Also, how do I control a relay (for a floodlight) if a motion is detected in the zone you set?
One optimization i did was enabling dual RTSP feeds from all my cams a 1080p for clips and a 640*360 for detection. Default AI tensor flow have been trained on 300x300 anyway and the instructions says it will compress the RTSP feed down so any larger feed just seems wastefull. I started using a 1080p for detection and clips, so my whole CPU usage was at 68-70% on my synology. Changed it so detection used a 640*360 feed and clips used the 1920*1080 feed, this way i lowered my overall idle cpu usage to 7%.
Thanks for another great video, your videos regarding anything HA, have to be the best out there. I would really love to see a follow up video to this showing how to setup IOS notifications with picture attachments and or url's to camera live or recording. I have read the documentation from frigate and HA and fail to get it to work correctly. Keep up the good work
Thanks, really appreciate it! I've already done a full iOS and Android notification video not long after this one which has everything you are asking for!
Thanks! Maybe you could do your perspective in which tech is better? frigate vs doods vs blue iris/deepstack - LIKE the full comparison! I'm really in doubt which one to use! Thanks again my friend. Cheers from brazil!
Thanks for the wonderful instruction, very easy to follow! But I stumbled upon the camera setup on the other pi. Is there another video where we can see how to setup the rtsp feed and get the camera address?
Super nice video. I have it running with HA in Proxmox. Quistion.... I want to store te record files on a extern USB drive otherwise the drive where HA is running on is in a sort time compleet full. Is there a possibility to use the Media folder from HA on a extern drive ?
Great video and very well explained, saved me quite some time. Thank You! It seems that you use a PI with a raspicam as input stream to demonstrate. If so, how did you manage to convert this ffmpeg (what seems to be required according to the docs)? I managed to use raspivid and pipe this to vlc and rtsp, but frigate shows an error and complains its needs a valid ffmpeg format. Thank you in advance.
Hi Mate, finally got down to re-watching this and getting it all setup. Works like a charm, still waiting on my Google Coral to arrive but works great on the i5 & 8GB ram PC. I have a question, using this as a NVR will take up HDD space, so is there a way to have the clips and recordings save on a external mounted HDD which would then allow for a 2TB or greater HDD to be used
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
Amazing video and top notch instructions as usual. Surprised there's not a packages model. Would be cool to be notified when an amazon package has arrived :D
fantastic! thanks for your continued efforts, certainly help with my learning curve. My goal is to use firgate to switch on security lights in place of having to install PIR detectors.... next chapter in the discovery of Home Assistant...
thanks again! a question.. im moving to a house.. looking for cameras and the reolink looks great.. due the constrain of chips its dif to get a coral.. its really needed to have a good frigate system?
You talked about the Google Coral in this video. Is the stick mainly for running object detection or is it also capable of doing face recognition? I plan on doing a setup for face recognition and my server hardware isn't the best.
Thank you for introducing Frigate. I noticed your Displaying Speed (at Camera Dashboard) is 5fps, which is what I'm getting too. Just wondering if there is a way to set/improve this speed. I couldn't find anywhere in the docs to set this speed. Thanks again.
Great tutorial! It took me a while to set up a rstp stream. Eventually I had to open a port (8554) on the raspberry pi to stream the video to the raspberry pi where home assistant is installed. I'm using frigate now to analyse the traffic in my street. I was wondering where the images and data is stored so I could copy them and use them in a deeper analysis?
Thanks for your great tutorial. Min 12:26 I cannot see a clear video as you do. I only see gray and green lines. I tested in HA VM running with Proxomox and with a raspberry pi 4 with HA - OS IF I add the RTSP video path as video card with a Lovelace it works but not for motion detection.
Awesome tutorial man !! Thanks for sharing! Qq: Would it be possible to use Frigate with an Intel Neural stick rather than the Coral one in a RPi4 ? All coral ai products are sold out everywhere!
I got frigate working great, just in time for my camera to die :( now to play the warranty game! I also have had zero luck finding a Coral, they're pure unobtainium! Frigate can handle the one camera on the CPU, but my end goal is 4 total cameras, and that seems like an issue without an edge TPU, I just wish there was some hope of actually finding one!
OK - nice rabbit hole. I think i'm sold. Question: at 27:50 you show snapshots => bounding_box -> True, and i'm not seeing a bounding box on your recording at 32:00
Any particular reason why other frigate install wouldn't show the options below camera at 14:42 it does for you. Nothing at all in my case no bounding box, no timestamp, nothing at all :) Another Awesome Video, no doubt.
I think the version of Frigate in this video has a few differences from the newer versions. I was able to find those options by clicking the Debug > Selected my camera from the list> switched from live to Debug> Show options is now showing on the screen!
Allready one year ! Did you managed to find a coral since last year? One big problem for me is to archive clips on a nas with frigate installed like this. Do you still uses frigate one year after ?
can you please share a good network security structure for smart home, i know you are a network engineer, and I'm confused on how Should i separate my iot devices from my local nvr from the nas , your help is really appreciated.
hey cool video, Hey, cool work you do here. I am from Europe. And like most from the German-speaking area, I use ioBroker. I have now created a VM with Home Assistant and am currently looking at the whole thing. Powerful tool! But I totally miss Blockly :( That is also the reason why I have not yet made the change. And let all my technology (Homematic IP Wired) still run on CCU / Raspberrymatic and ioBroker. But this video with Frigade convinced me very much, uninstalled Shinobi a few days ago .... The interface was just too ugly for me. I hope Blockly is still coming. And I still have one question, is it possible to set Frigade so that it only records, when the door contact is triggered/open. With Pre/Post Record.
Just Order my Coral AI stick From RS the best price @ AUD$95.19 inc GST and Shipping That I have found in Australia and due to ship on 14/6/21 Keep up with the great Video
Love the vids dude. If I could make a request, could you do one on how to set up some Zigbee(?) smart plugs with Home Assistant on a Pi? Sorry if you already have, or if there's good documentation on this, I just can't find it!
Super Videos. Well explained. demand. I have a Hikvision DS-2CD2722FWD-IZS. Can I use this camera with Frigate? I am an enthusiastic Home Assistant user from 66 years old and I have learn a lot of your Tutorials. Yhanks again.
Hi, Great video! I was able to get everything up and running. I also was able to find a usb coral for my raspberry pi and it has made a large difference with the speed. I have question about actionable notifications. I see in the documentation there is a way to get an image to show up in the notification but I am struggling to use the correct url. I can't seem to get the images from my media browser to show up in my notification. Please let me know. Thanks for all the great videos!
Great video! 2questions: is it possible to only record clips on certain zones?if so can you share yaml code? Is it possible to save the clips to an dedicated drive/external hdd connected to my home assistant device (intel nuc, ubuntu 20.04.2 LTS? Thanks!
Oh and one thing! At the beginning you mentioned mqtt as one of the prerequisites but I didn’t see where you used it then since you used HACS plugin which seems to use API and not mqtt?
I know you said you used a cpu but which one was it and did you limit the fps? I'm wondering as the fps is quite low for just 1 cam.. What if there's 12 haha
So apparently to use the coral USB, you need to install Edge TPU runtime and the PyCoral library on your machine, but I don’t think that’s possible using has.io. Am I wrong?
Yeah, i tried that initially would, maybe it works on the rp, setting the detector to edgetpu instead of cpu fails to find it. It also doesn’t show up when you check the Hardwawre. Interestingly you can’t use esphome connected to the odroid either. Maybe it’s a hardware limitation.
I've followed this and other guides to the letter and i still cant get this to work. Frigate is the most obnoxious home assistant add on to exist. Kudos to the excellent presentation though. I'm sure it was right at some time!
G'day Lewis. Is there any way to use a camera entity (such as camera.front_door) in the frigate.yml? or does it only support rtsp streams? I've got a Nest Door bell now integrated as a camera in HA that I'd love to use with frigate!
Thanks for another excellent video. I’m try to setup recognition with DeepStack. Have you considered doods or frigate as the trigger event to send the image to DeepStack? I know this would be processor intensive but I was just curious.
Do you know how I can use maybe something like Node-RED to send out a notification and user inputs for if 'Y' then save the video forever? Maybe I have to use another datastore?
What pci-e adapter do you need for the non-usb coral models? G650-06076-01 looks awesome with 2 chips, but what adapter works to get it plugged into a regular pci-e slot?
From doing some research the M.2 A+E is a M.2 for WiFi adapters, typically on laptops. I'm guessing this won't work on most PCI Express to M.2. These are M.2 SATA adapters for storage. There are some cards that are for M.2 A+E, they seem kind of weird for this purpose, as they have antennas. They do have the correct slot. Search for M.2 Wireless Card to PCI-e. That's my best guess.
So are all of these configurations on a per camera basis? I have 4 cameras and I was wanting to track 4 different objects on all 4 cameras. Is there a way to do global options? Also I am having issues getting clips and snapshots into my notifications. I am using Frigate in a separate docker outside of Home Assistant. I have the snapshots working locally but when I am out of the house no image but I get the message of the notifications.
@@pavolholes A old Dell R710. Dual cpu, x5675. Unraid server, just home assistant in a VM and frigate in Docker, running and cpu fluctuating between 6 and 14% Edit, these CPU’s are old and don’t have much of the hardware acceleration that newer CPU’s have!
This is brilliant thanks. I have 1 camera working but can't seem to ass a second. I thought you would just define another camera under cameras but it gives me an error.
I'm running HA as a Proxmox VM on an older Intel NUC without an M2 slot. I'm thinking about getting an Mini PCIe Coral and using the WiFi Mini PCIe slot. Hopefully, I can pass-through the mini PCIe to the HA VM.
Have you made any progress on this Robert? I've got a similar setup but can't get it working as yet. I'm running a 8th gen i3 NUC with an M2 slot though.
@@nickchandler1389 I have successfully gotten it working doing pass-through of the Corel Edge PCIe to a VM. I have not been successful at doing a pass-through to an LXC. Information out there is all geared toward pass-through of GPUs, which is helpful, but not the same. I did get Frigate working using the edgetpu. The detection time was running about 9.5-11 ms. The CPU utilization was around 20-30% with two cameras setup for object detection.
@@rdebritto1 With an M2 Coral installed, I have followed these instructions: www.reddit.com/r/Proxmox/comments/n34f8q/proxmox_vm_ubuntu_2004_frigate_2x_google_coral_tpu/ Using HA OS6 (currently in dev version) I have 2 Reolink cameras (low resolution stream) using less than 3% of the CPU with motion detection enabled. Works amazingly well. Steps: 1. TPU passthrough to VM as per link 2. Install HA OS6 which includes drivers for TPU 3. Install and configure Frigate as per this video and you will be away!
Can I also use Frigate for 24/7 recording? I'm thinking of ditching my Synology solution and go for a Coral TPU on my server and use Frigate with it, but I also want to use a proper NVR. With my Synology right now I can go back in time to any day and any time I want with an easy UI. Does that exist in Frigate, or is it just a fancy object detection tool?
@@EverythingSmartHome Thanks! That sounds interesting. I might try out Frigate now. Can I also disable the detection to just use it for recording? I'll buy the Coral later to do that then.
Is it possible to run the frigate on our custom object detection models because I want frigate detect the objects which are not there in labelmap.txt file.
Thanks for the video, I tried putting few of the values (like mqtt username and password) in the secrets.yaml file but seems like frigate.yml cannot read the values from secrets.yaml file.
It's always doing detection since it runs constantly (unlike Deepstack which runs on demand) so there will be an increased load unless using something like the Coral
@@EverythingSmartHome Thank you! The guy who developed it uses it for room based presence detection. Since you already have all the components set-up it might be an easy to implement solution.
@@pavolholes Hey Pavol, it can be used for many things. The problem with frigate is that it doesn’t recognizes faces, but it detects people continuously. The problem with deep stack is that it recognizes faces but it doesn’t run continuously. Additionally, even if you could trigger deep stack upon motion event or person detected, there is no guarantee that the frame pulled will have a good view of the face. Double Take aims to solve this issue. When frigate senses a person it passes a frame to deep stack automatically. If no face is detected, it will keep passing frames till a max limit is reached or a face is recognized (whichever comes first). The developer of the project seems to be super open to helping people out and adding new features. You should definitely check it out.
@@bobsmieth3485 Hey Bob, ahaaaa, thanks a lot for explanation. I see the struggle now and also the solution to it. Yet, I don’t believe facial recognition without some more advanced technologies like Apple have in iPhones (lidar, infrared etc.). So either one (Frigate or DeepStack) will be sufficient for me, yet. But I definitelly don’t say I won’t come to this one day 😁 Anyway thanks a lot 🙏🏻