MENU

Fun & Interesting

Self Hosted CCTV System w/ AI Object Detection (Frigate + Docker)

Madhu 10,489 lượt xem 6 months ago
Video Not Working? Fix It Now

Frigate is Self Hosted NVR (Network Video Recorder) which you can set up in Docker to monitor your cameras with AI object detection. I will show you how to set it up, and set up home assistant for mobile notifications. All links mentioned in the video are down below.

Frigate Compose Config - https://docs.frigate.video/frigate/installation#docker
GPU & HA & MQTT Compose Config - https://github.com/MK575/frigate/blob/main/compose.yml
For Nvidia GPU support:
Windows: Download latest Nvidia driver with Geforce Now
Linux: Install the nvidia container toolkit and the driver

MQTT setup command - echo -e "allow_anonymous true\nlistener 1883 0.0.0.0" (angled bracket) mosquitto/config/mosquitto.conf
YouTube doesn't allow angled brackets in the description so replace the the parenthesis with what's shown in the video

Frigate Camera Config - https://github.com/MK575/frigate/blob/main/config.yml

Frigate notifications blueprint - https://community.home-assistant.io/t/frigate-mobile-app-notifications-2-0/559732

Use a Phone as a security camera:
- ios https://apps.apple.com/us/app/ip-camera-lite/id1013455241
- android https://play.google.com/store/apps/details?id=com.toysoft.rtspserverpro&pcampaignid=web_share

Subscribe to see more server related content!
♫ Music - Marshmallow Prod. by LuKremBo: https://youtu.be/OC4J5ZnivtY
♫ Outro Music - Herbal Tea by Artificial.Music: https://youtu.be/c47zK-Ws5mE

My Website - https://madhukraft.com
Socials - https://madhukraft.com/socials
Insta - https://instagram.com/MadhuKraft
Twitter - https://twitter.com/MadhuKraft
Discord Server - https://discord.gg/AVHx8Zc
Merch - https://teespring.com/stores/madhukraft

Docker Playlist: https://youtube.com/playlist?list=PLWAyqycASexSxsd_ukk0epXFoCWV4656r

Timestamps:
0:00 Intro
0:42 Compose File
1:35 GPU/TPU/CPU Acceleration
2:08 Selecting Frigate Versions
2:48 Shared Memory Calculation
3:11 Volumes
4:27 Ports
4:55 MQTT & Home Assistant
5:55 Saving Compose File
6:07 Quick MQTT Setup
6:28 Starting up the Containers
7:04 Frigate Camera Configuration
9:56 Creating Masks/Zones
11:23 Setting up Home Assistant
16:26 Mobile Notifications

Comment