top of page
Writer's pictureNick Lansley

Live weather data and images!

I wanted to take the peaceful few days between Christmas and New Year to really refresh the data collected from the local weather that helps our Raspberry Pi-powered Storm Shutters Controller (known as ‘WeatherPi’) make good decisions about when to lower and raise the protective barriers from our sea-facing windows.

I wanted to share the data and needed:

  1. An API that can communicate with WeatherPi to easily interrogate the data, and

  2. A web application that could use the API to provide an interesting front-end to sort and chart the data.

I’m delighted to say that the service is now live, and I encourage you to have a play! You’re welcome to look behind the scenes at the two JavaScript files – one of them a web worker running in your browser on a separate CPU thread – and see the links to the API itself and how it used.

You can also watch the live view updated once every 60 seconds by another Raspberry Pi watching the sea through an upstairs window!

Start your journey at: https://lansley.com/weatherdata

May I take this opportunity to wish you a happy, healthy and prosperous 2019. I think it’s going to be quite a year full of more Trump and Brexit but hey, at least you and I can escape into tech and a spot of programming 🙂

Cheers
Nick
26 views0 comments

Recent Posts

See All

The Daily Peacehaven Timelapse Video

A couple of posts ago I wrote about the ‘WeatherPi’ Raspberry Pi that collects the latest weather readings every 10 minutes and make a...

Comments


Post: Blog2_Post
bottom of page