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:
3
home-assistant/event-snapshot.sh
Normal file
3
home-assistant/event-snapshot.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
curl -fsSL -o /tmp/snapshot.jpg "http://frigate.pyrocufflink.blue:5000/api/events/$1/snapshot.jpg"
|
||||
Reference in New Issue
Block a user