Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
project:openletten [2011/10/01 09:40] – tamberg | project:openletten [2014/03/29 14:54] – [Source] tamberg |
---|
| |
| |
Letten is a place at the Limmat river right behind the ZHdK building in Zürich. | This project is less about "data" than the others, and more about "open". Letten is a place at the Limmat river right behind the ZHdK building (where MakeOpenData is hosted) in Zürich, where lots of people like to swim. |
| |
| |
The project idea is described here: | {{http://farm5.static.flickr.com/4046/4681369986_55b33bd2fe.jpg}} |
| |
| |
[[http://makeopendata.ch/forum/discussion/5/physical-mashup-of-a-multicolor-led-and-the-current-water-temperature-at-letten-environmental-data|http://makeopendata.ch/forum/discussion/5/physical-mashup-of-a-multicolor-led-and-the-current-water-temperature-at-letten-environmental-data]] | Photo by Yago Veith [[http://www.yago1.com/|www.yago1.com]] used under (CC BY-NC-ND 2.0) |
| |
| |
| Daily temperature measurements taken at this exact location are readily available on the Web, but they are published in a hard to parse PDF document oriented towards "scientific" readers. This projects shows what is necessary to make use of the same data to answer the simple question "Should I go swimming today". Different visualizations are shown as a proof of concept. Finally a mashup connects the temperature to an LED to get a basic, physical "ambient notification". |
| |
| |
| |
===== Data ===== | ===== Data ===== |
| |
| |
| First, the PDF data is parsed by HwPdfToPachube.exe, a rather complex C# program given the simple task of extracting the current temperature. IT took me 4 hours to write it. The data is then published to Pachube, a sensor platform based on open data formats. There might of course be other such platforms that could be used. |
| |
| |
* [[http://www.hw.zh.ch/hochwasser/mac/at/0851.PDF|http://www.hw.zh.ch/hochwasser/mac/at/0851.PDF]] (Source data, PDF ) | * [[http://www.hw.zh.ch/hochwasser/mac/at/0851.PDF|http://www.hw.zh.ch/hochwasser/mac/at/0851.PDF]] (Source data, PDF ) |
| |
| |
| {{http://farm7.static.flickr.com/6170/6200337120_35d40a5a74.jpg}} |
| |
| |
* [[https://pachube.com/feeds/36745|https://pachube.com/feeds/36745]] ("Open" data, available as XML, JSON, CSV feed) | * [[https://pachube.com/feeds/36745|https://pachube.com/feeds/36745]] ("Open" data, available as XML, JSON, CSV feed) |
* [[http://www.tamberg.org/makeopendata/2011/googlecharts.html|http://www.tamberg.org/makeopendata/2011/googlecharts.html]] (Google Chart visualisation, JSONP) | |
* [[http://www.tamberg.org/makeopendata/2011/pachudial.html|http://www.tamberg.org/makeopendata/2011/pachudial.html]] (PachuDial visualisation, Flash) | |
* [[http://www.tamberg.org/makeopendata/2011/jquery.html|http://www.tamberg.org/makeopendata/2011/jquery.html]] (Simple visualisation, JSONP) | |
| |
| |
| {{http://farm7.static.flickr.com/6165/6200379922_72b94177dd.jpg}} |
| |
| |
| ===== Visualization ===== |
| |
| |
| Once the data is available in an open format it's quite easy to consume and display it in a way that suits the consumer rather than the publisher of the data (the visualizations below contain about 3 lines of code to get the data, compared to the 4 hours above). While the original PDF contains a lot more information, the current temperature is what's most interesting if you're about to decide if you should go for a swim. There is no way for the government to cater to such needs as they might be very special or of concern to a small minority only. Data in an open format empowers such groups to take action themselves and use the data they paid for with tax money in a way that serves them well. |
| |
| |
| * [[http://www.tamberg.org/makeopendata/2011/pachudial.html|http://www.tamberg.org/makeopendata/2011/pachudial.html]] (PachuDial visualization, Flash, animated, live) |
| * [[http://www.tamberg.org/makeopendata/2011/jquery.html|http://www.tamberg.org/makeopendata/2011/jquery.html]] (Simple visualization, JSONP, live) |
| |
| |
| {{http://farm7.static.flickr.com/6029/6199785659_5184575d21.jpg}} |
| |
| |
| * [[http://www.tamberg.org/makeopendata/2011/googlecharts.html|http://www.tamberg.org/makeopendata/2011/googlecharts.html]] (Google Chart visualization including comfort zone, JSONP, live) |
| |
| |
| {{http://farm7.static.flickr.com/6172/6199785693_6d405e0e9b.jpg}} |
| |
| |
| * [[http://try.yaler.net/~arduino/led|http://try.yaler.net/~arduino/led]] (Arduino LED with a REST interface, LED color set by HTTP PUT request from LettenLedMashup.exe, sorry for the ads, 504 if offline) |
| |
| |
| {{http://farm7.static.flickr.com/6156/6200369058_06a3074337_o.png}} |
| |
| UPDATE, 29.03.2014 |
| |
| Here's a picture of an OpenLetten widget developed during the Samsung Smart TV Hackathon 2014. |
| |
| {{https://farm8.staticflickr.com/7426/13486537313_f17c997812.jpg}} |
===== Team ===== | ===== Team ===== |
| |
* [[:user:tamberg|tamberg]] | * [[:user:tamberg|tamberg]] |
| |
| |
| ===== Source ===== |
| |
| |
| * [[https://bitbucket.org/tamberg/makeopendata/src/e504f66b1b56/2011/OpenLetten/HwPdfToPachube.cs|https://bitbucket.org/tamberg/makeopendata/src/e504f66b1b56/2011/OpenLetten/HwPdfToPachube.cs]] |
| * [[https://bitbucket.org/tamberg/makeopendata/src/e504f66b1b56/2011/OpenLetten/LettenLedMashup.cs|https://bitbucket.org/tamberg/makeopendata/src/e504f66b1b56/2011/OpenLetten/LettenLedMashup.cs]] |
| * [[https://bitbucket.org/tamberg/samsungsmarttvhack|https://bitbucket.org/tamberg/samsungsmarttvhack]] |
| |
===== Links ===== | ===== Links ===== |
* [[http://en.wikipedia.org/wiki/JSONP|http://en.wikipedia.org/wiki/JSONP]] (Cross site scriptable JSON API convention) | * [[http://en.wikipedia.org/wiki/JSONP|http://en.wikipedia.org/wiki/JSONP]] (Cross site scriptable JSON API convention) |
* [[https://pachube.com/|https://pachube.com/]] (Sensor data platform based on open standards) | * [[https://pachube.com/|https://pachube.com/]] (Sensor data platform based on open standards) |
* [[http://yaler.org/|http://yaler.org/]] (Access to LED Web service running on Arduino) | * [[http://www.instructables.com/id/Arduino-Web-LED/|http://www.instructables.com/id/Arduino-Web-LED/]] (How-to, including source code) |
| * [[http://yaler.org/|http://yaler.org/]] (Access to LED Web service running on Arduino; Disclosure: I'm a founder of Yaler) |
| * [[http://makeopendata.ch/forum/discussion/5/physical-mashup-of-a-multicolor-led-and-the-current-water-temperature-at-letten-environmental-data|http://makeopendata.ch/forum/discussion/5/physical-mashup-of-a-multicolor-led-and-the-current-water-temperature-at-letten-environmental-data]] (initial discussion of the idea) |
| * [[http://www.thingiverse.com/thing:148319|http://www.thingiverse.com/thing:148319]] (09.09.2013) |
| |
| |
| Back to project overview: [[http://makeopendata.ch/doku.php?do=search&id=@project|http://makeopendata.ch/doku.php?do=search&id=@project]] |
| |
| {{tag>status:demo hardware eco needs:expert}} |