140 lines
4.2 KiB
Markdown
140 lines
4.2 KiB
Markdown
---
|
|
title: Frigate NVR
|
|
created: 2026-06-08
|
|
updated: 2026-06-08
|
|
type: app
|
|
tags: [catalogue, nvr, app-marathon-batch-c, ai, coral]
|
|
confidence: high
|
|
contested: false
|
|
sources: [https://selfh.st/apps/?tag=NVR&app=frigate, https://frigate.video/]
|
|
---
|
|
|
|
# 📹 Frigate NVR
|
|
|
|
> **NVR nouvelle génération avec AI native** : détection d'objets (personnes, voitures, animaux) via Coral TPU ou GPU, interface Lovelace Home Assistant.
|
|
|
|
## 📋 Informations Générales
|
|
|
|
| Champ | Valeur |
|
|
| :--- | :--- |
|
|
| **Site web** | [frigate.video](https://frigate.video/) |
|
|
| **GitHub** | [blakeblackshear/frigate](https://github.com/blakeblackshear/frigate) |
|
|
| **License** | MIT |
|
|
| **Langage** | Python |
|
|
| **Étoiles GitHub** | 24k ⭐ |
|
|
| **Catégorie** | [[cat-nvr\|NVR]] |
|
|
|
|
## 📝 Description
|
|
|
|
**Frigate** est le **NVR moderne de référence** pour Home Assistant, avec **détection d'objets IA** embarquée.
|
|
|
|
- ✅ **AI detection native** : personnes, voitures, camions, animaux, colis (YOLOv8, MobileNet)
|
|
- ✅ **Coral TPU** : accélération hardware, faible CPU
|
|
- ✅ **GPU optionnel** : NVIDIA, OpenVINO, Hailo
|
|
- ✅ **RTSP / HLS / WebRTC** : ingestion multi-caméras
|
|
- ✅ **Détection par zone** : filtrer zones d'alerte
|
|
- ✅ **Timelapse** : timelapse auto
|
|
- ✅ **Integration HASS** : native, dashboard Lovelace dédié
|
|
- ✅ **MQTT** : publie événements sur broker
|
|
- ✅ **API REST** : consultation events, clips
|
|
- ✅ **Réduisez les fausses alertes** : masque végétaux, etc.
|
|
|
|
**Différence vs ZoneMinder** : Frigate = AI-first, GPU/Coral, intégration HASS profonde. ZoneMinder = mature, CPU, généraliste. Pour qui: utilisateurs avec **Home Assistant** et **matériel AI** (Coral USB ~60$).
|
|
|
|
## 🚀 Installation
|
|
|
|
### Docker Compose (avec Coral TPU USB)
|
|
|
|
```yaml
|
|
version: '3.8'
|
|
services:
|
|
frigate:
|
|
image: ghcr.io/blakeblackshear/frigate:stable
|
|
container_name: frigate
|
|
restart: unless-stopped
|
|
privileged: true
|
|
shm_size: '4gb' # nécessaire pour Coral
|
|
devices:
|
|
- /dev/bus/usb:/dev/bus/usb # Coral USB
|
|
- /dev/dri/renderD128:/dev/dri/renderD128 # GPU optionnel
|
|
volumes:
|
|
- ./frigate_config:/config
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- frigate_storage:/media/frigate
|
|
- type: tmpfs
|
|
target: /tmp/cache
|
|
tmpfs:
|
|
size: 1g
|
|
ports:
|
|
- 5000:5000 # Web UI
|
|
- 8554:8554 # RTSP
|
|
- 8555:8555/tcp # WebRTC
|
|
- 8555:8555/udp # WebRTC
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.frigate.rule=Host(`frigate.example.com`)"
|
|
- "traefik.http.routers.frigate.entrypoints=websecure"
|
|
- "traefik.http.routers.frigate.tls.certresolver=letsencrypt"
|
|
|
|
volumes:
|
|
frigate_storage:
|
|
```
|
|
|
|
### Configuration minimale `config/config.yml`
|
|
|
|
```yaml
|
|
mqtt:
|
|
host: mqtt://vernemq
|
|
user: vernemq
|
|
password: changeme
|
|
|
|
cameras:
|
|
front_door:
|
|
ffmpeg:
|
|
inputs:
|
|
- path: rtsp://user:pass@192.168.1.100/stream1
|
|
roles:
|
|
- detect
|
|
- record
|
|
detect:
|
|
width: 1280
|
|
height: 720
|
|
fps: 5
|
|
```
|
|
|
|
## 🔄 Alternatives
|
|
|
|
### Open Source
|
|
- [[app-zoneminder]] — Vétéran stable
|
|
- [[app-shinobi]] — NVR Node.js multi-tenant
|
|
- [[app-viseron]] — NVR Python simple
|
|
- [[app-scrypted]] — Hub unifié
|
|
- [[app-unblink]] — NVR simple
|
|
- [[app-blue-iris]] — Référence Windows (propriétaire)
|
|
|
|
### Propriétaires
|
|
- **Blue Iris** — Référence Windows, ~70$
|
|
- **Synology Surveillance Station** — Inclus NAS
|
|
- **Hikvision iVMS** — Cloud
|
|
- **Nest Aware** — Cloud Google
|
|
|
|
## 🔐 Sécurité
|
|
- **Auth intégrée** : login/mot de passe
|
|
- **HTTPS** : obligatoire via Traefik
|
|
- **Pas de 2FA** : à compenser via Authelia
|
|
- **RTSP exposé** : protéger par mot de passe caméra + VLAN
|
|
- **Coral USB** : device matériel, pas de remote exploit
|
|
- **Backups** : snapshot du volume config indispensable
|
|
|
|
## 📚 Ressources
|
|
- [Documentation officielle](https://frigate.video/docs/)
|
|
- [GitHub](https://github.com/blakeblackshear/frigate)
|
|
- [Discord communauté](https://discord.gg/frigate)
|
|
|
|
## Pages Liées
|
|
- [[cat-nvr]] — Catégorie NVR
|
|
- [[app-home-assistant]] — Intégration native
|
|
- [[app-zoneminder]] — Concurrent historique
|
|
- [[recettes-docker-compose]] — Templates Docker
|
|
- [[coral-tpu-guide]] — Setup hardware
|