<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>tag:www.local-guru.net,2005:/blog/tag/ical</id>
  <link type="text/html" href="http://www.local-guru.net" rel="alternate"/>
  <link type="application/atom+xml" href="http://www.local-guru.net/blog/tag/ical.atom" rel="self"/>
  <title>GuruBlog : Articles about ical</title>
  <subtitle>local-guru.net</subtitle>
  <updated>2009-02-15T08:15:00+01:00</updated>
  <generator>GuruBlog engine</generator>
  <entry>
    <id>tag:www.local-guru.net,2005:Article/126</id>
    <published>2009-02-15T08:15:00+01:00</published>
    <updated>2009-02-15T08:15:00+01:00</updated>
    <link type="text/html" href="http://www.local-guru.net//blog/2009/2/15/processing-ical-flowers-2-0" rel="alternate"/>
    <author>
      <name>Nikolaus Gradwohl</name>
    </author>
    <title type="html">processing ical-flowers-2.0</title>
    <category term="processing" scheme="http://www.local-guru.net/blog/tag/processing"/>
    <category term="arduino" scheme="http://www.local-guru.net/blog/tag/arduino"/>
    <category term="ruby" scheme="http://www.local-guru.net/blog/tag/ruby"/>
    <category term="visualization" scheme="http://www.local-guru.net/blog/tag/visualization"/>
    <category term="caldav" scheme="http://www.local-guru.net/blog/tag/caldav"/>
    <category term="ical" scheme="http://www.local-guru.net/blog/tag/ical"/>
    <category term="calendar" scheme="http://www.local-guru.net/blog/tag/calendar"/>
    <category term="ical4p" scheme="http://www.local-guru.net/blog/tag/ical4p"/>
    <category term="i2c" scheme="http://www.local-guru.net/blog/tag/i2c"/>
    <content type="html">&lt;p&gt;I made a new version of the &lt;a href="http://www.local-guru.net/blog/2008/12/06/processing-ical-flowers"&gt;ical flowers sketch&lt;/a&gt;
i wrote in dezember. This time it doesn't only show a flower for every event in my calender, it also shows&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the current weather (using the &lt;a href="http://code.google.com/p/rubyweather/"&gt;rubyweather&lt;/a&gt; library)&lt;/li&gt;
&lt;li&gt;the current temperature outside&lt;/li&gt;
&lt;li&gt;the min/max temperature outside&lt;/li&gt;
&lt;li&gt;the current temperature inside ( using my &lt;a href="http://www.local-guru.net/blog/2009/02/02/i2c-thermometer-on-arduino"&gt;arduino i2c thermometer sketch&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;the sky color changes depending on the current time&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;img src="http://www.local-guru.net/img/guru/icalflowers2-sc1.png" alt="ical-flowers screen1" /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="http://www.local-guru.net/img/guru/icalflowers2-sc2.png" alt="ical-flowers screen2" /&gt;&lt;/p&gt;

&lt;p&gt;the system consists of a ruby-proxy, an arduino sketch and a processing sketch.&lt;/p&gt;

&lt;p&gt;the ruby proxy starts a web-server on port 2000. It fetches the current weather using the
&lt;a href="http://code.google.com/p/rubyweather/"&gt;rubyweather gem&lt;/a&gt;, fetches the events from the configured caldav calenders, and
fetches the current temperature from the arduino using &lt;a href="http://ruby-serialport.rubyforge.org/"&gt;ruby-serial&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;the arduino sketch is basicaly the same as &lt;a href="http://www.local-guru.net/blog/2009/02/02/i2c-thermometer-on-arduino"&gt;in this blog post&lt;/a&gt;. the only change is
that the arduino only sends the temperature when the host sends a 'C' over the serial line&lt;/p&gt;

&lt;p&gt;the processing sketch finally fetches the data via http from the proxy and displays it ( using my &lt;a href="http://www.local-guru.net/blog/pages/ical4p"&gt;icap4p library&lt;/a&gt;.
the screen is updated every 1/2 hour using the method &lt;a href="http://www.local-guru.net/blog/2009/01/29/extra-low-framerates-in-processing"&gt;described here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;the code can be downloaded &lt;a href="http://www.local-guru.net/projects/flowers-2.0.zip"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;it's published under the LGPL&lt;/p&gt;

&lt;p&gt;have fun :-)&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>tag:www.local-guru.net,2005:Article/97</id>
    <published>2008-12-06T22:42:00+01:00</published>
    <updated>2008-12-06T22:42:00+01:00</updated>
    <link type="text/html" href="http://www.local-guru.net//blog/2008/12/6/processing-ical-flowers" rel="alternate"/>
    <author>
      <name>Nikolaus Gradwohl</name>
    </author>
    <title type="html">processing ical-flowers</title>
    <category term="processing" scheme="http://www.local-guru.net/blog/tag/processing"/>
    <category term="visualization" scheme="http://www.local-guru.net/blog/tag/visualization"/>
    <category term="ical" scheme="http://www.local-guru.net/blog/tag/ical"/>
    <category term="calendar" scheme="http://www.local-guru.net/blog/tag/calendar"/>
    <category term="ical4p" scheme="http://www.local-guru.net/blog/tag/ical4p"/>
    <category term="flower" scheme="http://www.local-guru.net/blog/tag/flower"/>
    <content type="html">&lt;p&gt;I just made a &lt;a href="http://www.processing.org"&gt;processing&lt;/a&gt; sketch using my &lt;a href="http://www.local-guru.net/blog/pages/ical4p/"&gt;ical4p&lt;/a&gt; library.
The &lt;a href="http://www.local-guru.net/processing/flowers/"&gt;programm draws a flower&lt;/a&gt; for every event in a given ical-file. The
more events the calender has, the more beautifull the flower-garden is :-)&lt;/p&gt;

&lt;p&gt;&lt;img src="http://www.local-guru.net/img/guru/ical-flowers.png" alt="ical-flowers" /&gt;&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>tag:www.local-guru.net,2005:Article/96</id>
    <published>2008-12-06T22:26:00+01:00</published>
    <updated>2008-12-06T22:26:00+01:00</updated>
    <link type="text/html" href="http://www.local-guru.net//blog/2008/12/6/ical4p-processing-lib" rel="alternate"/>
    <author>
      <name>Nikolaus Gradwohl</name>
    </author>
    <title type="html">ical4p Processing lib</title>
    <category term="processing" scheme="http://www.local-guru.net/blog/tag/processing"/>
    <category term="ical" scheme="http://www.local-guru.net/blog/tag/ical"/>
    <category term="calendar" scheme="http://www.local-guru.net/blog/tag/calendar"/>
    <category term="ical4p" scheme="http://www.local-guru.net/blog/tag/ical4p"/>
    <content type="html">&lt;p&gt;i have written a small wrapper around &lt;a href="http://ical4j.sourceforge.net/"&gt;ical4j&lt;/a&gt; written by Ben Fortuna.
This allows to write &lt;a href="http://www.processing.org"&gt;processing&lt;/a&gt; sketches, that visualize data from ical files.&lt;/p&gt;

&lt;p&gt;i included a small example in the lib showing how to draw a timeline based on an ical file.&lt;/p&gt;

&lt;p&gt;i also have set up &lt;a href="http://www.local-guru.net/blog/pages/ical4p"&gt;a project-page&lt;/a&gt;
for it. The libray is released under the LGPL.&lt;/p&gt;
</content>
  </entry>
</feed>

