vigil

Security camera system built on motion and yolov7.
Log | Files | Refs

commit d9eab495341f657ef0c76edbf75d7f6ff61186f3
parent 9d89ed0bf28c02ab7691b555277e8cee0b4749e6
Author: dwrz <dwrz@dwrz.net>
Date:   Fri, 28 Oct 2022 14:05:40 +0000

Refactor cameras script

Diffstat:
Mscripts/cameras | 18++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/scripts/cameras b/scripts/cameras @@ -1,16 +1,18 @@ #!/usr/bin/env bash +readonly WEBCONTROL_PORT="8080" + readonly cameras=( - "https://${HOST0}:${PORT}/${CAMERA0}" - "https://${HOST0}:${PORT}/${CAMERA1}" - "https://${HOST1}:${PORT}/${CAMERA0}" - "https://${HOST2}:${PORT}/${CAMERA0}" + "https://${HOST0}:${WEBCONTROL_PORT}/0" +# "https://${HOST0}:${WEBCONTROL_PORT}/1" +# "https://${HOST1}:${WEBCONTROL_PORT}/${CAMERA0}" +# "https://${HOST2}:${WEBCONTROL_PORT}/${CAMERA0}" ) readonly auth=( - "${USER0}:${PW0}" - "${USER0}:${PW0}" - "${USER1}:${PW1}" - "${USER2}:${PW2}" + "${MOTION_USER}:${MOTION_PASSWORD}" +# "${USER0}:${PW0}" +# "${USER1}:${PW1}" +# "${USER2}:${PW2}" ) err() {