How I use my laptop with Slacko for surveillance

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
watchdog
Posts: 2021
Joined: Fri 28 Sep 2012, 18:04
Location: Italy

How I use my laptop with Slacko for surveillance

#1 Post by watchdog »

I used slacko-6.9.6.4 32 bit on a laptop with webcam and mic and an android tablet.
Install the Dropbox app on the tablet.

On the PC side do the following steps.
1-Install dropbox:

http://distro.ibiblio.org/puppylinux/pe ... noarch.pet

Make videosurveillance and audacity dirs in your /root/Dropbox/ cloud client.

2-Install motion-by-git-s14.2.i686.pet:

https://drive.google.com/file/d/0B9iMb4 ... sp=sharing

Open with geany /usr/etc/motion-dist.conf and change the following lines:

Code: Select all

daemon on

Code: Select all

;process_id_file /var/run/motion/motion.pid
(note the semicolon at the begin of the line)

Code: Select all

target_dir /root/Dropbox/videosurveillance
Save as /usr/etc/motion.conf. Launch motion in console:

Code: Select all

motion
3-Install audacity-2.1.2 by PPM with examine dependencies.

Launch audacity from menu-multimedia. Open Preferencies-Recordings and set "Recording activated by sound" and the right level of activation. Save the project with name in /root/Dropbox/audacity dir. Choose the right mic device and output device. Click the recording button.

You can now go away with the tablet leaving the PC on. In dropbox cloud storage you can see the uploaded images by the tablet or another PC. To stop motion on tne main PC:

Code: Select all

ps|grep motion
kill "pid-of-motion"
("pid-of-motion" is the number of the process)

To stop audacity recording you can click the Stop button. You can open the sound recording in audacity.

Post Reply