Posts Tagged ‘ rss reader

Update for arduino / python / rss reader – Weather!

I just whipped up this script that checks and displays the weather through rssweather.com. As always, it requires feedparser, an arduino, and a lcd screen. It is currently configured to read Burlington Vt’s weather, so if you don’t live there – change it in the python file. Check out the commenting for more info. Click here to download the zip file. Arduino rss reader – Weather module

For those of you just tuning in – you might want to check out the original arduino rss reader post for more details

Also check out the twitter feed reader.

gmail notifier project (for dummies)

I’ve been really interested in doing J4mie’s Physical Gmail Notifier ever since it came out in February. I only recently dropped into the project and got to learn a lot about python, plists, and arduino auto-reset functionality. I’m going to share what I’ve learned because I think there are lots of other people out there struggling to make it work. This page doesn’t really offer much that J4mie didn’t already say – it just says it in a different way.

I’ll post the code below – one issue with the way J4mie posted his was that it appended line numbers to everything and messed with formatting. Python is _really_ picky about formatting! All of the files are zipped HERE. It consists of three documents -

1) one python script that logs into your gmail rss feed and checks your total number of new messages. It then sends either an ‘m’ or an ‘n’ to the serial port.

2) one arduino sketch that tells the arduino to turn on or off a light based on the serial input

3) one .plist file that tells your mac (sorry pcs!) to run the python script every 60 seconds. If you run windows or linux then I’m sure there is something you can do to schedule this. You could also just set it to loop until quit. (to quit a script in terminal hit control-c)

Read more