Raspberry Pi + Unicorn Hat = UK Election Seat Tracker

||||| 0 Like |||||

On Thursday 7th May 2015, the UK vote for who they want running the country next. Pete Taylor over at http://kimondo.co.uk/ devised a very cool “Swingometer” to track candidates that have signed up for “Concern World-Wide”.

Well, I loved the thought of this – but decided to write some code that would track the number of seats won on the night.

I am currently using http://www.electionforecast.co.uk/ as I can scrape their page for the information I need.

Here is a quick video of it in action:

Long story short – here is some code (it’s messy and a little buggy – I will be doing some code clean up later). It could be a lot better with procedures – but .. maybe I will get to that later).


Leave a Reply

Your email address will not be published. Required fields are marked *

Advertisment ad adsense adlogger