home-assistant: Add (back) event-snapshot.sh

When transitioning to the ConfigMap for maintaining Home Assistant YAML
configuration, I did not bring the `event-snapshot.sh` script because I
thought it was no longer in use.  It turns out I was mistaken; it is
used by the driveway camera alerts.
This commit is contained in:
2023-12-28 17:07:43 -06:00
parent ad65a12b66
commit b9d48d0df8
3 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
#!/bin/sh
curl -fsSL -o /tmp/snapshot.jpg "http://frigate.pyrocufflink.blue:5000/api/events/$1/snapshot.jpg"