Shard Rain Cam

Willem, from The Secret Batcave in South London, is piqued with irritation by the Shard, which interrupts his view from pretty much everywhere he looks. The Shard, for non-Brits and for those Brits who have been living…in a cave, is 95 storeys of incongruous Qatari-owned phallomorphism designed by the guy behind the Pompidou Centre in Paris. It’s the tallest building in the EU, at 309.6 metres. It’s out of place, madly disproportionate, looms over the city like a great big monument to stupid domineering excess, dwarfs the Wren churches of the City of London and even the converted power station that houses the Tate gallery, and was described by John Prescott as being of “the highest architectural quality,” which really tells you all you need to know.

I do not like the Shard. I’m not a Luddite; I say this as a person with a great fondness for the Erotic Gherkin and the Spiral extension of the V&A that never got built. London’s a living city, and new buildings are part of its evolution. But good architecture has something to say; all the Shard has to say is “Whee! I’m bigger than you!”, while trying to stab you in the eye. (And trying to get you to fork over £25 to go to the top to have a look out of the window. It’s a Tourist Attraction, you see.)

At least I don’t live in London, though. Unlike poor Willem, who has to look at the damn thing every day.

But Willem has realised that his rage can be assuaged with a little dose of sour grapes, and that information is beautiful even if the Shard isn’t, so he’s hooked a Raspberry Pi up to a camera pointing at the thing to remind himself that life at the top of the Shard isn’t always a light-bathed soak in other people’s views.

I live in South London, which means that the everywhere I look the Shard stands over me. Now its reported that a flat in this tower of Babel will cost north of £30 million quid. Lets hope the lifts work.

 

This wonderful splash of cash got me thinking, basically you buy this flat for the view. Now living in Britain as I do, I know that the weather is not really designed for long distant views. This got me thinking; if its grey and raining for a day, how much does it cost? Quite a lot as it turns out:

 

£30,000000 / (365 *10) = £8230 a day.

 

That’s right, rain costs eight grand a day.

 

Lets just go over those figures a little. We assume a flat costs £30 million, The Telegraph claims its up to £50M, however the estate agents seem to differ and peg it at around £20M. I’ll do what economists do and guess a number and swear its based on an accurate model. Likewise I assume that the average nouveau riche nonce will keep the flat for about ten years (I assume they’ll either die in a car crash, coke overdose, or have to sell it to fund an expensive vice of some sort).

 

If we plug those numbers into my proprietary financial model algorithm, we see that £30M spread over ten years equates to £8230 a day (with rounding). I also assume that you buy this type of flat for the view. Dividing it further, each rainy hour costs around £342. It’s even higher if you don’t count the night time.

 

So why do I need a webcam? Well I want to find out how often the shard is obscured by rain, and therefore how much money has been eaten by the British weather and then laugh at the ****s who splashed so much cash. 

You can read more about why Willem put this cam together and how he did it on his website. He’s also made his timelapse software available, and explains how he quantifies “cloudiness” using the cam’s output.

The data the Pi receives is sent to a simple little website called What Can I See From the Shard. Here’s a screengrab:

Thank you, Willem. Your bitterness serves us all.

 


Judd would like a treat.

Presented without comment, because it’s perfect as it is. Thanks to John (would you believe this is his first ever bit of Python?), and thank you Judd! Python script and CAD design are available at NYCCNC.


Guest blog #7: Bird table webcam by Francis Agius

“You can know the name of that bird in all the languages of the world, but when you’re finished, you’ll know absolutely nothing whatever about the bird … So let’s look at the bird and see what it’s doing—that’s what counts.” – Richard Feynman (well, his dad Melville really)

And how do you see what the bird is doing? With a Raspberry Pi of course. Francis Agius tells us how :

A robin visits the table: click for video

Inspired by other web cam posts I wanted to set up a web cam that I could use to record my garden bird table. New to this sort of thing there were several hurdles to overcome! The main two were getting a reliable wireless set up and also being able to run the Raspberry Pi off a battery so I could leave it running free standing outdoors. I also wanted if possible to use Arch Linux as it is a very lean OS, less than 10 seconds to boot up! For wireless network I have used a Tplink WN722N USB stick, this is supported by Arch Linux without any extra difficult setup.

The innards

For power I already had a spare 12 volt car battery and found a fantastic DC to DC converter at Maplin which has two outputs, USB 5v at 0.6 amps good for the the RPi and a second 5 volt output at up to 3 amps perfect for a powered USB hub which runs the camera and the WiFi stick, making it possible to run the whole setup from a single 12 volt car battery power supply. There are probably cheaper ways to get 5 volts from a 12 volt car battery but the Maplin product is very tidy and easy to use. My Raspberry Pi is running Arch Linux with additional packages motion and ffmpeg installed, there are lots of post on how to set these up. I can forward info on my setup if this this will help anyone.

Sealed up and ready for action

So to summarize I am using Arch Linux running motion and ffmpeg, I use ssh connect to my Rpi and start motion running, pictures are captured to the Rpi sd card. On my windows machine Winscp is installed which is great for moving the captured files from the Raspberry Pi to windows.

Software

Raspberry Pi

  • Arch Linux
  • Motion
  • Ffmpeg

Windows

  • putty for ssh connection
  • Winscp to transfer files

Hardware

  • Tplink WN722N USB wifi adapter
  • Sweex Blackberry Black Usb Hd camera
  • Advent powered USB hub
  • Maplin A79 GW DC to DC converter
  • Old 12 volt car battery
  • Food storage container

Controlling a 7-segment display from half a world away

I am kind of in two minds about posting this little bit of frivolity from Jeremy Blythe: it’s the sort of ingenious, silly project that made me laugh when I saw it and I wanted to share it with you; but it’s hosted on a Raspberry Pi, and Raspberry Pis are not built for the sort of traffic that the things that get posted here tend to get. In short, once I’ve hit the publish button, it’s likely that this particular project will get knocked over – so if you can’t see it, wander over instead to Jeremy’s Raspberry Pi page for more inspiration, and try again later.

What Jeremy has done here is to use a Raspberry Pi to stream content from a webcam on a webpage. So far, so run-of-the-mill, you say. But the content he’s streaming is the output from a 7-segment LED display, also driven by the Raspberry Pi, which gets its instructions via the Raspberry Pi’s network connection from people like me with nothing better to do on the internet.

The entry from Santa Ana, California at the top (and the choice of number) is me. I'm in America again, bigging up the Raspberry Pi to anyone who will listen, and making Raspberry Pis 5000 miles away display numbers *because I can*. Click the image to visit the cam and to add your own number.

The webcam won’t be up all the time (Jeremy is using his Raspberry Pi for other things too), and, as I mentioned above, it’s unlikely to be up at all if everybody reading this tries to visit it at the same time. You can read more about the setup on Jeremy’s blog. Jeremy: apologies for accidentally DDoSing your Raspberry Pi. I did it with the best of intentions.