Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

The Squirrel Cafe - An Internet Connected Feeder

A project to validate the following assumption:

"The amount of nuts taken by squirrels from a squirrel feeder correlates with upcoming winter weather conditions significantly."

The IoT Squirrel Feeder's homepage: http://www.TheSquirrelCafe.com

Feeder Wiring:

Prerequisites

Currently, I'm using a Logitech C270 USB webcam to capture photos of the squirrels at the nut feeder. Therefore you need to install a USB Webcam package. I've opted for the 'fswebcam' package.

sudo apt-get install fswebcam

Useful shell commands

A 'live' view of a logfile: tail -f /logs/feeder.log

Start a vncserver: vncserver :1

Start feeder.py in the background: python feeder.py &

List 'feeder' processes running on the system: ps aux | grep feeder

Kill process by PID: kill PID or kill KILL PID

Useful Weblinks

@reboot sudo sh /home/pi/peanut/launcher.sh >/home/pi/peanut/logs/cronlog.log 2>&1

You don't need this crontab entry, if you have implemented the restart launcher.sh script on exceptions as described below.

*/5 * * * * pgrep -f -u root feeder.py || /home/pi/peanut/launcher.sh >/home/pi/peanut/logs/cronlog.log 2>&1

About

The IoT Squirrel Feeder

Resources

Releases

No releases published
You can’t perform that action at this time.