Build AI camera alerts with buffered frames in Home Assistant
A smart-home tinkerer rebuilt his LLM Vision workflow to send pre-event frames to gpt-4o-mini, fixing false 'nobody there' alerts.
- Used for
- Everyday life
- Skill needed
- Low code
- Shown in video
- Partial demo
- Summary based on
- Transcript
I Already Have an NVR — Do I Really Need Frigate?
Published Oct 28, 202624:5014,174 views183 likes
What they made
AI classified his presence as time-sensitive across five cameras and sent useful notifications; hoodie test stayed time-sensitive, not critical.
15:13How they did it
- Human
Diagnosed that the stock LLM Vision blueprint started analyzing only after person detection, so the AI often saw empty frames.
Creator-reported - Human
Enabled stream preloading on six powered Reolink cameras and used camera.record with 10s lookback and 10s duration to capture a buffered MP4.
Creator-reported · Home Assistant camera.record - AI
LLM Vision selected up to five motion-focused frames at 1280px and sent them with a structured prompt to gpt-4o-mini for title, description, and importance.
Creator-reported · LLM Vision + OpenAI gpt-4o-mini - Human13:22
Rewrote the prompt so anyone on private property is at least time-sensitive, and moved occupancy context into Home Assistant to stop the model claiming the house was empty.
Stated in video - AI + human16:44
Home Assistant ignored normal events, added time-sensitive ones to the timeline and phone notifications, and used a separate urgent channel for critical events.
Stated in video · Home Assistant automation
What you can reuse
- Buffer video before the detection trigger so the vision model sees the person, not an empty scene.
- Give the model explicit occupancy states from Home Assistant instead of raw sensor values it may misread.
- Treat AI descriptions as interpretations, not facts, and keep a cooldown to avoid duplicate alerts.
Trade-offs
- Recording step took about 11 seconds and LLM Vision about 4 more, so alerts are not instant.
- Fixed temp filename overwrites previous clips and overlapping events need extra care.
- A 2m30s cooldown can suppress analysis of other events.
- No monthly API cost figure was collected; cloud images leave the local network.
- AI misread a backyard walk as benign and once claimed the house was empty while occupied.
AI-generated case summaries can contain mistakes. Report an error



