Regular Operation

Editing the parameters

Edit the file parameters.py by running,

nano parameters.py

and set the parameters to their desired values. In particular, make sure the TWEET, FLICKR and DBOX variables (which control whether photos are uploaded to the respective services) have the values you want them to have.

Note that there are three “delay” parameters, all measured in seconds. They play different roles:

Running the software

Once everything is set up, you can start the Paparazzi Birdfeeder by typing,

sudo python main.py

When it’s time to deploy the birdfeeder, you will likely do the following:

  1. Place the birdfeeder in its designated location.
  2. Turn on the Raspberry Pi.
  3. SSH into the Pi from another machine.
  4. Run,

    sudo python main.py &
    disown -h %1
    

The disown command will keep the process running even after you sever the SSH connection to the device.

A comprehensive log of all events (detections, photos being taken, photo uploads, and of course errors) is recorded as birdfeeder.log.