On Saturday I received an email from Linux Voice with download instructions for Issue 1. I don’t know if you’ve heard of Linux Voice, but it’s a brand new crowd-funded Linux magazine (they ran an IndieGoGo campaign in November/December 2013). It’s in print and digital formats. They needed £90,000 to get it up and running. In the end they raised £127,603. But I Don’t Buy Magazines Any More? I haven’t bought a magazine for several years. There’s so much information on the web these days that I don’t really bother with them any more. But, […more…]
Today we’re going to take a photo, overlay some text and graphics on it and then tweet it. In this series, we’ve been building a Raspberry Pi Twitter app and we’re adding more to it. This is a great way to develop software. Add things one step at a time and don’t move on to the next part until it works well, and you understand it. Why Would You Want To Do This? Let me backtrack and explain why I wanted to do this in the first place. I have a weather station running on […more…]
There was a Raspberry Jam in Cambridge on Saturday. I went along to help Carrie-Anne Philbin at the Sonic Pi workshop. I also took the two HDMIPi prototypes to display. Because I’ve been doing a series on making a Twitter App on the Pi, I decided that it’d be fun to use it to tweet some photos live from the event. So, armed with a pre-tested script and the wifi login details, I set it up. And I have to say it worked quite well in the quieter moments when there weren’t millions of people […more…]
Today it gets a bit more exciting. We’re going to take a photo with the Raspberry Pi camera and tweet it. Previously in the series we’ve covered how to: read twitter follower data in from your twitter account and pick one at random; make a simple text tweet at the command line, with a default tweet; tweet system information, like date and temperature. These are basic building blocks for manipulating a twitter account from your Raspberry Pi. So what do we need to know about tweeting photos? File Size Limits The maximum photo file size […more…]
Today I’m going to show you how to tweet some system information from your Raspberry Pi. In part 2, we did a basic tweet entered at the command line, with a standard, fixed, default message if no tweet text was entered. But That Default Text was Pretty Boring So let’s do something more fun with it. Let’s make it tweet the time, date and processor temperature if you don’t enter any tweet text. I got the ‘tweet the cpu temperature’ idea from Chris Mobberly’s blog. Here’s a condensed code snippet we’re going to borrow from […more…]
In late October I started a series on Twitter and Python tweepy. Then it got pushed to one side by HDMIPi. But now I’ve managed to find some “recreational” time to play with tweepy a bit more. So in this post, which is part 2, I’m going to show you how to post a tweet using a Python program on the Raspberry Pi. Create Your Twitter App Create a twitter app on your twitter account, as we did in part 1 here Give Your App Permission to Write Then make your app read/write. You won’t […more…]