Beruflich Dokumente
Kultur Dokumente
Download (/id/Raspberry-Pi-Dropbox-Alternative/?download=pdf)
How it Works (/about/create.jsp)
h (/id/Raspberry-Pi-Dropbox-Alternative/?ALLSTEPS) 8 Steps . (/id/Raspberry-Pi-Dropbox-Alternative/step2/Setting-Up-Your-Raspberry-Pi/)
New Instructable (/editInstructable/)
Collection I Made it! Favorite Share
License:
8 121,425 views
268 favorites
nochanceinhell3856
(/member/nochanceinhell3856/)
(/file/FYPEB2DHP1Q2AQF/)
Follow 32
(/member/nochanceinhell3856/)
I was looking for a way to check in on my house while away as well as have any
motion captured and uploaded to the internet as a security camera. Doing a More by nochanceinhell3856:
little research online and realizing that I had a raspberry pi and a usb webcam
not being used for anything else, This is what I put together.
(/id/Cheap-and-Easy-
Please note, this is a brute force method and does not provide any type of
security to the webcams stream but its my first time working on something like
this.
Ad
Sheeld CCTV Company Fireplace-Heater/)
CCTV Maintenance & Repairs Free Surveys &
Quotes - 01142835825
www.eurocoms.co.uk
(/id/3D-Printed-Cake-Topper/)
(/id/Recovering-Files-
from-a-Snapped-US-Flash-Drive-Rep/)
Tags:
Step 1: Resources
Raspberry Pi (/tag/type-id/keyword-Raspberry%20Pi/)
I have to start with credit to the websites that I used for my research: DropCam (/tag/type-id/keyword-DropCam/)
DropBox (/tag/type-id/keyword-DropBox/)
http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome
Security (/tag/type-id/keyword-Security/)
(http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome) - The software I
used was called Motion, it handles the streaming of the webcam to the web as webcam (/tag/type-id/keyword-webcam/)
well as detecting motion and saving the movie files. surveillance (/tag/type-id/keyword-surveillance/)
https://github.com/andreafabrizi/Dropbox-Uploader
(https://github.com/andreafabrizi/Dropbox-Uploader) - This software allow you
to sync your files into a Dropbox Account Related
Previous
Next (/id/Raspberry-Pi-Dropbox-Alternative/step2/Setting-Up-Your-Raspberry-Pi/)
Download (/id/Raspberry-Pi-Dropbox-Alternative/?download=pdf)
Ad
Sheeld CCTV Company
CCTV Maintenance & Repairs Free Surveys &
Quotes - 01142835825
www.eurocoms.co.uk
a month ago
Thank you
changed recently.
5 months ago
@jbennett38 (/member/jbennett38) - no, this is a DropCam
*alternative* solution, it does not integrate with an existing
DropCam camera. Here, you use a Camera designed to be
connected to your Raspberry Pi. There's some pretty good
ones out there with auto night-vision (WaveShare etc) for
around $30.
path="/tmp/motion/"
dest="/( REPLACE WITH NAME OF APP FOLDER ON
DROPBOX..."
def upload_files():
if not os.path.exists(path):
return
dir_list = os.listdir(path)
if "jpg" in file_name:
print"Upload Pending..."
os.system(cmd)
if __name__ == "__main__":
upload_files()
11 months ago
Hi,
I've tried using your script but I get an indent error on line 6.
Any chance you can upload to github or something as I'm
not savvy enough with python to fix errors.
This is what I'm doing - I've edited it briefly for my own
situation (ie path of uploder, and where the
dropbox_uploader.sh script is located.
import os
path="/var/www/media/"
dest="/MBRPI"
def upload_files():
if not os.path.exists(path):
return
dir_list = os.listdir(path)
for file_name in dir_list:
if "jpg" in file_name:
print"Upload Pending..."
cmd = "/home/pi/Dropbox-Uploader/dropbox_uploader.sh
upload " + path + file_name + " " + dest
os.system(cmd)
if __name__ == "__main__":
upload_files()
(http://cdn.instructables.com/F6G/H7B4/I85QOPCV/F6GH7B4I85QOPCV.LARGE.jpg)
curl
"https://raw.githubusercontent.com/andreafabrizi/Dropbox-
Uploader/master/dropbox_uploader.sh" -o
dropbox_uploader.sh
a year ago
Yeah_ this was the correction which was to be done,i suppose
(this is what i checked).
I am sharing the screenshot i NOW get while running the .sh file.
The folder name corresponding to the app name i defined whil
following the instructions given in screenshot has been
successfully created but the pictures are still not being
uploaded.
both the .py files are properly indented and i have used
cmd = "/home/pi/Dropbox-Uploader/dropbox_uploader.sh
upload %s %s %s" %(path + file_name," ",path + file_name)
following a comment on this page (below).
any help is appreciated. :)
(http://cdn.instructables.com/FZP/O2HY/I6HSJDYB/FZPO2HYI6HSJDYB.LARGE.jpg)
Thank You
(http://cdn.instructables.com/FC5/KI5X/I5MD0EIG/FC5KI5XI5MD0EIG.LARGE.jpg)
(http://cdn.instructables.com/FY8/25FU/I5MD0EK0/FY825FUI5MD0EK0.LARGE.jpg)
hi
i just did every thing you said. but it doesn't work.
i have raspberry pi model a, a wifi dongle & MD80 mini
camera, all connected to a usb hub. my uploader file
contains :
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()
any Suggestions?
Gday,
I have just completed Step 5 and can get the camera to
stream the video, however whenever there is movement
detected the streaming of the video stops. I can get back
onto the streaming eventually. Any ideas where this might be
falling apart?
Thank you in advance!
wow, didn't expect that much detail. Thank you so much for that ! I'm
ordering the parts and will let you know !
I've tested with the MD80 mini camera but it RPI doesn't
recognize it? Please help!
Hi. Small typo above. The closing HTML tag is missing the /.
The code should be:
<html>
<body>
<h1> Raspberry Pi DropBox Camera Stream </h1>
<img src="http://Raspberry pi's IP:8081">
</body>
</html>
TheK1D (/member/TheK1D)
Help! i use the sudo python picamstreamer.py and sudo 2 years ago Reply
This works-
cmd = "/home/pi/Dropbox-
Uploader/dropbox_uploader.sh upload %s %s %s" %
(path + file_name," ",path + file_name)
(http://cdn.instructables.com/FDQ/4ACY/HS3GV5FL/FDQ4ACYHS3GV5FL.LARGE.gif)
yes, i made changes as you mentioned but still not working. can you
share image of your uploader.py and cleartmp.py
camblonie (/member/camblonie)
"Now follow the instructions in the README.txt file in order 2 years ago Reply
to link the Raspberry Pi to your DropBox account using
OAuth."
Could you link to this txt file please?
I had to download an updated driver for my camera from
one of your links but I dont know where i should be
unzipping it. I put it in the home folder but thats not
working.
Android (https://play.google.com/store/apps/details?id=com.adsk.instructables)
iOS (https://itunes.apple.com/app/instructables/id586765571)
Windows (http://apps.microsoft.com/windows/en-us/app/7afc8194-c771-441a-9590-54250d6a8300)
About Us Find Us
Who We Are (/about/) Facebook (http://www.facebook.com/instructables)
Advertise (/advertise/) Youtube (http://www.youtube.com/user/instructablestv)
Contact (/about/contact.jsp) Twitter (http://www.twitter.com/instructables)
Jobs (/community/Positions-available-at-Instructables/)
Pinterest (http://www.pinterest.com/instructables)
Help (/id/how-to-write-a-great-instructable/)
Google+ (https://plus.google.com/+instructables)
Tumblr (http://instructables.tumblr.com)
Resources
For Teachers (/teachers/)
Artists in Residence (/air)
Gift Pro Account (/account/give?sourcea=footer)
Forums (/community/)
Answers (/tag/type-question/?sort=RECENT)
Sitemap (/sitemap/)