mhaddy / RPICatFeeder

Raspberry Pi Cat Feeder Code Version 2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RPICatFeeder

Documentation

My main website contains the inforatiom on building this cat feeder. http://drstrangelove.net/2013/12/raspberry-pi-power-cat-feeder-updates/

Info

Raspberry Pi Cat Feeder Code Version 2.

This code is based on the python-rpi.gpio modules version >=0.5.4-1.

You might have to manually remove the old GPIO library to get this work.

This program also requires adding the following python modules:

Installation

 sudo apt-get install python-pip
 sudo pip install astral
 sudo pip install pytz 
 sudo apt-get install python-rpi.gpio

Running

You can run the main script (Cat-Feeder-Button-pwm.py) in a secreen/byobu or even by adding it to /etc/rc.local to start a boot.

Email setup

To setup email, in the RPICatFeeder directory, create a file named email_settings.py. Then add the following lines to the email_settings.py file:

cat > email_settings.py
email_to = 'youremailATyourdomain'
email_gmail_user = 'gmail or google apps userid'
email_gmail_pwd = 'gmail or google apps password'

About

Raspberry Pi Cat Feeder Code Version 2.

License:Apache License 2.0


Languages

Language:Python 100.0%