I have a 2 Camera setup and would like to turn On or OFF using a Simple script the action for on_movie_start.
Below is a portion of a script I currently use which just removes / or adds the ";" commenting out the line for on_movie_start in the thread file, then I have to stop motion and restart it again.
The line plays a DingDong
like a Door bell so I can leave the Shop counter and still hear when people come in.
Is there a dynamic way of doing this without stopping motion?
sed -i 's/on_movie_start/;on_movie_start/g' $MOTION/thread1.conf
echo "The door bell is OFF"
sed -i 's/;on_movie_start/on_movie_start/g' $MOTION/thread1.conf
echo "The door bell isON"
| Motion version:
| ffmpeg version:
| Server OS:
|| Mint 10
- 27 Aug 2011