Frigate as a Selora service
10 min Read in this browser
You will be able to
- Explain what Frigate does on a Selora Hub
- Tell what runs on the Hub from what leaves the house
- Know which settings Selora manages, which are yours, and which are the homeowner's
Frigate is the recorder Selora runs on the Hub: it records the cameras and detects people, vehicles and animals in what they see, on the Hub itself. Selora installs it, keeps it up to date and connects it to Home Assistant; the installer chooses the cameras and sets them up. This lesson explains who does what, and where the pictures go.
What Frigate does
Frigate reads each camera's streams, and for each one:
- Looks for motion on the sub stream, cheaply.
- Runs object detection where something moved: a model on the Hub's graphics chip says "person", "car", "dog".
- Tracks each object across frames, and decides whether it is worth an alert.
- Records the main stream around what it found, and keeps a snapshot.
The Frigate integration brings each camera, its switches and a sensor per tracked object into Home Assistant, so automations can react to a person on the driveway. Selora AI reads Frigate's events, so the homeowner can ask what the cameras saw.
What stays in the house
Everything Frigate does runs on the Hub: recording, detection, face recognition and semantic search. The video, the faces and the search index never leave the house.
One feature is different. Camera descriptions send pictures of the people and vehicles a camera sees to Selora AI Cloud, where a model writes a sentence about each one. It is off on every camera until the homeowner says yes to that camera.
This is the sentence a homeowner needs from you, and the one they will remember: the cameras are watched in your house; only the cameras you choose for descriptions send pictures out, to be described.
Three owners
Frigate's settings have three owners, and knowing which is which saves you a support call.
Selora, through the Hub. The Hub writes some settings back every time it checks Frigate: the detector and its model, the video processing (ffmpeg) path, the MQTT connection to Home Assistant, and the camera descriptions provider. They depend on the Hub's hardware and on Selora's services. Change one in Frigate and the Hub puts it back.
You, the installer. Cameras, their streams, what each one tracks, motion masks, zones, recording retention and the extra features (license plates, audio). These are the job.
The homeowner. Some choices are theirs, because they are about their household's privacy or their money:
- Face recognition: who is recognized, and with which photos.
- Camera descriptions: which cameras send pictures out.
- Use top-up credits: whether descriptions may spend the credits they bought. Only the homeowner can turn it on.
Walk them through these. Don't decide for them, even when they ask you to: explain, then let them say yes.
Frigate
The open-source recorder Selora runs on the Hub. It records the cameras and detects people, vehicles and animals in what they see, locally.
Sub stream
The camera's second, smaller stream of the same picture, such as 640×480 at 5 fps. Frigate detects on it, which costs a fraction of the main stream.
Object detection
A model that finds and labels things in a picture: "person", "car", "dog". Frigate runs it on the Hub's graphics chip, only where something moved.
Main stream
A camera's full-resolution stream, at a high bitrate. Frigate records it.
Integration
The part of Home Assistant that connects one brand or protocol, such as Sonos, Lutron Caséta or Frigate, and brings its devices in.
Semantic search
Searching what the cameras saw in plain words, such as "a red car". It runs on the Hub, matching the words against the pictures and any descriptions.
Camera descriptions
Sentences such as "a white van on the driveway", written for each person or vehicle a camera tracks. Pictures are sent to Selora AI Cloud to be described, only from cameras the homeowner turned it on for.
Selora AI Cloud
Selora AI's cloud service, which answers when Selora AI doesn't run on the Hub, and writes camera descriptions. It uses the home's Selora AI credits.
MQTT
A lightweight messaging protocol. Devices and services publish messages to a broker, which passes them to whoever subscribed: Frigate tells Home Assistant what it detects this way.
Motion mask
An area of a camera's picture where Frigate ignores motion, such as the clock or the sky. Mask only what moves for no reason, or people standing there go unnoticed.
Face recognition
Frigate matching the face of a person it detects against photos of the household. It runs on the Hub: no face leaves the house.
Go further on selorahomes.com
What you read is saved in this browser only. Sign in to keep it in your account, take the quizzes and get certified.
This lesson by Selora Homes is licensed CC BY 4.0 : share and adapt it, even commercially, crediting Selora Homes with a link. Photos by others keep their own licences, as credited.