Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Jan 2020, 14:29
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How I use my laptop with Slacko for surveillance
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
watchdog

Joined: 28 Sep 2012
Posts: 1950
Location: Italy

PostPosted: Tue 18 Oct 2016, 02:18    Post subject:  How I use my laptop with Slacko for surveillance
Subject description: Uploading sound and video to Dropbox
 

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/pet_packages-tahr/mydbox-1.2_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/0B9iMb4UZBeFkTXBGbWxJWGRiU0k/view?usp=sharing

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

Code:
daemon on


Code:
;process_id_file /var/run/motion/motion.pid


(note the semicolon at the begin of the line)

Code:
target_dir /root/Dropbox/videosurveillance


Save as /usr/etc/motion.conf. Launch motion in console:

Code:
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:
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.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0295s ][ Queries: 11 (0.0069s) ][ GZIP on ]