[bin] Add camcap and deprecate old scripts

This commit is contained in:
2026-02-11 10:27:05 -05:00
parent 1cdf6d73ba
commit 40c222913b
4 changed files with 28 additions and 7 deletions

BIN
bin/.bin/camcap Executable file

Binary file not shown.

View File

@ -18,14 +18,17 @@ WEBCAMS=(
"basement_extension"
"backyard_low"
"backyard_north"
"backyard_house"
"basement_cape"
"basement_tv"
"backyard"
"bulkhead"
"barn"
"garage"
"penobscot"
"birds"
"clouds"
"porch"
"firewood"
"garden"
"diningroom"
)

View File

@ -11,9 +11,11 @@
/home/powellc/.bin/webcam-capture backyard
/home/powellc/.bin/webcam-capture bulkhead
/home/powellc/.bin/webcam-capture barn
/home/powellc/.bin/webcam-capture garage
/home/powellc/.bin/webcam-capture penobscot
/home/powellc/.bin/webcam-capture porch
/home/powellc/.bin/webcam-capture birds
/home/powellc/.bin/webcam-capture clouds
/home/powellc/.bin/webcam-capture firewood
/home/powellc/.bin/webcam-capture garden
/home/powellc/.bin/webcam-capture backyard_house
/home/powellc/.bin/webcam-capture diningroom

View File

@ -16,15 +16,15 @@ if [ "$1" = "basement_tv" ]; then
host="polydeuces.local"
fi
if [ "$1" = "bulkhead" ]; then
port=8081
port=8083
host="mimas.local"
fi
if [ "$1" = "basement_cape" ]; then
port=8082
port=8081
host="mimas.local"
fi
if [ "$1" = "firewood" ]; then
port=8083
port=8082
host="mimas.local"
fi
if [ "$1" = "backyard" ]; then
@ -43,11 +43,11 @@ if [ "$1" = "backyard_north" ]; then
port=8084
host="mundilfari.local"
fi
if [ "$1" = "barn" ]; then
if [ "$1" = "penobscot" ]; then
port=8081
host="iapetus.local"
fi
if [ "$1" = "garage" ]; then
if [ "$1" = "barn" ]; then
port=8082
host="iapetus.local"
fi
@ -67,10 +67,26 @@ if [ "$1" = "garden" ]; then
port=8083
host="siarnaq.local"
fi
if [ "$1" = "backyard_house" ]; then
port=8084
host="siarnaq.local"
fi
if [ "$1" = "diningroom" ]; then
port=8081
host="kari.local"
fi
if [ "$1" = "orchard" ]; then
port=8081
host="skoll.local"
fi
if [ "$1" = "mainbedroom" ]; then
port=8082
host="skoll.local"
fi
if [ "$1" = "woodstove" ]; then
port=8081
host="suttungr.local"
fi
ROOT="/media/photos/misc/webcams"
filepath="$1/$(date +%Y)/$(date +%m)/$(date +%d)/$(date +%Y%m%d%H%M%S).jpg"