first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 22:29:38 +03:00
commit 427856cd3a
176 changed files with 27613 additions and 0 deletions

18
utils/capture-event-stream.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/sh
set -ue
if [ $# -ne 2 ]; then
echo "usage: $0 <hue-key> <bridge-addr>"
exit 1
fi
KEY="${1}"
IP="${2}"
exec curl -N --http2 \
-H "Accept:text/event-stream" \
-s \
-k \
-H"hue-application-key: ${KEY}" \
"https://${IP}/eventstream/clip/v2"