<p>Have you been wanting a wifi camera? Maybe for some added security, or perhaps to monitor the kids/pets/roommate?</p> <p>Turn your Raspberry Pi into an internet camera!</p> <p>Raspberry Pi projects abound, but this is a circumstance when I knew the solution for a while but only just got around to implementing it. It turns out it is really easy.</p> <p>Many people use this set up rather than expensive internet security cameras. Rather than worrying about security, I wanted to know if it was worthwhile going to the front door when the dog barks!</p> <p>Benji Dog is going deaf, so he tends to bark even if there is nobody there. If there really is a person at the door, I want to know if it is a parcel, girl guide cookies,Β or some other good reason to answer, or if I should ignore it because it is a salesperson or something equally annoying.</p> <p>With Halloween just around the corner I thought it would be fun to use the motion detection and Python to trigger some scary stuff too ...</p> <figure class="wp-block-image"><img src="https://makerhacks.com/wp-content/uploads/2018/10/Pasted_Image_10_9_18__5_29_PM.jpg" alt="" class="wp-image-115111" /><br/></figure> <h3>What you need</h3> <ol> <li><strong>Raspberry Pi</strong> - I am using a Raspberry Pi 3 for the built-in wifi and because it has 4 USB ports.</li> <li><strong>Camera</strong> - You can use USB cameras or you can use the official Pi camera. I went with the official Pi camera alone for now.</li> <li><strong>Power</strong> - Supply your Pi with 5v, 2amps.</li> <li><strong>Optional</strong>Β <strong>Extras</strong> - Due to where and how the front door is located, I am using an extra long Pi camera ribbon cable from Adafruit, and a <em>Zero View</em> camera holder that suctions to the glass. Using my 3d printers and <a href="https://makerhacks.com/glowforge-review/">Glowforge</a> I will be creating a more permanent solution, check back for that!</li> </ol> <h3>Installation</h3> <p>The magic is all performed by <a href="https://github.com/ccrisan/motioneyeos">MotionEyeOs</a>. You can also install onto an existing operating system installation, but the disk image does all the heavy lifting for you.</p> <p>While there are, of course, installation <a href="https://github.com/ccrisan/motioneyeos" target="_blank">instructions</a>, I simply downloaded the operating system <a href="https://github.com/ccrisan/motioneyeos/releases" target="_blank">image</a> and burned it as I usually do <g class="gr_ gr_4 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar multiReplace" id="4" data-gr-id="4">using</g> <a href="https://etcher.io/" target="_blank">Etcher</a>.Β </p> <figure class="wp-block-image"><img src="https://makerhacks.com/wp-content/uploads/2018/10/Etcher.png" alt="" class="wp-image-115118" /><br/> <figcaption>Etcher.io</figcaption> </figure> <p>If you are new to using Etcher to make Raspberry Pi boot disks, follow the instructions in my <a href="https://youtu.be/C90seIxg1Eo?t=439" target="_blank">Octopi tutorial</a> and simply use the MotionEyeOs image file instead.</p> <p>For <g class="gr_ gr_3 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins doubleReplace replaceWithoutSep" id="3" data-gr-id="3">network</g>, I plugged in an ethernet cable, but there is an <a href="https://github.com/ccrisan/motioneyeos/wiki/Wifi-Preconfiguration" target="_blank">option to set up wifi before booting</a>, or you can use a screen and keyboard to set it up too.</p> <p>A really cool feature is you can set up the Pi as its own access point and access the camera that way.</p> <p>Once your Pi has booted and is on the network, you can point your browser at the IP address. The default user is Admin with no password - you will want to change that as soon as you can!</p> <p>On the web UI in the top left is a burger menu with all the options. You can expand the options to change the user passwords, set your timezone, and so on.</p> <figure class="wp-block-image aligncenter"><img src="https://makerhacks.com/wp-content/uploads/2018/10/motioncam.png" alt="" class="wp-image-115117" /><br/> <figcaption>Burger Menu</figcaption> </figure> <h3>Motion Detection</h3> <p>As mentioned earlier, there is built-in motion detection. You can get it to send you an email, but also there are options for webhooks and launching commands.</p> <p>The easiest option after email is to use IFTTT.</p> <p>Enter the URL to IFTTT in the form of the following ...</p> <pre class="wp-block-preformatted">https://maker.ifttt.com/trigger/*event_name*/with/key/*yourkey*</pre> <p>Swap in your API key that you get from the <a href="https://ifttt.com/maker_webhooks" target="_blank">documentation linked from this page here</a>.</p> <p>Set up an app to text you, tweet you, or whatever.</p> <figure class="wp-block-image aligncenter is-resized"><img src="https://makerhacks.com/wp-content/uploads/2018/10/If_Maker_Event__cam___then_Send_me_an_SMS_at_4039929937__update_phone_number__-_IFTTT.png" alt="IFTTT " class="wp-image-115119" width="365" height="527" /><br/></figure> <p>Following the <a href="https://github.com/ccrisan/motioneyeos/wiki/Synchronize-with-Google-Drive" target="_blank">instructions here</a> you can set up Google Drive storage.</p> <h3>Programming Your Own Scripts</h3> <p>The operating system comes with Python 2 installed, as the web UI is written in Python, and it being Linux you can also use shell scripting, but the OS is not really intended to be used this way so you would be better using webhooks or installing on top of Raspbian.</p> <p>I will look at this in a future tutorial!</p> <h3>Accessing Your Camera from the Internet</h3> <p>Want to keep an eye on your house/pets/guests while you are away?</p> <p>You will need to <a href="https://makerhacks.com/raspberry-pi-remote-access/" target="_blank">set up your pi for remote access</a>. Follow that previous tutorial to get working over the external web.</p> <br /><center><hr/><em>Posted from my blog with <a href='https://wordpress.org/plugins/steempress/'>SteemPress</a> : https://makerhacks.com/raspberry-pi-security-camera/ </em><hr/></center>
author | makerhacks | ||||||
---|---|---|---|---|---|---|---|
permlink | raspberrypisecuritycamera-7iolqgxyir | ||||||
category | iot | ||||||
json_metadata | {"community":"steempress","app":"steempress/1.4","image":[""],"tags":["iot","making","raspberrypi","steemmakers"],"original_link":"https://makerhacks.com/raspberry-pi-security-camera/"} | ||||||
created | 2018-10-10 01:05:39 | ||||||
last_update | 2018-10-10 01:05:39 | ||||||
depth | 0 | ||||||
children | 7 | ||||||
last_payout | 2018-10-17 01:05:39 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 4.605 HBD | ||||||
curator_payout_value | 1.576 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 6,219 | ||||||
author_reputation | 156,977,359,570,955 | ||||||
root_title | "Raspberry Pi Security Camera" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 72,973,992 | ||||||
net_rshares | 5,036,932,878,579 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
neoxian | 0 | 471,829,302,671 | 20% | ||
steempress | 0 | 33,711,147,240 | 10.5% | ||
penguinpablo | 0 | 53,275,788,230 | 3% | ||
froyoempire | 0 | 6,708,876,559 | 100% | ||
thatsweeneyguy | 0 | 4,396,813,493 | 100% | ||
rawpride | 0 | 7,196,568,709 | 10% | ||
themarkymark | 0 | 59,442,722,446 | 1% | ||
phillip20 | 0 | 6,507,955,312 | 100% | ||
viraldrome | 0 | 23,083,829,623 | 29% | ||
crokkon | 0 | 46,992,667,708 | 50% | ||
bssman | 0 | 2,508,054,902 | 63% | ||
makerhacks | 0 | 72,747,879,809 | 100% | ||
mytechtrail | 0 | 254,249,645 | 50% | ||
cryptonized | 0 | 7,186,219,691 | 3% | ||
jesusjacr | 0 | 504,886,944 | 0.8% | ||
portalmine | 0 | 3,708,657,806 | 100% | ||
theguymasamato | 0 | 2,401,597,833 | 100% | ||
hawk399 | 0 | 1,965,998,679 | 100% | ||
dmxmaster | 0 | 558,771,052 | 100% | ||
geekahol | 0 | 7,244,396,626 | 100% | ||
thesteemhouse | 0 | 3,110,120,996 | 100% | ||
steempress-io | 0 | 4,201,193,226,716 | 10.5% | ||
builduino | 0 | 2,846,327,849 | 100% | ||
davincibot | 0 | 73,017,348 | 100% | ||
loveyourstyle | 0 | 72,731,202 | 100% | ||
canuckbot | 0 | 72,731,184 | 100% | ||
sbi3 | 0 | 12,765,813,419 | 2% | ||
share4every1 | 0 | 220,310,709 | 100% | ||
alucian | 0 | 949,134,448 | 100% | ||
schabenstolz | 0 | 3,403,079,730 | 100% |
Nice project. I shall leave a 100% upvote when my power has restored. But I'm sad for your dog. How does he handle losing his hearing?
author | isarmoewe |
---|---|
permlink | re-makerhacks-raspberrypisecuritycamera-7iolqgxyir-20181010t011255193z |
category | iot |
json_metadata | {"tags":["iot"],"app":"steemit/0.1"} |
created | 2018-10-10 01:12:54 |
last_update | 2018-10-10 01:12:54 |
depth | 1 |
children | 1 |
last_payout | 2018-10-17 01:12:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.076 HBD |
curator_payout_value | 0.024 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 135 |
author_reputation | 27,164,632,553,667 |
root_title | "Raspberry Pi Security Camera" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 72,974,273 |
net_rshares | 72,279,785,626 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
makerhacks | 0 | 66,793,852,401 | 100% | ||
isnochys | 0 | 5,413,423,606 | 10% | ||
steemelements | 0 | 72,509,619 | 100% |
He is doing ok, it is certain frequencies he has trouble with but he mostly uses his nose anyway ;) Cocker spaniels sometimes have trouble with their ears as they get older apparently. He's still a good boy and full of happy pupper love.
author | makerhacks |
---|---|
permlink | re-isarmoewe-re-makerhacks-raspberrypisecuritycamera-7iolqgxyir-20181010t190835130z |
category | iot |
json_metadata | {"tags":["iot"],"app":"steemit/0.1"} |
created | 2018-10-10 19:08:36 |
last_update | 2018-10-10 19:08:36 |
depth | 2 |
children | 0 |
last_payout | 2018-10-17 19:08:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 238 |
author_reputation | 156,977,359,570,955 |
root_title | "Raspberry Pi Security Camera" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 73,027,142 |
net_rshares | 0 |
Do you have any tips/suggestions to use the RaspPi + Cam at night? Something like a night vison version? thx
author | theguymasamato |
---|---|
permlink | re-makerhacks-raspberrypisecuritycamera-7iolqgxyir-20181010t084743749z |
category | iot |
json_metadata | {"tags":["iot"],"app":"steemit/0.1"} |
created | 2018-10-10 08:47:45 |
last_update | 2018-10-10 08:47:45 |
depth | 1 |
children | 2 |
last_payout | 2018-10-17 08:47:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.074 HBD |
curator_payout_value | 0.024 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 108 |
author_reputation | 1,163,475,396,254 |
root_title | "Raspberry Pi Security Camera" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 72,994,237 |
net_rshares | 69,512,329,934 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
makerhacks | 0 | 69,512,329,934 | 100% |
I haven't tried it yet but there is this guy, probably what you meant https://www.adafruit.com/product/3100
author | makerhacks |
---|---|
permlink | re-theguymasamato-re-makerhacks-raspberrypisecuritycamera-7iolqgxyir-20181010t190539265z |
category | iot |
json_metadata | {"tags":["iot"],"links":["https://www.adafruit.com/product/3100"],"app":"steemit/0.1"} |
created | 2018-10-10 19:05:39 |
last_update | 2018-10-10 19:05:39 |
depth | 2 |
children | 1 |
last_payout | 2018-10-17 19:05:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 107 |
author_reputation | 156,977,359,570,955 |
root_title | "Raspberry Pi Security Camera" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 73,027,026 |
net_rshares | 2,330,118,434 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
theguymasamato | 0 | 2,330,118,434 | 100% |
Thx, I will have a look at it.
author | theguymasamato | ||||||
---|---|---|---|---|---|---|---|
permlink | re-makerhacks-20181012t15337128z | ||||||
category | iot | ||||||
json_metadata | {"tags":["iot"],"app":"esteem/1.1.12-surfer","format":"markdown+html","community":"esteem.app","encrypted":0} | ||||||
created | 2018-10-12 13:03:36 | ||||||
last_update | 2018-10-12 13:03:36 | ||||||
depth | 3 | ||||||
children | 0 | ||||||
last_payout | 2018-10-19 13:03:36 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.000 HBD | ||||||
curator_payout_value | 0.000 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 30 | ||||||
author_reputation | 1,163,475,396,254 | ||||||
root_title | "Raspberry Pi Security Camera" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 73,145,644 | ||||||
net_rshares | 0 |
Now you will never miss those girl guide cookies
author | viraldrome |
---|---|
permlink | re-makerhacks-raspberrypisecuritycamera-7iolqgxyir-20181010t012025165z |
category | iot |
json_metadata | {"tags":["iot"],"app":"steemit/0.1"} |
created | 2018-10-10 01:20:27 |
last_update | 2018-10-10 01:20:27 |
depth | 1 |
children | 1 |
last_payout | 2018-10-17 01:20:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.072 HBD |
curator_payout_value | 0.024 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 48 |
author_reputation | 47,002,452,735,957 |
root_title | "Raspberry Pi Security Camera" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 72,974,614 |
net_rshares | 68,126,003,897 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
makerhacks | 0 | 68,126,003,897 | 100% |
Which is clearly the priority :D
author | makerhacks |
---|---|
permlink | re-viraldrome-re-makerhacks-raspberrypisecuritycamera-7iolqgxyir-20181010t190602906z |
category | iot |
json_metadata | {"tags":["iot"],"app":"steemit/0.1"} |
created | 2018-10-10 19:06:03 |
last_update | 2018-10-10 19:06:03 |
depth | 2 |
children | 0 |
last_payout | 2018-10-17 19:06:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.026 HBD |
curator_payout_value | 0.008 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 32 |
author_reputation | 156,977,359,570,955 |
root_title | "Raspberry Pi Security Camera" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 73,027,039 |
net_rshares | 24,939,083,472 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
viraldrome | 0 | 24,939,083,472 | 33% |