Files
kubernetes/home-assistant/event-snapshot.sh
Dustin C. Hatch b9d48d0df8 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.
2023-12-28 17:09:01 -06:00

4 lines
110 B
Bash

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