[bin] Updating webcam scripts

This commit is contained in:
2025-09-25 16:51:09 -04:00
parent 008d7e107c
commit 80504aba80
3 changed files with 22 additions and 25 deletions

View File

@ -25,7 +25,7 @@ WEBCAMS=(
"barn"
"garage"
"birds"
"porch"
"clouds"
"garden"
"diningroom"
)

View File

@ -1,27 +1,31 @@
#!/bin/sh
if [ "$1" = "mailbox" ]; then
if [ "$1" = "frontyard" ]; then
host="loge.local"
port=8083
port=8081
fi
if [ "$1" = "basement_table" ]; then
host="loge.local"
port=8082
fi
if [ "$1" = "frontyard" ]; then
if [ "$1" = "mailbox" ]; then
host="loge.local"
port=8081
port=8083
fi
if [ "$1" = "basement_tv" ]; then
port=8081
host="polydeuces.local"
fi
if [ "$1" = "basement_cape" ]; then
port=8081
host="kiviuq.local"
fi
if [ "$1" = "bulkhead" ]; then
port=8081
host="mimas.local"
fi
if [ "$1" = "basement_cape" ]; then
port=8082
host="kiviuq.local"
host="mimas.local"
fi
if [ "$1" = "firewood" ]; then
port=8083
host="mimas.local"
fi
if [ "$1" = "backyard" ]; then
port=8081
@ -31,35 +35,27 @@ if [ "$1" = "backyard_low" ]; then
port=8082
host="mundilfari.local"
fi
if [ "$1" = "backyard_north" ]; then
if [ "$1" = "basement_extension" ]; then
port=8083
host="mundilfari.local"
fi
if [ "$1" = "basement_extension" ]; then
if [ "$1" = "backyard_north" ]; then
port=8084
host="mundilfari.local"
fi
if [ "$1" = "orchard" ]; then
port=8081
host="mobian.local"
fi
if [ "$1" = "barn" ]; then
port=8083
host="iapetus.local"
fi
if [ "$1" = "garage" ]; then
port=8082
host="iapetus.local"
fi
if [ "$1" = "chicks" ]; then
port=8081
if [ "$1" = "barn" ]; then
port=8083
host="iapetus.local"
fi
if [ "$1" = "porch" ]; then
if [ "$1" = "birds" ]; then
port=8081
host="siarnaq.local"
fi
if [ "$1" = "birds" ]; then
if [ "$1" = "clouds" ]; then
port=8082
host="siarnaq.local"
fi

View File

@ -12,7 +12,8 @@
/home/powellc/.bin/webcam-capture bulkhead
/home/powellc/.bin/webcam-capture barn
/home/powellc/.bin/webcam-capture garage
/home/powellc/.bin/webcam-capture birds
/home/powellc/.bin/webcam-capture porch
/home/powellc/.bin/webcam-capture birds
/home/powellc/.bin/webcam-capture clouds
/home/powellc/.bin/webcam-capture garden
/home/powellc/.bin/webcam-capture diningroom