hodge-podge misc folder, mostly newton and me at the old place in pompano – no-nose’s joint.
( Read the rest of this entry » )
Originally published at The Scotto Grotto. You can comment here or there.
hodge-podge misc folder, mostly newton and me at the old place in pompano – no-nose’s joint.
( Read the rest of this entry » )
Originally published at The Scotto Grotto. You can comment here or there.
http://www.instructables.com/id/Raspberry-Pi-Dropbox-Alternative/
also -Â http://pimylifeup.com/raspberry-pi-webcam-server/
https://github.com/andreafabrizi/Dropbox-Uploader - This software allow you to sync your files into a Dropbox Account
http://www.slblabs.com/2012/09/26/rpi-webcam-stream/Â - This site explains a few different ways to setup the camera on the raspberry pi to set up a simple web stream of the image.
http://mogshade.wordpress.com/2012/12/23/simple-home-security-with-raspberry-pi-and-dropbox/Â - This site is where i started with for implementing the upload of the movie files to a Dropbox account
http://www.instructables.com/id/Host-your-website-on-Raspberry-pi/Â - This Instructable was used to set up a simple website to view your Web Stream from.

Now You should setup port forwarding for your raspberry pi for both port 80 and 8081
while you are in your router settings also write down your Raspberry Pi’s Public IP address as it will be what we use in the next few steps.

Now lets install the Motion Software onto the Raspberry Pi.
1) Install Motion using the following commands:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install motion
2) Now lets setup the Motion Software, the following will open the configuration file:
sudo nano /etc/motion/motion.conf
a) In this file, you can adjust a whole bunch of things in the motion software but there are a few things that we need to change first
daemon – default is set to OFF, we need to set it to ON so that it will run in the background
webcam_localhost – Set to OFF so that you can access the stream from other computers
stream_port – Take note of the port as this is where you will point your browser to view the stream
control_localhost – Set to OFF as this will allow you to adjust some of the features remotely (I dont use this but it could be useful)
control_port – Take note of this port as it will be how you can change some parameters remotely in your web browser
framerate – I set this to 2 or 3 frames per second (over 5 will bog down your Pi)
b) We also need to change one last setting:
sudo nano /etc/default/motion
change “start_motion_daemon=no” to “start_motion_daemon=yes”
Now if you start the Motion software, in some browsers you will be able to view the stream. if you cannot yet, we will correct that in the next step.

Now Install the applications with the following command:
sudo apt-get install apache2 php5 libapache2-mod-php5Â
Next allow overrides:
sudo nano /etc/apache2/sites-enabled/000-default
Change “AllowOverride None” to “AllowOverride ALL”
Now restart the server to to allow the overrides
sudo service apache2 restart
Now your Website is Up and running. If you type the IP address for your Raspberry Pi into a browser you should be able to see a simple website.

sudo chmod 777 /var/www
If you type in the following command line it will bring you to the HTML file that is the front page of your website:
sudo nano /var/www/index.html
This file currently contains the HTML code for a very basic website. We are going to change it to the following in order to display the web streaming image.
<xmp>
<html>
<body>
<h1> Raspberry Pi DropBox Camera Stream </h1>
<img src=”http://Raspberry pi’s IP:8081″>
</body>
<html>
</xmp>
Note: Remove the <xmp> & </xmp>, this was the only way I know to get HTML into an instructable
Save this file and then in a web browser type in the raspberry pi’s IP address and check out your new website

Now download the application using the following command:
curl “https://raw.github.com/andreafabrizi/Dropbox-Uploader/master/dropbox_uploader.sh” -o dropbox_uploader.sh
Now change the permissions of the program
sudo chmod +x dropbox_uploader.sh
Finally run the script and follow the instructions it gives you. Â This will guide you through setting up the OAuth connection to your dropbox account
./dropbox_uploader.sh
If you have any issues, try reading the README.txt in the files you downloaded or visible here
https://github.com/andreafabrizi/Dropbox-Uploader/blob/master/README.md

Change the directory to which ever directory you would like (i did this in the home directory)
Then use the following command to create the script called Uploader
sudo nano uploader.py
Now you should be in the blank python script file. Insert the following code into the file.
Please Note that this script is assuming that Motion’s files are being saved in the Temp Directory (the default)
import os
path=”/tmp/motion/”
def upload_files():
if not os.path.exists(path):
return
os.stdir(path)
for files in os.listdir(“.”):
if files.endswith(“.avi”):
cmd = “/home/pi/dropbox_uploader.sh upload ” + path + files
os.system(cmd)
os.system(“sudo rm /tmp/motion/” + files)
if _name_ == “_main_”:
upload_files()
Save and close the file (CTRL + X)
Now lets create the second File that clears the Temp Directory (this will happen each time the raspbery pi is restarted but I wanted to have more control)
sudo nano cleartmp.py
In this new file place the following simple code
import os
os.system(“sudo rm /tmp/motion/” + “*.jpg”)
again Save and Close the file (CTRL + X)
Now One last time to make these two things run automatically
Type the following command to modify the crontab file
crontab -e
Add the following to lines to the bottom of this file
* * * * * python /home/pi/uploader.py # Sync webcam files dropbox to run each minute
@hourly python /home/pi/cleartmp/pr #Clear temp for motion each hour
Close and Save

