From 80504aba8006e3ae5db1690d7dca713390c159be Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Thu, 25 Sep 2025 16:51:09 -0400 Subject: [PATCH] [bin] Updating webcam scripts --- bin/.bin/webcam-build-timelapses | 2 +- bin/.bin/webcam-capture | 42 +++++++++++++++----------------- bin/.bin/webcam-capture-all | 3 ++- 3 files changed, 22 insertions(+), 25 deletions(-) diff --git a/bin/.bin/webcam-build-timelapses b/bin/.bin/webcam-build-timelapses index 10282af..a261a13 100755 --- a/bin/.bin/webcam-build-timelapses +++ b/bin/.bin/webcam-build-timelapses @@ -25,7 +25,7 @@ WEBCAMS=( "barn" "garage" "birds" - "porch" + "clouds" "garden" "diningroom" ) diff --git a/bin/.bin/webcam-capture b/bin/.bin/webcam-capture index d17632b..6eaf704 100755 --- a/bin/.bin/webcam-capture +++ b/bin/.bin/webcam-capture @@ -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 diff --git a/bin/.bin/webcam-capture-all b/bin/.bin/webcam-capture-all index 1c8d08c..83ff3af 100755 --- a/bin/.bin/webcam-capture-all +++ b/bin/.bin/webcam-capture-all @@ -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