russb78 / tweety-pi

Automagically post wildlife pictures to twitter with your Raspberry Pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tweety-pi

A Raspberry Pi Camera project that automagically snaps wildlife photos and tweets the images to your chosen Twitter account.

How it works

The project uses modmypi.com's HC-SR501 PIR Infrared Motion Sensor, the Raspberry Pi Camera board (using Dave Jones' excellent picamera pure Python library) and Tweepy (Twitter for Python!). When the PIR senses motion a picture is taken and posted to Twitter.

Simply set the project up by your bird table, or window box and leave tweety-pi to do all the heavy lifting while you work, rest or eat a Mars Bar. Just make sure you've got plenty of bird seed!

I recommend commenting out the update_twitter() function until you've tweaked the sensitivity of your PIR motion sensor so you don't inadvertently abuse the Twitter API.

This project was written by Russell Barnes for issue 138 of Linux User & Developer magazine.

About

Automagically post wildlife pictures to twitter with your Raspberry Pi

License:GNU General Public License v2.0


Languages

Language:Python 100.0%