Rhea Myers

Logging Colours To ThingSpeak

ThingSpeak is a Free Software-based web service for publishing (geolocated) data. This makes it better than proprietary services for publishing data.

Using it is very easy, as this tutorial demonstrates. here’s some code I’ve written in the Python programming language to grab a palette of 8 colours from a webcam image of my studio every 10 minutes and publish it to a ThingSpeak “Channel”:


And here’s the resulting data, in JSON format:


Update [17th April 2011]

Thanks to ThingSpeak suggesting it, here’s a jQuery display of the colours:


It starts with the 100 most recent palettes, and adds them every 10 minutes as more are uploaded.