Skip to content

Commit

Permalink
initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
initial commit authored and initial commit committed Apr 6, 2017
1 parent 9217641 commit 8f74727
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The goal of this project is to provide an easy way to setup a basic (yet functio
* Automatically deletes local recorded clips after upload to Dropbox

**Requirements**
* (optional) 3D Printed enclosure. STL files and instructions available on [ThingVerse](http://www.thingiverse.com/thing:2210410).
* (optional) 3D Printed enclosure. STL files and instructions available on [ThingiVerse](http://www.thingiverse.com/thing:2230707).
* A Rasberry Pi Zero W running Raspbian and connected to the internet. The regular (no-wifi) Raspberry PI Zero also works, but will require a usb wifi doongle that will stay out of the designed enclosure: [Buy a Raspberry PI Zero][829f44e8]
* A Raspberry Pi camera: [Buy generic version][09e7e3d1] or [Buy official version][09e7e3d1]
* (optional) A long micro-usb power cable: [Buy it](https://www.aliexpress.com/item/1-2-3-5m-10ft-90-degree-Angle-Long-Micro-USB-Cable-20cm-Sync-data-Charging/32794612542.html?spm=2114.01010208.3.12.Xj3wx5&ws_ab_test=searchweb0_0,searchweb201602_4_10065_10130_10068_10136_10137_10138_10060_10062_10141_10056_10055_10054_10059_10099_129_10103_10102_10096_10148_10052_10053_10050_10107_10142_10051_10143_10084_10083_10119_10080_10082_10081_10110_10111_10112_10113_10114_10037_10032_10078_10079_10077_10073_10070_10123_10120_10124-10120,searchweb201603_6,afswitch_1_afChannel,ppcSwitch_7,single_sort_0_default&btsid=fc05fbd8-0d8a-47c8-b643-02df18983f6f&algo_expid=bb5c67b9-9680-48f5-8c33-d24c88072ce4-1&algo_pvid=bb5c67b9-9680-48f5-8c33-d24c88072ce4)
Expand Down Expand Up @@ -82,7 +82,7 @@ sudo nano /etc/rc.local
Add the following command below the comment, but leave the line exit 0 at the end, then save the file and exit

```
motion -c /home/pi/pigeon/pigeon.conf &
motion -c /home/pi/pigeon/pigeon.conf
```

To finalize, make sure you are using the right timezone, so the camera clips date will make sense to you.
Expand Down
16 changes: 8 additions & 8 deletions pigeon_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Pigeon - Open-source cloud camera
# http://github.com/geraldoramos/pigeon
# Download 3D printing (STL) files on Thingverse.com
# Download 3D printing (STL) files on http://www.thingiverse.com/thing:2230707
#
# Copyright (C) 2010-2017 Geraldo Ramos <[email protected]>
#
Expand All @@ -28,14 +28,14 @@ CONF_BUILD2='conf_builder2.conf'

echo "Starting Pigeon installation" &&
echo "Updating..." &&
# sudo apt-get update &&
# sudo apt-get dist-upgrade &&
sudo apt-get update &&
sudo apt-get dist-upgrade &&
echo "Installing Motion detection software" &&
# wget https://github.com/Motion-Project/motion/releases/download/release-4.0.1/pi_jessie_motion_4.0.1-1_armhf.deb &&
# sudo apt-get install gdebi-core &&
# sudo gdebi pi_jessie_motion_4.0.1-1_armhf.deb &&
wget https://github.com/Motion-Project/motion/releases/download/release-4.0.1/pi_jessie_motion_4.0.1-1_armhf.deb &&
sudo apt-get install gdebi-core &&
sudo gdebi pi_jessie_motion_4.0.1-1_armhf.deb &&
echo "Installing Dropbox-Uploader" &&
# sudo ./dropbox_uploader.sh &&
sudo ./dropbox_uploader.sh &&
echo -n "Do you want to setup a password to access the live feed? Y/n:"
read password
if [ $password == "y" ] || [ $password == "Y" ] || [ $password == "Yes" ] || [ $password == "yes" ]
Expand All @@ -49,7 +49,7 @@ if [ $password == "y" ] || [ $password == "Y" ] || [ $password == "Yes" ] || [ $
rm -rf $CONF_BUILD
rm -rf $CONF_BUILD2
fi
# sudo motion -c $CONF_FINAL &&
sudo motion -c $CONF_FINAL &&
echo "=========================="
echo "Installation completed and service started" &&
echo "You can add the following command to your 'rc.local' file to run on startup:" &&
Expand Down

0 comments on commit 8f74727

Please sign in to comment.