Aug 11
My Sites: My Blog | My Tech Blog | Follow me on Twitter
—-

Sometimes I do some things that even I can’t explain why I did ‘em. Did this one in one of those times as well. This is a simple script to monitor motion in front of your PC, auto-lock it when you are away and auto-unlock it when you come back. Did it just because I was really bogged down by the shitload of work that I’ve been doing for the past few weeks (and even weekends as well), so wanted to take a break for a few minutes, and just chanced over my own “Home Security Using a Webcam and Twitter” post, so thought of doing something related to motion detection again.

Hit the link: Shantz Webcam Autolocker, if you want to know more about the script and download and use it. Don’t forget to let me know what you feel about it though.


—-
If you liked this post, then you can Subscribe to my feed
Quote of the day: “If there are any questions, direct them to that brick wall over there.” — Network President

written by Shantanu Goel \\ tags: , , , ,

May 14
My Sites: My Blog | My Tech Blog | Follow me on Twitter
----

Worried about someone breaking into your house in your absence? Or just need to keep a tab on who enters your room while you are away? Well, all you need is a webcam, a linux PC/laptop and a twitter account. And you are set for real time updates through twitter about all that goes on at your abode behind your back (can even receive a text message/sms on your phone). Keep reading for the very simple setup you need.

1.) Download and install "motion" on your computer. For ubuntu users, this is as simple as running

CODE:
  1. sudo apt-get install motion

2.) Setup your motion configuration file. (Usually at /etc/motion/motion.conf). There are quite a lot of options available. You might want to tweak it a lot according to ur needs later on but the most important ones that you can begin with are (leave the rest untouched for now):

2a.) Add/edit the option "target_dir" to point to the directory where you want to save the images of the event when motion is detected.

2b.) Add/edit the option "locate" and set it to "on" so that you get a nice square box around the detected moving object/person.

2c.) Add/edit the option "webcam_port" and set it to, say, "8000". Motion includes a mini http server so now, you can use it to view the actual images of the happening when you get the update and check for false alarms.

3.) Now, comes the most important part, about getting the update. Continue reading »


----
If you liked this post, then you can Subscribe to my feed
Quote of the day: "Human beings may not be perfect, but a computer program with language synthesis is hardly the answer to the world's problems." - JC Denton

written by Shantanu Goel \\ tags: , , , , , , , , ,