From be3a6a86a902e117d35b8632887e8ea1b8495ea9 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 27 Nov 2023 10:13:21 -0600 Subject: [PATCH] update post --- .../backyard_person.png | Bin .../backyard_person_attached.png | Bin .../backyard_snap.png | Bin .../index.md | 8 ++++++-- .../schedule.png | Bin .../thumbnail.png | Bin 6 files changed, 6 insertions(+), 2 deletions(-) rename content/posts/{automating-security-camera-notifications-with-home-assistant-and-ntfy => automating-camera-notifications-home-assistant-ntfy}/backyard_person.png (100%) rename content/posts/{automating-security-camera-notifications-with-home-assistant-and-ntfy => automating-camera-notifications-home-assistant-ntfy}/backyard_person_attached.png (100%) rename content/posts/{automating-security-camera-notifications-with-home-assistant-and-ntfy => automating-camera-notifications-home-assistant-ntfy}/backyard_snap.png (100%) rename content/posts/{automating-security-camera-notifications-with-home-assistant-and-ntfy => automating-camera-notifications-home-assistant-ntfy}/index.md (97%) rename content/posts/{automating-security-camera-notifications-with-home-assistant-and-ntfy => automating-camera-notifications-home-assistant-ntfy}/schedule.png (100%) rename content/posts/{automating-security-camera-notifications-with-home-assistant-and-ntfy => automating-camera-notifications-home-assistant-ntfy}/thumbnail.png (100%) diff --git a/content/posts/automating-security-camera-notifications-with-home-assistant-and-ntfy/backyard_person.png b/content/posts/automating-camera-notifications-home-assistant-ntfy/backyard_person.png similarity index 100% rename from content/posts/automating-security-camera-notifications-with-home-assistant-and-ntfy/backyard_person.png rename to content/posts/automating-camera-notifications-home-assistant-ntfy/backyard_person.png diff --git a/content/posts/automating-security-camera-notifications-with-home-assistant-and-ntfy/backyard_person_attached.png b/content/posts/automating-camera-notifications-home-assistant-ntfy/backyard_person_attached.png similarity index 100% rename from content/posts/automating-security-camera-notifications-with-home-assistant-and-ntfy/backyard_person_attached.png rename to content/posts/automating-camera-notifications-home-assistant-ntfy/backyard_person_attached.png diff --git a/content/posts/automating-security-camera-notifications-with-home-assistant-and-ntfy/backyard_snap.png b/content/posts/automating-camera-notifications-home-assistant-ntfy/backyard_snap.png similarity index 100% rename from content/posts/automating-security-camera-notifications-with-home-assistant-and-ntfy/backyard_snap.png rename to content/posts/automating-camera-notifications-home-assistant-ntfy/backyard_snap.png diff --git a/content/posts/automating-security-camera-notifications-with-home-assistant-and-ntfy/index.md b/content/posts/automating-camera-notifications-home-assistant-ntfy/index.md similarity index 97% rename from content/posts/automating-security-camera-notifications-with-home-assistant-and-ntfy/index.md rename to content/posts/automating-camera-notifications-home-assistant-ntfy/index.md index d9a8ae0..5b32e9a 100644 --- a/content/posts/automating-security-camera-notifications-with-home-assistant-and-ntfy/index.md +++ b/content/posts/automating-camera-notifications-home-assistant-ntfy/index.md @@ -1,9 +1,10 @@ --- title: "Automating Security Camera Notifications With Home Assistant and Ntfy" date: 2023-11-25 -# lastmod: 2023-11-23 +lastmod: 2023-11-27 description: "Using the power of Home Assistant automations and Ntfy push notifications to level-up security camera motion detections." featured: true +alias: automating-security-camera-notifications-with-home-assistant-and-ntfy toc: true comment: true thumbnail: thumbnail.png @@ -407,7 +408,7 @@ variables: # [tl! collapse:start] binary_sensor.garage_vehicle: timer.garage_vehicle # [tl! collapse:end] ``` -I'd also like to ensure that the interior motion alerts are also activated whenever our [Abode](https://goabode.com/) security system is set to "Away", regardless of what time that may be. That will make the condition a little bit trickier: alerts should be pushed if the timer isn't running AND the schedule is active OR the security system is armed. So here's what that will look like: +I'd also like to ensure that the interior motion alerts are also activated whenever our [Abode](https://goabode.com/) security system is armed, regardless of what time that may be. That will make the condition a little bit trickier: alerts should be pushed if the timer isn't running AND the schedule is active OR the security system is armed (in either "Home" or "Away" mode). So here's what that will look like: ```yaml # torchlight! {"lineNumbers": true} @@ -440,6 +441,9 @@ condition: # [tl! focus:start] state: "on" - condition: state state: armed_away + entity_id: alarm_control_panel.abode_alarm + - condition: state + state: armed_home entity_id: alarm_control_panel.abode_alarm # [tl! ++:end focus:end] action: # [tl! collapse:start] - service: camera.snapshot diff --git a/content/posts/automating-security-camera-notifications-with-home-assistant-and-ntfy/schedule.png b/content/posts/automating-camera-notifications-home-assistant-ntfy/schedule.png similarity index 100% rename from content/posts/automating-security-camera-notifications-with-home-assistant-and-ntfy/schedule.png rename to content/posts/automating-camera-notifications-home-assistant-ntfy/schedule.png diff --git a/content/posts/automating-security-camera-notifications-with-home-assistant-and-ntfy/thumbnail.png b/content/posts/automating-camera-notifications-home-assistant-ntfy/thumbnail.png similarity index 100% rename from content/posts/automating-security-camera-notifications-with-home-assistant-and-ntfy/thumbnail.png rename to content/posts/automating-camera-notifications-home-assistant-ntfy/thumbnail.png