Enjoy!
Originally published at The Scotto Grotto. You can comment here or there.
Om nom boys
Originally published at The Scotto Grotto. You can comment here or there.
pictures after the cut. pano of pizza and porno mall, newt at vet. ( Read the rest of this entry » )
Originally published at The Scotto Grotto. You can comment here or there.
Walkabout at the graveyard, Danny at Denny’s, Classic Newton face, tinklepig
Originally published at The Scotto Grotto. You can comment here or there.
Newton and felt day of the dead ornaments
Cute snow bunny seen by the cars
Christmas ornaments flying from paint cans
Originally published at The Scotto Grotto. You can comment here or there.
1210001718.jpg, originally uploaded by scottobear.
newton also likes it!
Originally published at The Scotto Grotto. You can comment here or there.
IMAG0556 | IMAG0552 |
IMAG0569 | IMAG0568 |
bunny back in the garden this am - in the pepper patch this time! Uploaded on Jun 23, 2010 | Delete | bunny back in the garden this am - in the pepper patch this time! Uploaded on Jun 23, 2010 | Delete |
IMAG0567 | IMAG0566 |
IMAG0563 | IMAG0562 |
bunny back in the garden this am - in the pepper patch this time! Uploaded on Jun 23, 2010 | Delete | bunny back in the garden this am - in the pepper patch this time! Uploaded on Jun 23, 2010 | Delete |
IMAG0570 | 0621001624.jpg |
bunny back in the garden this am - in the |




Hump day again, again, dear journal. Some good news - Netflix is coming to the Wii this spring- http://bit.ly/6tYtRz
Woke up with a sore throat – hopefully I’m not succumbing to BHK’s lingering congestion, and it was only dust from the loft. We’ll know more soon enough!
Telephone interview today – it went well! I look forward to hearing more from them soon.
Nurse Newt Making sure I’m tucked in.
1 year ago – Sick, TV and Dr. BHK and Nurses Newt & Pye take care of me.
2 years ago - frying pan, aardvark, bugah, HL2, not a hardcore gamer anymore
3 years ago - dream ramble - voice post
4 years ago - icon snatching, lost, dr who, flickr tools, books, compusa, meeting of the daves, cool weather, birds ate my brains, prejudice map, findory,
5 years ago - Lost, romainan pop inspires .htaccess, supercar, anonymous statement meme, age act meme
6 years ago - That Stretchy Guy & That Clay Guy.
7 years ago - cops, prezzies, kidthinks
8 years ago - space commies and monkeys, dream, haiku, mothman, tarot
9 years ago - SOS, folk fest, annoyed with collapsing tabs, brian howdy, super friends drinking game ![]()
![]()
![]()
![]()
snow day today - a light dusting cleaned up the dirty slush left over from the blizzard.
Newton has the right idea, I think – Burrito snuggles under covers!
Mandy took home the game trophy for winning cir-kis and pop-up storybook.
I like Cir-kis, but think that Blokus is a bit more my thing – benefit of cir-kis is that you don’t need ghost players if you only have 3 people at the table.
1 year ago – crayon physics, pyecam and newtcam, Chris’s metro car poops out, inauguration, mexico for lunch
2 years ago - plumbing issues start, video games (meet me on the steam netowork to play!), absinthe legal again
3 years ago - gave up on heroes and torchwood, assorted tv enjoyed, bhk and I work, took down xmas train, brown house
4 years ago - Letterman vs O'Reilly, Envisioning poll, Prof. Plum, Moon Worship, firefly crew, World Of Stuff, bike about and hoff, pictures, human skin books
5 years ago - mooshy, work hires, 300 fonts you should have (Note - porno bob, CS, sharon and jill all no longer work there)
6 years ago - Wonderful Prezzies from The East, Misc work hubbub, there.com hubbub, scary chimps, Ted Passed away.
7 years ago - Elvis, scrapple, lesbian book covers, smokers, pancake bunny passed away, Sweet comment from Rachel
8 years ago - walkies, toys, WordsEye, food
9 years ago - deoxy, st. mary's, noir ![]()
![]()
![]()
![]()