{"id":486,"date":"2026-09-22T09:10:00","date_gmt":"2026-09-22T07:10:00","guid":{"rendered":"https:\/\/www.lukaswojcik.com\/?p=486"},"modified":"2026-11-15T12:06:18","modified_gmt":"2026-11-15T11:06:18","slug":"frigate-and-home-assistant-camera-alerts-with-clear-conditions","status":"publish","type":"post","link":"https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/","title":{"rendered":"Frigate and Home Assistant: Camera Alerts with Clear Conditions"},"content":{"rendered":"<p>Frigate can identify objects such as people in camera footage. Home Assistant can turn a detection into a notification, for example for driveway activity at night. An object label establishes neither unauthorized access nor a burglary. A high detection score does not eliminate false alarms.<\/p>\n<p>This guide starts with a notification whose conditions can be checked. It requires a running Frigate installation, Home Assistant, a shared MQTT broker and a configured Companion App. Camera, zone and notification-service names must match the installation.<\/p>\n<figure class=\"lw-diagram\"><img decoding=\"async\" src=\"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/diagrams\/dia-486-frigate-alarm-20261024-en.png?v=20261115\" width=\"1120\" height=\"580\" loading=\"lazy\" alt=\"Camera and zone, review transition, notification switch and separate delivery checks.\"><figcaption>Camera and zone, review transition, notification switch and separate delivery checks.<\/figcaption><\/figure>\n<h2>1. Connections and responsibilities<\/h2>\n<p>Frigate analyzes footage, MQTT carries changes, and Home Assistant decides whether to notify. The HACS Frigate integration adds camera and media features; it does not install the Frigate server. The MQTT broker receives messages and forwards them to subscribed systems. Both systems need access to the same broker. The example uses the default topic prefix <code>frigate<\/code>; installations with another prefix require an adjustment.<\/p>\n<p>Port <code>8971<\/code> provides the authenticated Frigate endpoint for network connections. Port <code>5000<\/code> is an internal unauthenticated endpoint and must not be freely exposed. HTTPS requires a certificate accepted by Home Assistant; a default self-signed certificate can prevent connection. Credentials and broker permissions should allow only the connections required.<\/p>\n<h2>2. Camera alert rules<\/h2>\n<p>Camera <code>driveway<\/code> needs a zone named <code>driveway_zone<\/code>, drawn on its actual image. Zone membership uses the bottom center of the object&#8217;s bounding box; overlap alone is insufficient. Walk-through tests in daylight and darkness reveal the effect of perspective, shadows and headlights.<\/p>\n<p>In the camera&#8217;s Review settings, alerts are restricted to label <code>person<\/code> and required zone <code>driveway_zone<\/code>. Object tracking must actually include <code>person<\/code>; review labels do not activate additional object classes. These rules concern tracked objects. Manually created API events follow different rules and need separate handling before entering an alarm workflow.<\/p>\n<p>A value such as <code>top_score: 0.8<\/code> is not an 80-percent probability of burglary. Threshold tuning uses observed false detections and missed detections. Motion masks replace neither object filters nor an appropriate zone.<\/p>\n<h2>3. Responses to a review\u2019s change of state<\/h2>\n<p>Frigate recommends <code>frigate\/reviews<\/code> for notification triggers. A review covers a period of camera activity and may contain several objects. Its ID therefore does not identify one individual. Messages provide the previous state in <code>before<\/code> and the new state in <code>after<\/code>.<\/p>\n<p>The example reacts to a new alert or an upgrade from <code>detection<\/code> (activity recorded without an alert) to <code>alert<\/code> (activity meeting the configured alert rules). Further changes to an existing alert do not generate another notification. This intentionally means that an additional person appearing within the same review does not trigger a separate notification.<\/p>\n<p>The example belongs in the YAML editor for a single Home Assistant automation. It requires an existing helper <code>input_boolean.camera_notifications<\/code>; <code>notify.mobile_app_replace_device<\/code> is replaced with the configured device service. The helper is a manual notification switch, not an intruder-alarm system. The time condition uses Home Assistant&#8217;s timezone.<\/p>\n<figure style=\"--cbb-digits:2\" class=\"cbb cbb--wrap cbb--numbers wp-block-code-beautifier-block-code\" data-lang=\"yaml\"><figcaption class=\"cbb-head\"><span class=\"cbb-lang\">YAML<\/span><span class=\"cbb-actions\"><button type=\"button\" class=\"cbb-button cbb-button--wrap\" data-cbb-action=\"wrap\" aria-pressed=\"true\" title=\"Wrap long lines\"><svg aria-hidden=\"true\" focusable=\"false\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path d=\"M2 4h12M2 8h9.5a2.5 2.5 0 0 1 0 5H8m0 0 1.5-1.5M8 13l1.5 1.5M2 12h3\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/><\/svg><span class=\"cbb-sr\">Wrap long lines<\/span><\/button><button type=\"button\" class=\"cbb-button cbb-button--copy\" data-cbb-action=\"copy\" aria-label=\"Copy code\" data-cbb-status-done=\"Code copied to the clipboard.\" data-cbb-status-failed=\"Copying failed. The code is selected for copying with Ctrl+C or \u2318+C.\" data-cbb-status-noselect=\"Copying failed.\"><svg aria-hidden=\"true\" focusable=\"false\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><rect x=\"5.5\" y=\"5.5\" width=\"8\" height=\"8.5\" rx=\"1.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"\/><path d=\"M10.5 3.5V3A1.5 1.5 0 0 0 9 1.5H4A1.5 1.5 0 0 0 2.5 3v6.5A1.5 1.5 0 0 0 4 11h.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"\/><\/svg><span class=\"cbb-button-label\">Copy<\/span><\/button><\/span><\/figcaption><pre class=\"cbb-pre\" tabindex=\"0\" role=\"region\" aria-label=\"Code example: YAML\"><code class=\"cbb-code language-yaml\" style=\"counter-reset:cbb-line 0;\"><span class=\"cbb-line\"><span class=\"cbb-attr\">alias<\/span>: Frigate driveway night notification\n<\/span><span class=\"cbb-line\"><span class=\"cbb-attr\">triggers<\/span>:\n<\/span><span class=\"cbb-line\">  <span class=\"cbb-operator\">-<\/span> <span class=\"cbb-attr\">trigger<\/span>: mqtt\n<\/span><span class=\"cbb-line\">    <span class=\"cbb-attr\">topic<\/span>: frigate\/reviews\n<\/span><span class=\"cbb-line\"><span class=\"cbb-attr\">conditions<\/span>:\n<\/span><span class=\"cbb-line\">  <span class=\"cbb-operator\">-<\/span> <span class=\"cbb-attr\">condition<\/span>: state\n<\/span><span class=\"cbb-line\">    <span class=\"cbb-attr\">entity_id<\/span>: input_boolean.camera_notifications\n<\/span><span class=\"cbb-line\">    <span class=\"cbb-attr\">state<\/span>: <span class=\"cbb-string\">\"on\"<\/span>\n<\/span><span class=\"cbb-line\">  <span class=\"cbb-operator\">-<\/span> <span class=\"cbb-attr\">condition<\/span>: time\n<\/span><span class=\"cbb-line\">    <span class=\"cbb-attr\">after<\/span>: <span class=\"cbb-string\">\"22:00:00\"<\/span>\n<\/span><span class=\"cbb-line\">    <span class=\"cbb-attr\">before<\/span>: <span class=\"cbb-string\">\"06:00:00\"<\/span>\n<\/span><span class=\"cbb-line\">  <span class=\"cbb-operator\">-<\/span> <span class=\"cbb-attr\">condition<\/span>: template\n<\/span><span class=\"cbb-line\">    <span class=\"cbb-attr\">value_template<\/span>: <span class=\"cbb-meta\">&gt;-<\/span>\n<\/span><span class=\"cbb-line\">      {% set p = trigger.payload_json | default({}) %}\n<\/span><span class=\"cbb-line\">      {% set a = p.get(<span class=\"cbb-string\">'after'<\/span>) if p is mapping else none %}\n<\/span><span class=\"cbb-line\">      {% set b = p.get(<span class=\"cbb-string\">'before'<\/span>) if p is mapping else none %}\n<\/span><span class=\"cbb-line\">      <span class=\"cbb-variable\">{{ p is mapping and p.get('type') in &#91;'new', 'update'&#93;<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-variable\">         and a is mapping and a.get('camera') == 'driveway'<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-variable\">         and a.get('id') is string and a.get('id') | length &gt; 0<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-variable\">         and a.get('severity') == 'alert'<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-variable\">         and a.get('end_time') is none<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-variable\">         and (p.get('type') == 'new'<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-variable\">              or (b is mapping and b.get('severity') == 'detection')) }}<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-attr\">actions<\/span>:\n<\/span><span class=\"cbb-line\">  <span class=\"cbb-operator\">-<\/span> <span class=\"cbb-attr\">action<\/span>: notify.mobile_app_replace_device\n<\/span><span class=\"cbb-line\">    <span class=\"cbb-attr\">data<\/span>:\n<\/span><span class=\"cbb-line\">      <span class=\"cbb-attr\">title<\/span>: <span class=\"cbb-string\">\"Camera alert\"<\/span>\n<\/span><span class=\"cbb-line\">      <span class=\"cbb-attr\">message<\/span>: <span class=\"cbb-string\">\"Driveway: activity classified as alert.\"<\/span>\n<\/span><span class=\"cbb-line\">      <span class=\"cbb-attr\">data<\/span>:\n<\/span><span class=\"cbb-line\">        <span class=\"cbb-attr\">tag<\/span>: <span class=\"cbb-string\">\"frigate-{{ trigger.payload_json&#91;'after'&#93;&#91;'id'&#93; }}\"<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-attr\">mode<\/span>: queued\n<\/span><span class=\"cbb-line\"><span class=\"cbb-attr\">max<\/span>: <span class=\"cbb-number\">10<\/span><\/span><\/code><\/pre><span class=\"cbb-status\" role=\"status\"><\/span><\/figure>\n<p>The message deliberately describes an alert classification: its meaning depends on the previously checked Frigate settings. The example does not activate a siren. Lighting and other actions require separate conditions, duration limits and testing.<\/p>\n<h2>4. Repetition and failure<\/h2>\n<p><code>mode: queued<\/code> runs accepted invocations sequentially. <code>max: 10<\/code> limits running and queued invocations together; excess messages can be dropped. An automation queue is not durable message storage and cannot be relied on across restarts.<\/p>\n<p>A repeated notification tag can replace a notification on the phone. It guarantees neither exactly-once execution nor exactly one sound. Repeated or redelivered MQTT messages may trigger the same transition again. Preventing duplicate processing requires a record of processed review IDs that survives restarts, has a defined size or retention limit, and follows explicit rules when delivery fails. This example also has no age check, so redelivered old messages can produce stale notifications.<\/p>\n<p><code>mode: single<\/code> only rejects further invocations while a run is active. A brief action finishes quickly, allowing the next message to start another run. Adding a long blocking delay can instead discard notifications for unrelated activity.<\/p>\n\n\n<!-- lw-flux-illu 486-a4 -->\n<figure class=\"lw-illu\"><img src=\"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/illustrationen\/flux-486-a4.webp\" width=\"1120\" height=\"630\" loading=\"lazy\" decoding=\"async\" alt=\"All ten hooks in the hallway are taken, and an eleventh coat has slipped to the floor. Likewise, a queue with limited space drops further messages as soon as it is full.\"><figcaption>All ten hooks in the hallway are taken, and an eleventh coat has slipped to the floor. Likewise, a queue with limited space drops further messages as soon as it is full.<\/figcaption><\/figure>\n\n\n<h2>5. Separate tests for media and delivery<\/h2>\n<p>Reliable text notifications are the first test. A later thumbnail attachment requires an object event ID from <code>after.data.detections<\/code>, not the review ID. With several objects, the first list entry is not necessarily the intended person. A completed clip or snapshot may also be unavailable at notification time. The phone needs a working, appropriately protected retrieval address.<\/p>\n<p>Local detection does not imply local push delivery. Standard push may use Apple or Google services; Local Push depends on the platform, settings and connection to Home Assistant. An offline test must therefore examine detection, MQTT, automation, phone delivery and any local actuators separately.<\/p>\n<div class=\"lw-faq\"><h2>Questions and Answers<\/h2>\n<h3>Which tests are useful before regular operation?<\/h3><p>Walk-throughs inside and outside the zone, another camera, daytime and nighttime, disabled notifications, and a detection-to-alert transition. Further checks cover repeated messages, an unavailable broker and an unreachable phone. The automation trace identifies conditions that prevented execution. A successful notify action does not establish that the phone displayed an alert or that the alert was noticed.<\/p>\n<h3>Does entered_zones show the current location?<\/h3><p>No. Object messages on <code>frigate\/events<\/code> use <code>entered_zones<\/code> for previously entered zones and <code>current_zones<\/code> for current membership. Requiring both a fresh zone entry and an already-high score can miss a score improvement arriving later. This example instead uses the review classification.<\/p>\n<h3>Can the camera replace an alarm system?<\/h3><p>A camera automation depends on visibility, the model, power and networking. Reliable alarm handling requires additional sensors, failure monitoring and equipment appropriate to the task. Person detection alone does not establish danger.<\/p><\/div><div class=\"lw-quellen\"><h2>Sources<\/h2><ul><li><a href=\"https:\/\/docs.frigate.video\/integrations\/mqtt\/\" target=\"_blank\" rel=\"noopener noreferrer\">Frigate: MQTT messages<\/a><\/li><li><a href=\"https:\/\/docs.frigate.video\/integrations\/home-assistant\/\" target=\"_blank\" rel=\"noopener noreferrer\">Frigate: Home Assistant integration<\/a><\/li><li><a href=\"https:\/\/docs.frigate.video\/guides\/ha_notifications\/\" target=\"_blank\" rel=\"noopener noreferrer\">Frigate: Notification guide<\/a><\/li><li><a href=\"https:\/\/docs.frigate.video\/configuration\/zones\/\" target=\"_blank\" rel=\"noopener noreferrer\">Frigate: Zones<\/a><\/li><li><a href=\"https:\/\/docs.frigate.video\/configuration\/review\/\" target=\"_blank\" rel=\"noopener noreferrer\">Frigate: Review configuration<\/a><\/li><li><a href=\"https:\/\/www.home-assistant.io\/docs\/automation\/modes\/\" target=\"_blank\" rel=\"noopener noreferrer\">Home Assistant: Automation modes<\/a><\/li><li><a href=\"https:\/\/companion.home-assistant.io\/docs\/notifications\/notifications-basic\/\" target=\"_blank\" rel=\"noopener noreferrer\">Companion App: Notifications<\/a><\/li><li><a href=\"https:\/\/companion.home-assistant.io\/docs\/notifications\/notification-local\/\" target=\"_blank\" rel=\"noopener noreferrer\">Companion App: Local Push<\/a><\/li><\/ul><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Frigate and Home Assistant can send a text notification when camera activity meets defined review rules. The guide explains zone checks, duplicate messages and delivery limits; lighting, sirens and media attachments require additional setup.<\/p>\n","protected":false},"author":1,"featured_media":32095,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[92648],"tags":[91380,91398,91395,91365,91626,91219],"class_list":["post-486","post","type-post","status-publish","format-standard","hentry","category-tutorials-en-cctv","tag-artificial-intelligence","tag-monitoring-cctv-pl","tag-frigate-nvr","tag-home-assistant","tag-smart-home-de","tag-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Frigate and Home Assistant: Camera Alerts with Clear Conditions | Lukas Wojcik<\/title>\n<meta name=\"description\" content=\"Connect Frigate with Home Assistant: MQTT detections, lighting and alarm actions, notifications and duplicate-alert suppression.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Frigate and Home Assistant: Camera Alerts with Clear Conditions | Lukas Wojcik\" \/>\n<meta property=\"og:description\" content=\"Connect Frigate with Home Assistant: MQTT detections, lighting and alarm actions, notifications and duplicate-alert suppression.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/\" \/>\n<meta property=\"og:site_name\" content=\"Lukas Wojcik - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-22T07:10:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-15T11:06:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll2-486-486.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Lukas Wojcik\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Lukas Wojcik\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/cctv\\\/tutorials-en-cctv\\\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/cctv\\\/tutorials-en-cctv\\\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\\\/\"},\"author\":{\"name\":\"Lukas Wojcik\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"headline\":\"Frigate and Home Assistant: Camera Alerts with Clear Conditions\",\"datePublished\":\"2026-09-22T07:10:00+00:00\",\"dateModified\":\"2026-11-15T11:06:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/cctv\\\/tutorials-en-cctv\\\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\\\/\"},\"wordCount\":962,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"image\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/cctv\\\/tutorials-en-cctv\\\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/flux-voll2-486-486.png\",\"keywords\":[\"Artificial Intelligence\",\"CCTV\",\"Frigate NVR\",\"Home Assistant\",\"Smart Home\",\"Tutorial\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/cctv\\\/tutorials-en-cctv\\\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/cctv\\\/tutorials-en-cctv\\\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\\\/\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/cctv\\\/tutorials-en-cctv\\\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\\\/\",\"name\":\"Frigate and Home Assistant: Camera Alerts with Clear Conditions | Lukas Wojcik\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/cctv\\\/tutorials-en-cctv\\\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/cctv\\\/tutorials-en-cctv\\\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/flux-voll2-486-486.png\",\"datePublished\":\"2026-09-22T07:10:00+00:00\",\"dateModified\":\"2026-11-15T11:06:18+00:00\",\"description\":\"Connect Frigate with Home Assistant: MQTT detections, lighting and alarm actions, notifications and duplicate-alert suppression.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/cctv\\\/tutorials-en-cctv\\\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/cctv\\\/tutorials-en-cctv\\\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/cctv\\\/tutorials-en-cctv\\\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/flux-voll2-486-486.png\",\"contentUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/flux-voll2-486-486.png\",\"width\":1200,\"height\":630,\"caption\":\"Frigate and Home Assistant: Camera Alerts with Clear Conditions\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/cctv\\\/tutorials-en-cctv\\\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Frigate and Home Assistant: Camera Alerts with Clear Conditions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/\",\"name\":\"Lukas Wojcik - Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\",\"name\":\"Lukas Wojcik\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"contentUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"width\":424,\"height\":636,\"caption\":\"Lukas Wojcik\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\"},\"sameAs\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Frigate and Home Assistant: Camera Alerts with Clear Conditions | Lukas Wojcik","description":"Connect Frigate with Home Assistant: MQTT detections, lighting and alarm actions, notifications and duplicate-alert suppression.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/","og_locale":"en_US","og_type":"article","og_title":"Frigate and Home Assistant: Camera Alerts with Clear Conditions | Lukas Wojcik","og_description":"Connect Frigate with Home Assistant: MQTT detections, lighting and alarm actions, notifications and duplicate-alert suppression.","og_url":"https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/","og_site_name":"Lukas Wojcik - Blog","article_published_time":"2026-09-22T07:10:00+00:00","article_modified_time":"2026-11-15T11:06:18+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll2-486-486.png","type":"image\/png"}],"author":"Lukas Wojcik","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Lukas Wojcik","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/#article","isPartOf":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/"},"author":{"name":"Lukas Wojcik","@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"headline":"Frigate and Home Assistant: Camera Alerts with Clear Conditions","datePublished":"2026-09-22T07:10:00+00:00","dateModified":"2026-11-15T11:06:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/"},"wordCount":962,"commentCount":0,"publisher":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"image":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll2-486-486.png","keywords":["Artificial Intelligence","CCTV","Frigate NVR","Home Assistant","Smart Home","Tutorial"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/","url":"https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/","name":"Frigate and Home Assistant: Camera Alerts with Clear Conditions | Lukas Wojcik","isPartOf":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/#primaryimage"},"image":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll2-486-486.png","datePublished":"2026-09-22T07:10:00+00:00","dateModified":"2026-11-15T11:06:18+00:00","description":"Connect Frigate with Home Assistant: MQTT detections, lighting and alarm actions, notifications and duplicate-alert suppression.","breadcrumb":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/#primaryimage","url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll2-486-486.png","contentUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll2-486-486.png","width":1200,"height":630,"caption":"Frigate and Home Assistant: Camera Alerts with Clear Conditions"},{"@type":"BreadcrumbList","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/cctv\/tutorials-en-cctv\/frigate-and-home-assistant-camera-alerts-with-clear-conditions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lukaswojcik.com\/blog\/de\/"},{"@type":"ListItem","position":2,"name":"Frigate and Home Assistant: Camera Alerts with Clear Conditions"}]},{"@type":"WebSite","@id":"https:\/\/www.lukaswojcik.com\/blog\/#website","url":"https:\/\/www.lukaswojcik.com\/blog\/","name":"Lukas Wojcik - Blog","description":"","publisher":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lukaswojcik.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9","name":"Lukas Wojcik","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","contentUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","width":424,"height":636,"caption":"Lukas Wojcik"},"logo":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg"},"sameAs":["https:\/\/www.lukaswojcik.com\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/486","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/comments?post=486"}],"version-history":[{"count":10,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/486\/revisions"}],"predecessor-version":[{"id":26811,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/486\/revisions\/26811"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/media\/32095"}],"wp:attachment":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/media?parent=486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/categories?post=486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/tags?post=486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}