<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Unconventional Everything (Mikamai) &#187; Massimo Banzi</title>
	<atom:link href="http://blog.mikamai.com/tag/massimo-banzi/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mikamai.com</link>
	<description>Blogging on MIKAMAI and what it's up to: social media, startups and unconventional technologies</description>
	<lastBuildDate>Wed, 04 Aug 2010 13:36:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Slow Lighting Event in Milan</title>
		<link>http://blog.mikamai.com/2009/04/slow-lighting-event-in-milan/</link>
		<comments>http://blog.mikamai.com/2009/04/slow-lighting-event-in-milan/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 09:48:34 +0000</pubDate>
		<dc:creator>Ivan Vaghi</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Glam]]></category>
		<category><![CDATA[Italiano]]></category>
		<category><![CDATA[Trends]]></category>
		<category><![CDATA[Unconventional]]></category>
		<category><![CDATA[youtube]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[Cloudify]]></category>
		<category><![CDATA[Edoardo Piccolotto]]></category>
		<category><![CDATA[Federico Feroldi]]></category>
		<category><![CDATA[Ivan Vaghi]]></category>
		<category><![CDATA[Massimo Banzi]]></category>
		<category><![CDATA[metissage]]></category>
		<category><![CDATA[Socialtronics]]></category>
		<category><![CDATA[Tinker.it]]></category>

		<guid isPermaLink="false">http://blog.mikamai.com/?p=689</guid>
		<description><![CDATA[English We started out with a few events every couple of months and now it looks like there is something new every day. This is a video from last sunday Slow Lighting Event, a collaboration between Tinker.it, MIKAMAI, Metissage, Cloudify, Edoardo Piccolotto and many many other people that turned up there.  We built interactive lamps connected [...]]]></description>
			<content:encoded><![CDATA[<p><object width="560" height="340" data="http://www.youtube.com/v/p_sjdJTCp5k&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/p_sjdJTCp5k&amp;hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /></object></p>
<p><strong><em>English</em></strong></p>
<p>We started out with a few events every couple of months and now it looks like there is something new every day. This is a video from last sunday Slow Lighting Event, a collaboration between <a href="http://tinker.it" target="_blank">Tinker.it</a>, <a href="http://mikamai.com">MIKAMAI</a>, <a href="http://www.arcimetissage.org/" target="_blank">Metissage</a>, <a href="http://cloudify.me" target="_blank">Cloudify</a>, <a href="http://www.aninternetvoice.com/" target="_blank">Edoardo Piccolotto</a> and many many other people that turned up there.  We built interactive lamps connected to twitter and facebook via some restful API that can be used by the <a href="http://arduino.cc/blog/" target="_blank">Arduino</a>.</p>
<p><strong><em>Italiano</em></strong></p>
<p>Prima era un evento ogni paio di mesi.. ora c&#8217;e&#8217; da fare qualcosa quasi ogni giorno. Se sopravvivviamoa questo mese sarà un successo :-)  Questo è un video dell&#8217;evento Slow Lighting di domenica scorsa, fatto in collaborazione da <a href="http://tinker.it" target="_blank">Tinker.it</a>, <a href="http://mikamai.com">MIKAMAI</a>, <a href="http://www.arcimetissage.org/" target="_blank">Metissage</a>, <a href="http://cloudify.me" target="_blank">Cloudify</a>, <a href="http://www.aninternetvoice.com/" target="_blank">Edoardo Piccolotto</a> e un sacco di altra gente che è venuta a trovarci.  Abbiamo costruito lampade interattive connesse ai social network tramite una API Rest scritta in ruby on rails e che permette agli <a href="http://arduino.cc/blog/" target="_blank">Arduino</a> che comandano le lampade di mediare informazioni social attinte in tempo reale dalla rete.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mikamai.com/2009/04/slow-lighting-event-in-milan/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quando Arduino va all&#8217;Hack Up&#8230;</title>
		<link>http://blog.mikamai.com/2009/03/quando-arduino-va-allhack-up/</link>
		<comments>http://blog.mikamai.com/2009/03/quando-arduino-va-allhack-up/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 16:11:43 +0000</pubDate>
		<dc:creator>Andrea Reginato</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Italiano]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[hack-up]]></category>
		<category><![CDATA[icon media lab]]></category>
		<category><![CDATA[Massimo Banzi]]></category>
		<category><![CDATA[meeting]]></category>
		<category><![CDATA[milano]]></category>
		<category><![CDATA[workshop]]></category>

		<guid isPermaLink="false">http://blog.mikamai.com/?p=566</guid>
		<description><![CDATA[&#8230;salta fuori un gran bel fine settimana, come minimo! Il 28 e 29 marzo 2009 Tinker.it e LBi IconMedialab organizzano un workshop su Arduino a Milano. Trovate tutte le info qui. Il workshop base di Arduino sarà tenuto da Massimo Banzi, co-fondatore di Arduino, e si focalizza su un’introduzione pratica alla piattaforma Arduino: una piattaforma [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">&#8230;salta fuori un gran bel fine settimana, come minimo!</p>
<p align="justify"><img class="alignnone size-full wp-image-567" title="arduino" src="http://blog.mikamai.com/wp-content/uploads/2009/03/arduino.jpg" alt="arduino" width="400" height="300" /></p>
<p align="justify">Il 28 e 29 marzo 2009 <a title="tinker" href="http://www.tinker.it/" target="_blank">Tinker.it </a>e <a title="iconmedialab" href="http://www.iconmedialab.it/" target="_blank">LBi IconMedialab</a> organizzano un workshop su Arduino a Milano. Trovate tutte le info <a title="workshop arduino" href="http://www.tinker.it/it/now/2009/03/10/workshop-arduino-a-milano-28-e-29-marzo/" target="_blank">qui.</a></p>
<blockquote>
<p align="justify"><em><span style="color: #808080;">Il workshop base di Arduino sarà tenuto da Massimo Banzi, co-fondatore di Arduino, e si focalizza su un’introduzione pratica alla piattaforma Arduino: una piattaforma di prototipazione elettronica per creativi e professionisti. Ai partecipanti verrà data una visione d’insieme del mondo dell’interaction Design, della storia di Arduino e le sue applicazioni, poi messe in pratica individualmente o in gruppi sviluppando un progetto interattivo.</span></em></p>
</blockquote>
<p align="justify">Per domenica 29 invece stiamo pensando a un&#8217;interazione costruttiva tra i partecipanti al workshop e il nostro <a title="Hack Up" href="http://hack-up.org" target="_blank">Hack Up</a>! Così portiamo avanti <a title="hack up february 22" href="http://blog.mikamai.com/2009/02/any-given-hack-up-sunday/" target="_blank">le esperienze di questi mesi.</a></p>
<p align="justify">
]]></content:encoded>
			<wfw:commentRss>http://blog.mikamai.com/2009/03/quando-arduino-va-allhack-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connect to the internet of things with Pachubero, a Pachube wrapper for Ruby</title>
		<link>http://blog.mikamai.com/2009/01/internet-of-things-pachubero-pachube-wrapper-for-ruby/</link>
		<comments>http://blog.mikamai.com/2009/01/internet-of-things-pachubero-pachube-wrapper-for-ruby/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 01:30:49 +0000</pubDate>
		<dc:creator>Ivan Vaghi</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Unconventional]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[Chiaroscuro]]></category>
		<category><![CDATA[Internet of Things]]></category>
		<category><![CDATA[Massimo Banzi]]></category>
		<category><![CDATA[Pachube]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[Tinker.it]]></category>
		<category><![CDATA[Usman Haque]]></category>

		<guid isPermaLink="false">http://blog.mikamai.com/?p=325</guid>
		<description><![CDATA[Here at MIKAMAI we have been playing a lot with Arduino recently. It&#8217;s all Massimo&#8216;s fault, really :-) My good friend Massimo has been giving us boards and books and we have been participating and helped organizing events such as the Hack-Up and the DorkBot Milano, where we played a  lot with both Arduino and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://pachube.com"><img class="alignnone size-full wp-image-332" title="pachubepic" src="http://blog.mikamai.com/wp-content/uploads/2009/01/pachubepic.png" alt="pachubepic" width="559" height="186" /></a></p>
<p>Here at <a href="http://mikamai.com">MIKAMAI</a> we have been playing a lot with <a title="posts about arduino" href="http://tinker.it/now/category/arduino/" target="_blank">Arduino</a> recently.</p>
<p>It&#8217;s all <a title="Massimo @tinker.it" href="http://www.tinker.it/en/People/HomePage" target="_blank">Massimo</a>&#8216;s fault, really :-)</p>
<p>My good friend Massimo has been giving us <a title="arduino boards" href="http://www.flickr.com/photos/mikamai/3100495678/">boards</a> and <a title="arduino book" href="http://www.flickr.com/photos/mikamai/3100495772/">books</a> and we have been participating and helped organizing events such as the <a href="http://www.hack-up.org/">Hack-Up</a> and the <a href="http://dorkbot.org/dorkbotmil/">DorkBot Milano</a>, where we played a  lot with both Arduino and Ruby.</p>
<p>The next logical step was to have Arduino boards talking to each other via the internet over some kind of ruby-based routing system.  Massimo pointed out an existing system, <a href="http://pachube.com/" target="_blank">Pachube</a> &#8211; which people in the know pronounce pach-be, but sound much cooler as pa-chu-be.</p>
<p>Pachube is a platform where people can register different kinds of sensors from all over the world.  You can ask for an API Key to receive semi-realtime feeds coming from any of the sensors.  The potential for artists and interaction designers is simply amazing.</p>
<p>A couple of weeks ago I was in London and I met the author, <a title="usman haque site" href="http://www.haque.co.uk/" target="_blank">Usman Haque</a>.  Besides being an all-around cool guy with whom I share many interests, Usman infected me with the pachube virus.  You can have a lamp lightning up in Milano when your loved one gets home in London, you can monitor your energy consumption or you can get your plant to twitter you when it&#8217;s running out of water.</p>
<p>As I left his place I took out the laptop and I started coding from the bus.. We put together Pachubero, a very very simple ruby library to connect to Pachube and request data from the feeds.</p>
<p>You can <a title="pachubero on github" href="http://github.com/mikamai/pachubero" target="_blank">get Pachubero from GitHub</a>.</p>
<p>First of all you must have a pachube key.  If you don&#8217;t, you can set the key variable to :mock to use fake example data.  If you don&#8217;t have a key, <a title="get a pachube key" href="http://mikamai.com/contact-us">write us for an invitation</a>. I have a few of them still left.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'pachubero'</span>
&nbsp;
PACHUBE_KEY = <span style="color:#ff3333; font-weight:bold;">:mock</span>
&nbsp;
pachube = Pachube.<span style="color:#9900CC;">new</span> PACHUBE_KEY</pre></div></div>

<p>you can then iterate through the feeds and get their titles</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#006666;">1202</span>, <span style="color:#006666;">1203</span><span style="color:#006600; font-weight:bold;">&#93;</span>.<span style="color:#9900CC;">each</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>n<span style="color:#006600; font-weight:bold;">|</span>
&nbsp;
  <span style="color:#CC0066; font-weight:bold;">puts</span> pachube.<span style="color:#9900CC;">feed</span><span style="color:#006600; font-weight:bold;">&#40;</span>n<span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">title</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>you can also get the info of a specific feed</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">f = pachube.<span style="color:#9900CC;">feed</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006666;">1202</span><span style="color:#006600; font-weight:bold;">&#41;</span> 
&nbsp;
<span style="color:#CC0066; font-weight:bold;">puts</span> f.<span style="color:#9900CC;">id</span>
&nbsp;
<span style="color:#CC0066; font-weight:bold;">puts</span> f.<span style="color:#9900CC;">title</span>
&nbsp;
<span style="color:#CC0066; font-weight:bold;">puts</span> f.<span style="color:#9900CC;">status</span>
&nbsp;
<span style="color:#CC0066; font-weight:bold;">puts</span> f.<span style="color:#9900CC;">description</span></pre></div></div>

<p>and get all the data out of it</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">f.<span style="color:#9900CC;">data</span> <span style="color:#9966CC; font-weight:bold;">do</span> <span style="color:#006600; font-weight:bold;">|</span>tag, v, min, max<span style="color:#006600; font-weight:bold;">|</span>
&nbsp;
  <span style="color:#CC0066; font-weight:bold;">puts</span> <span style="color:#996600;">'-----'</span>
&nbsp;
  <span style="color:#CC0066; font-weight:bold;">puts</span> tag
&nbsp;
  <span style="color:#CC0066; font-weight:bold;">puts</span> v
&nbsp;
  <span style="color:#CC0066; font-weight:bold;">puts</span> min
&nbsp;
  <span style="color:#CC0066; font-weight:bold;">puts</span> max
&nbsp;
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>data can change in time, so you can keep polling while refreshing the feed. Pachube is not allowing a refresh rate greater than 5 seconds for the time being.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;">6.<span style="color:#9900CC;">times</span> <span style="color:#9966CC; font-weight:bold;">do</span>
&nbsp;
  f.<span style="color:#9900CC;">refresh</span>
&nbsp;
  f.<span style="color:#9900CC;">value</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#006666;">0</span><span style="color:#006600; font-weight:bold;">&#93;</span>
&nbsp;
  <span style="color:#CC0066; font-weight:bold;">sleep</span> <span style="color:#006666;">10</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

<p>Have fun with Pachube and Pachubero and let us know how you are using it.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mikamai.com/2009/01/internet-of-things-pachubero-pachube-wrapper-for-ruby/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
