<?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>l i k a . b e</title>
	<atom:link href="http://lika.be/wp/feed/" rel="self" type="application/rss+xml" />
	<link>http://lika.be/wp</link>
	<description>Bouw, kook en electronica website van Katleen en Lieven</description>
	<lastBuildDate>Sat, 07 Jan 2012 21:34:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Hostname instellen in Mac OS X</title>
		<link>http://lika.be/wp/2012/01/hostname-zetten-in-mac-os-x/</link>
		<comments>http://lika.be/wp/2012/01/hostname-zetten-in-mac-os-x/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 21:33:35 +0000</pubDate>
		<dc:creator>Lieven</dc:creator>
				<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://lika.be/wp/?p=902</guid>
		<description><![CDATA[Sinds een tijdje was de hostnaam in de terminal van mijn iMac veranderd in de originele hostname met een prefix -2. Nogal storend, maar wel eenvoudig te fixen&#8230; The scutil command will set the following 3 items: 1) ComputerName (AppleTalk Name, SharingPrefPane, “Computer Name”) 2) LocalHostName (‘DNS’ name, how to get to a computer on [...]]]></description>
			<content:encoded><![CDATA[<p>Sinds een tijdje was de hostnaam in de terminal van mijn iMac veranderd in de originele hostname met een prefix -2.</p>
<p>Nogal storend, maar wel eenvoudig te fixen&#8230;</p>
<p><span id="more-902"></span></p>
<p>The scutil command will set the following 3 items:<br />
1) ComputerName (AppleTalk Name, SharingPrefPane, “Computer Name”)<br />
2) LocalHostName (‘DNS’ name, how to get to a computer on a network by hostname, the ‘Edit’ button in Sharing PrefPane)<br />
3) HostName (UNIX hostname, what shows up in terminal.)</p>
<p>For 1 and 2, scutil will make changes to this file: /Library/Preferences/SystemConfiguration/preferences.plist (Root -&gt; System -&gt; System)</p>
<p>SharingPrefPane ALSO makes changes to this .plist</p>
<p>So, if you’re a SysAdmin, like me, you can set ComputerName and LocalHostName by command line using:<br />
sudo scutil –set ComputerName compname<br />
sudo scutil –set LocalHostName compname</p>
<p>Deze info is <a href="http://excitedcuriosity.wordpress.com/2007/08/24/mac-os-x-hostname-determination/">hier</a> te vinden.</p>
]]></content:encoded>
			<wfw:commentRss>http://lika.be/wp/2012/01/hostname-zetten-in-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hoeveel verbruikt een zonneboiler?</title>
		<link>http://lika.be/wp/2011/10/hoeveel-verbruikt-een-zonneboiler/</link>
		<comments>http://lika.be/wp/2011/10/hoeveel-verbruikt-een-zonneboiler/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 19:41:52 +0000</pubDate>
		<dc:creator>Lieven</dc:creator>
				<category><![CDATA[Bouw]]></category>
		<category><![CDATA[Technische info]]></category>

		<guid isPermaLink="false">http://lika.be/wp/?p=888</guid>
		<description><![CDATA[Al die elektronica in een laagenergiewoning, hoeveel energie verbruikt dat eigenlijk? Tijd om eens wat nieuwe metingen te starten&#8230; Het eerste &#8216;slachtoffer&#8217; van de meetcampagne is de zonneboiler. Die levert natuurlijk heel wat energie aan onze woning in de vorm van warm water. Die energie wordt gebruikt voor de productie van sanitair warm water. De [...]]]></description>
			<content:encoded><![CDATA[<p>Al die elektronica in een laagenergiewoning, hoeveel energie verbruikt dat eigenlijk? Tijd om eens wat nieuwe metingen te starten&#8230;</p>
<p><span id="more-888"></span>Het eerste &#8216;slachtoffer&#8217; van de meetcampagne is de zonneboiler. Die levert natuurlijk heel wat energie aan onze woning in de vorm van warm water. Die energie wordt gebruikt voor de productie van sanitair warm water. De zeldzame momenten dat de zon in de tussenseizoenen de hele dag schijnt kunnen we ook de verwarming een klein duwtje geven met de warmte van de zon. Maar wat kost ons dit nu aan elektriciteit?</p>
<p>In zo&#8217;n installatie zit naast het boilervat natuurlijk een &#8216;regeling&#8217; en een pomp. De regeling stuurt de pomp aan, en de pomp zorgt ervoor dat het warme water uit de panelen in de boiler terechtkomt. De regeling zet de pomp aan als de panelen warmer zijn dan het water onderaan het boilervat. Hierbij probeert de regeling om het temperatuursverschil tussen de uitgang van de panelen en de bodem van het boilervat op 13 K te houden. Om dit effect te realiseren wordt de snelheid van de pomp geregeld. Hoe groter het temperatuursverschil, hoe sneller de pomp draait.</p>
<p>De regeling en de pomp verbruiken dus elektrische energie. Hoeveel precies heb ik de laatste weken eens gemeten. We hadden geluk met het mooie weer, de pomp heeft redelijk wat uren gedraaid.</p>
<p>Spoiler: het verbruik valt heel goed mee, zeker in het perspectief van de hoeveelheid energie die de zonneboiler oplevert in de vorm van warm water.</p>
<p>De grafiek met het elektriciteitsverbruik over de verschillende dagen van de laatste maand vind je hieronder.  Op heel zonnige dagen schommelt het dagverbruik rond de 250 Wh, terwijl het sluipverbruik van de regeling onder de 1W zit (20 Wh per dag) op dagen dat de zon niet schijnt. Je kan op de figuur klikken om de grafiek in detail te bekijken.</p>
<p><a href="http://lika.be/wp/wp-content/uploads/2011/10/ScreenHunter_03-Oct.-27-21.02.jpg"><img class="aligncenter size-large wp-image-889" title="ScreenHunter_03 Oct. 27 21.02" src="http://lika.be/wp/wp-content/uploads/2011/10/ScreenHunter_03-Oct.-27-21.02-512x228.jpg" alt="" width="512" height="228" /></a></p>
<p>De bijhorende temperaturen van het boilervat zie je in de volgende figuur.</p>
<p><a href="http://lika.be/wp/wp-content/uploads/2011/10/solar_month.png"><img class="aligncenter size-full wp-image-890" title="solar_month" src="http://lika.be/wp/wp-content/uploads/2011/10/solar_month.png" alt="" width="482" height="240" /></a></p>
<p>Laten we dus 1 en ander eens berekenen. Op 15/10 had ik bij wijze van test het boilervat &#8216;leeg&#8217; laten trekken door de verwarming. De start-temperatuur van de hele boiler (~500 liter) was ongeveer 40 graden C. Tegen het eind van de middag was het hele vat ongeveer op 60 graden C gebracht. Die dag gebruikte de installatie 267 Wh elektrische energie. De energie-output in het boilervat bedroeg dus (ongeveer) 500 kg x 20 graden Kelvin x 4187 J/kgK = 41,87 MJ. Dat is 11,63 kWh. Meer dan een kubieke meter gas uitgespaard dus, met een investering van 267 Wh elektriciteit.</p>
<p>Of nog, een COP (coefficient of performance) van 44. Leuk in vergelijking met een warmtepomp he <img src='http://lika.be/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Deze meting is uitgevoerd op een zonnige dag in het &#8216;tussenseizoen&#8217;. In de zomer zal de COP nog hoger liggen.</p>
<p>De installatie bestaat uit een Latento XXL van 500 liter, een TA UVR61-3 regeling, 4 Solarfocus CPC panelen die onder een helling van 35 graden in het dak gemonteerd zijn. Om goed te zijn zouden de panelen eigenlijk onder een grotere hellingsgraad moeten staan, want nu liggen ze optimaal gemonteerd voor de zomer, maar dan heb je sowieso zonne-energie op overschot. In de tussenseizoenen en in de winter komt de zon minder hoog op, en op dat ogenblik missen we dus een deel van de zonne-energie door reflectie.</p>
<p>Iemand met een installatie waar de panelen vb. op 60 graden gemonteerd zijn en die wat meetinfo kan bezorgen ter vergelijking?</p>
<p>Dit was een eerste meting. Wat nog volgt in de komende weken: het ventilatiesysteem, de waterpomp en de diepvriezer.</p>
]]></content:encoded>
			<wfw:commentRss>http://lika.be/wp/2011/10/hoeveel-verbruikt-een-zonneboiler/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Peperoni rossi alla piemontese</title>
		<link>http://lika.be/wp/2011/07/peperoni-rossi-alla-piemontese/</link>
		<comments>http://lika.be/wp/2011/07/peperoni-rossi-alla-piemontese/#comments</comments>
		<pubDate>Sun, 17 Jul 2011 20:10:06 +0000</pubDate>
		<dc:creator>Leen</dc:creator>
				<category><![CDATA[Recepten]]></category>
		<category><![CDATA[voorgerecht]]></category>

		<guid isPermaLink="false">http://lika.be/wp/?p=877</guid>
		<description><![CDATA[Rode paprika op z&#8217;n Piëmontese Ingrediënten 16 ansjovisreepjes in olijfolie. 4 rode (of gele) paprika&#8217;s. 250gr kerstomaatjes. 4 lente-uitjes. 2 teentjes knoflook. 200gr ontpitte olijven. 4 eetlepel kappertjes. 4 eetlepel olijfolie. 1/2 plantje basilicum. 1 koffielepel oregano. 1 koffielepel paprikapoeder. peper en zout. Bereiding De paprika&#8217;s in de lengte in 2 snijden, de pitjes en [...]]]></description>
			<content:encoded><![CDATA[<p>Rode paprika op z&#8217;n Piëmontese</p>
<h1><span id="more-877"></span>Ingrediënten</h1>
<ul>
<li>16 ansjovisreepjes in olijfolie.</li>
<li>4 rode (of gele) paprika&#8217;s.</li>
<li>250gr kerstomaatjes.</li>
<li>4 lente-uitjes.</li>
<li>2 teentjes knoflook.</li>
<li>200gr ontpitte olijven.</li>
<li>4 eetlepel kappertjes.</li>
<li>4 eetlepel olijfolie.</li>
<li>1/2 plantje basilicum.</li>
<li>1 koffielepel oregano.</li>
<li>1 koffielepel paprikapoeder.</li>
<li>peper en zout.</li>
</ul>
<h1>Bereiding</h1>
<p>De paprika&#8217;s in de lengte in 2 snijden, de pitjes en de witte zaadlijsten verwijderen en in een ovenschotel leggen.</p>
<p>De kerstomaatjes in 2 of 4 snijden, de lente-uitjes fijn snipperen, de teentjes knoflook persen, de olijven in 2 snijden en het basilicum grof snijden.</p>
<p>De olijfolie met het geperste knoflook, de oregano, het paprikapoeder, de fijngesnipperde lente-uitjes, de olijven, de kappertjes en de kerstomaatjes mengen. Met peper en zout kruiden.</p>
<p>De vulling over de paprikahelften verdelen en er 2 anjovisreepjes gekruist overleggen.</p>
<p>De ovenschotel gedurende 30 minuten in een op 200°C voorverwarmde oven plaatsen.</p>
<p>Even laten afkoelen en met het grof gesneden basilicum bestrooien.</p>
<p>&nbsp;</p>
<h1>Afwerking</h1>
<p>Met wat brood lauw serveren.</p>
<p>Variant voor vulling: knoflook, gehalveerde kerstomaatjes, mozzarella, olijfolie, oregano, ansjovisfilet en versgemalen peper.</p>
<p>Variant voor de vulling: tonijn, scheutje witte wijn, enkele olijven, kappertjes en Italiaanse kruidenmix.</p>
]]></content:encoded>
			<wfw:commentRss>http://lika.be/wp/2011/07/peperoni-rossi-alla-piemontese/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plugwise xPL interface for v2 firmware</title>
		<link>http://lika.be/wp/2011/07/plugwise-xpl-interface-for-v2-firmware/</link>
		<comments>http://lika.be/wp/2011/07/plugwise-xpl-interface-for-v2-firmware/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 20:55:40 +0000</pubDate>
		<dc:creator>Lieven</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[xPL]]></category>

		<guid isPermaLink="false">http://lika.be/wp/?p=862</guid>
		<description><![CDATA[So, I needed a few more Plugwise Circles to automate some devices at home. I&#8217;m using the very cool Perl toolkit by Mark Hindess to create an xPL compliant interface towards the devices on an NSLU2. Problem: the interface I used was only compatible with firmware v1, and of course the new Circles ship with [...]]]></description>
			<content:encoded><![CDATA[<p>So, I needed a few more Plugwise Circles to automate some devices at home. I&#8217;m using the very cool <a href="https://github.com/beanz/xpl-perl/">Perl toolkit</a> by Mark Hindess to create an <a href="http://lika.be/wp/?p=800">xPL compliant interface</a> towards the devices on an NSLU2. Problem: the interface I used was only compatible with firmware v1, and of course the new Circles ship with a newer (and incompatible) firmware. Time to upgrade!</p>
<p>Thanks to the <a href="http://www.maartendamen.com/2010/08/plugwise-unleashed-document-released/" target="_blank">preparatory work</a> of Maarten Damen and <a href="http://roheve.wordpress.com/tag/plugwise/" target="_blank">Roheve</a> I didn&#8217;t have to reverse engineer the protocol myself. Credits to you guys! I upgraded the existing xpl-plugwise code that was originally developed by Jfn and I have put it in a git repository. It is available <a href="https://github.com/hollie/xpl-perl" target="_blank">here</a>.</p>
<p><span id="more-862"></span></p>
<p>I have tested the code on firmware v2.36 and v2.37. It seems the protocol was not changed after the last update. Thank you Plugwise <img src='http://lika.be/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I have updated the xPL interface if you compare it to the original version of Jfn for Plugwise firmware v1: the power calculation logic is hidden from the user and the xPL messages are more matching the other schema defined by the project. Moreover, basic control can also be done with control.basic messages. You can query the status of Circles and switch them on and off. It is also possible to request a list of Circles that are known to the Circle+. You can query the live power consumption and you can readout the history energy usage averaged over 1-hour intervals.</p>
<p>I bought a separate Stick, Circle+ and Circle to be able to develop new features independently from the &#8216;live&#8217; installation in our house. The live installation is used for long-duration testing. This second hardware set will also allow me to safely install future firmware updates in a development environment before applying them to the live installation. The fact that I did not have a separate environment was the reason it took me so long to upgrade to the new firmware. We&#8217;re relying too much on a working setup in our house to automatically switch lights and the amplifiers of our Squeezeboxen. Plugwise, if you read this, could you please reconsider opening up the protocol again? Closed protocols are so 1990&#8242;s&#8230;</p>
<p>The next sections show how the supported commands and responses look like for the various message schemas.</p>
<h2>plugwise.basic</h2>
<p>This is a custom schema that is specifically targeting the Plugwise devices. It is not officially endorsed by the xPL project team (yet?). It is mostly compatible with the original proposal by Jfn, with some modification to make it more compliant with existing schemas, but without breaking existing code to interface with Plugwise devices over xPL.</p>
<h3><strong>Controlling a Circle on</strong></h3>
<pre class="brush: plain; title: ; notranslate">
xpl-cmnd
{
hop=1
source=mhouse-mh.misterhouse
target=hollie-plugwise.hydra
}
plugwise.basic
{
command=on
device=551e4f
}
</pre>
<p>Generates this response:</p>
<pre class="brush: plain; title: ; notranslate">

xpl-stat
{
hop=1
source=hollie-plugwise.hydra
target=*
}
plugwise.basic
{
device=551E4F
type=output
onoff=on
}
</pre>
<h3>Controlling a circle off</h3>
<pre class="brush: plain; title: ; notranslate">

xpl-cmnd
{
hop=1
source=mhouse-mh.misterhouse
target=hollie-plugwise.hydra
}
plugwise.basic
{
command=off
device=994f99
}
</pre>
<p>Response:</p>
<pre class="brush: plain; title: ; notranslate">

xpl-stat
{
hop=1
source=hollie-plugwise.hydra
target=*
}
plugwise.basic
{
device=994F99
type=output
onoff=off
}
</pre>
<h3>Request the state of a plug</h3>
<p>This command allows you to retrieve some basic information on the status of a Circle. The response contains the onoff status, the address that is currently in use for the power consumption history, and the current date and time of the internal clock of the Circle. The address is important when you want to readout the power consumption over the last hour. See the &#8216;<a title="Plugwise xPL interface for v2 firmware" href="http://lika.be/wp/2011/07/plugwise-xpl-interface-for-v2-firmware/#historic">reading out power history</a>&#8216; command below for more details on this.</p>
<pre class="brush: plain; title: ; notranslate">
xpl-cmnd
{
hop=1
source=mhouse-mh.misterhouse
target=hollie-plugwise.hydra
}
plugwise.basic
{
command=status
device=551e4f
}
</pre>
<p>Response:</p>
<pre class="brush: plain; title: ; notranslate">
xpl-stat
{
hop=1
source=hollie-plugwise.hydra
target=*
}
plugwise.basic
{
device=551E4F
type=output
onoff=on
address=239
datetime=201109201836
}
</pre>
<h3>Requesting a list of known Circles</h3>
<p>This command requests to the Circle+ (= the ZigBee coordinator) what other Circles are known. Internally, this command first queries for available Circles (max 64 excluding the Circle+) and then it requests for every detected plug the calibration values required for calculating the power consumption. This command is useful to &#8216;discover&#8217; Circles in an application.</p>
<p>Do note that the values returned are a list of known devices by the coordinator (i.e. they have been part of the network in the past). It does not mean that all devices in the list are online at the time the command is sent.</p>
<p>Also note: if you issue this request and not all known nodes are online, it is normal that you receive some error responses. This is due to the fact that as a consequence of this command the xpl-perl Plugwise module also tries to retrieve the calibration values. If a certain circle is offline then this command will fail and an error response will be generated.</p>
<p>The request:</p>
<pre class="brush: plain; title: ; notranslate">

xpl-cmnd
{
hop=1
source=bnz-test.desktop
target=*
}
plugwise.basic
{
command=listcircles
}
</pre>
<p>And the corresponding response:</p>
<pre class="brush: plain; title: ; notranslate">

xpl-stat
{
hop=1
source=hollie-plugwise.hydra
target=*
}
plugwise.basic
{
command=listcircles
device00=98A5BE
device01=7310F6
}
</pre>
<h3>Requesting the live power consumption</h3>
<p>Now for the interesting commands if you want to retrieve the live power consumption of a Circle. In the previous version of the xpl-perl module for Plugwise you first needed to request the calibration information for a plug, then retrieve the number of pulses, and then do some calculations to determine the actual power consumption.<br />
I have hidden all this code in the xpl-perl Plugwise module. Now you can request the live power consumption, and you, well, the live power consumption expressed in Watt. You get two results, one measurement over 1 sends, and one measurement over 8 seconds.</p>
<p>The corresponding xPL request looks like this:</p>
<pre class="brush: plain; title: ; notranslate">

xpl-cmnd
{
hop=1
source=bnz-sender.desktop
target=*
}
plugwise.basic
{
command=livepower
device=98A5BE
}
</pre>
<p>And the response:</p>
<pre class="brush: plain; title: ; notranslate">

xpl-stat
{
hop=1
source=hollie-plugwise.hydra
target=*
}
plugwise.basic
{
device=98A5BE
type=power
current=0.0229
current8=0.0263
units=kW
}
</pre>
<p>This means that the measured power over the last second interval is 22.9 W, and measured over the last 8 seconds the measured power consumption is 26.3 W.<br />
<a name="historic"></a></p>
<h3>Reading out historic power information</h3>
<p>Every Circle keeps a log of the power consumption averaged out over one-hour time intervals. If you want to keep an eye on the average power consumption of a device, it is useful to be able to access that data. The alternative, polling the Circle frequently, will not yield as accurate results.</p>
<p>A critical piece of information to be able to read out the historic buffer is the current log address that is in use. Get it by sending a status request to the Circle. Then subtract one (we want to read out the last complete 1-hour interval) and send this command (assuming the output of the status command for Circle 7310F6 was &#8216;address=222&#8242;):</p>
<pre class="brush: plain; title: ; notranslate">

xpl-cmnd
{
hop=1
source=bnz-sender.desktop
target=*
}
plugwise.basic
{
command=history
device=7310F6
address=221
}
</pre>
<p>The corresponding response:</p>
<pre class="brush: plain; title: ; notranslate">

xpl-stat
{
hop=1
source=hollie-plugwise.hydra
target=*
}
plugwise.basic
{
device=7310F6
type=energy
current=0.044
units=kWh
datetime=201109131400
}
</pre>
<p>This response contains the following information: the ID of the device, the type of report that is generated, the energy used over the hour that is covered by the log address, the units in which the value is expressed (always kWh), and the date and time associated with the log address. This last piece of information is important for Circles that are not always online, and for cases where one wants to &#8216;dump&#8217; the complete history that is present in the Circle memory.</p>
<h1>control.basic</h1>
<p>This is an official and supported message schema. The Plugwise devices can be controlled on and off. Other functions might be added later <a href="http://xplproject.org.uk/forums/viewtopic.php?f=2&amp;t=1115&amp;sid=d9c6dc5e127306e872d6e5a44d513efc" target="_blank">when it becomes clear how</a>.</p>
<h3><strong>Controlling a Circle on</strong></h3>
<pre class="brush: plain; title: ; notranslate">
xpl-cmnd
{
hop=1
source=mhouse-mh.misterhouse
target=hollie-plugwise.hydra
}
control.basic
{
device=551e4f
type=output
current=enable
}
</pre>
<p>Generates this sensor.basic response:</p>
<pre class="brush: plain; title: ; notranslate">

xpl-stat
{
hop=1
source=hollie-plugwise.hydra
target=*
}
sensor.basic
{
device=551E4F
type=output
current=HIGH
}
</pre>
<h3>Controlling a circle off</h3>
<pre class="brush: plain; title: ; notranslate">

xpl-cmnd
{
hop=1
source=mhouse-mh.misterhouse
target=hollie-plugwise.hydra
}
control.basic
{
device=994f99
type=output
current=disable
}
</pre>
<p>Response:</p>
<pre class="brush: plain; title: ; notranslate">

xpl-stat
{
hop=1
source=hollie-plugwise.hydra
target=*
}
sensor.basic
{
device=994F99
type=output
current=LOW
}
</pre>
<h2>log.basic</h2>
<p>The Plugwise xPL client uses the standard log.basic message schema for reporting errors.</p>
<h3>Error response</h3>
<p>When an invalid command is issued or an invalid Circle ID is passed, an error response is generated. The error response contains a descriptive text string, the message that caused the error (in Stick dataformat) and the returned error code by the Stick.</p>
<pre class="brush: plain; title: ; notranslate">

xpl-stat
{
hop=1
source=bnz-plugwise.hydra
target=*
}
log.basic
{
type=err
text=Received error response
code=0023000D6F0000ABCDEF8EFB:00E1
}
</pre>
<h2>Helper scripts</h2>
<p>I wrote some helper scripts to generate the messages described in this document. You can find them <a href="http://code.google.com/p/hasy/source/browse/trunk/misterhouse/xplplugwise/" target="_blank">here</a>.</p>
<p>Have fun experimenting! Feedback is always welcome&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://lika.be/wp/2011/07/plugwise-xpl-interface-for-v2-firmware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PV statuspagina</title>
		<link>http://lika.be/wp/2011/06/pv-statuspagina/</link>
		<comments>http://lika.be/wp/2011/06/pv-statuspagina/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 20:08:37 +0000</pubDate>
		<dc:creator>Lieven</dc:creator>
				<category><![CDATA[Bouw]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://lika.be/wp/?p=858</guid>
		<description><![CDATA[Via een collega terechtgekomen op een &#8216;flashy&#8217; monitoring pagina voor PV installaties. De status van onze installatie geef ik door via een zelfgeschreven script dat de gegevens uit een RRDtool database haalt. Updates van de live status gebeuren elke 15 minuten. Een aanrader! Nu alleen nog wat meer installaties uit België erin zien te krijgen&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p>Via een collega terechtgekomen op <a href="http://pvoutput.org" target="_blank">een &#8216;flashy&#8217; monitoring pagina</a> voor PV installaties. De <a href="http://pvoutput.org/intraday.jsp?sid=2358" target="_blank">status van onze installatie</a> geef ik door via een <a href="http://code.google.com/p/hasy/source/browse/trunk/netnode/software/pv_monitor/update_pvoutput.pl" target="_blank">zelfgeschreven script</a> dat de gegevens uit een RRDtool database haalt. Updates van de live status gebeuren elke 15 minuten. Een aanrader! Nu alleen nog wat meer installaties uit België erin zien te krijgen&#8230;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://lika.be/wp/2011/06/pv-statuspagina/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Incremental backup script with daily delta</title>
		<link>http://lika.be/wp/2011/06/incremental-backup-script-with-daily-delta/</link>
		<comments>http://lika.be/wp/2011/06/incremental-backup-script-with-daily-delta/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 09:36:30 +0000</pubDate>
		<dc:creator>Lieven</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://lika.be/wp/?p=851</guid>
		<description><![CDATA[This script enables a &#8216;Time Machine alike&#8217; backup of folders on a computer to a remote server. The script keeps daily snapshots by saving the deltas compared to the previous backup. The rest of the info is symlinked so you don&#8217;t end up using 7 times the required amount of disk space on the server. [...]]]></description>
			<content:encoded><![CDATA[<p>This script enables a &#8216;Time Machine alike&#8217; backup of folders on a computer to a remote server. The script keeps daily snapshots by saving the deltas compared to the previous backup. The rest of the info is symlinked so you don&#8217;t end up using 7 times the required amount of disk space on the server.</p>
<p>I&#8217;ve been using this script quite some time to backup my Linux desktop to an NSLU2. I found it back during the spring clean of my archives and save it here for future reference.</p>
<pre class="brush: bash; title: ; notranslate">#!/bin/sh

# This script does personal backups to a rsync backup server. You will end up
# with a 7 day rotating incremental backup. The incrementals will go
# into subdirectories named after the day of the week, and the current
# full backup goes into a directory called &quot;current&quot;
# Credits: tridge@linuxcare.com

# directory to backup
BDIR_LIST=&quot;/home /usr/share/jalbum&quot;

# excludes file - this contains a wildcard pattern per line of files to exclude
EXCLUDES=excludes

# the name of the backup machine
BSERVER=hydra

# your password on the backup server
export RSYNC_PASSWORD=&lt;insert_password_here&gt;

########################################################################
# --exclude-from=$EXCLUDES
BACKUPDIR=`date +%A`
OPTS=&quot;--force --ignore-errors --delete-excluded
      --delete --backup --backup-dir=$BACKUPDIR -a --exclude-from=$EXCLUDES&quot;

export PATH=$PATH:/bin:/usr/bin:/usr/local/bin

# the following line clears the last weeks incremental directory
[ -d $HOME/emptydir ] || mkdir $HOME/emptydir
echo &quot;Clearing last weeks incremental directory...&quot;
rsync -vv --delete -a $HOME/emptydir/ backup@$BSERVER::backup/$BACKUPDIR
rmdir $HOME/emptydir

# now the actual transfer
echo &quot;Starting actual backup...&quot;
for BDIR in $BDIR_LIST; do
	rsync -vv $OPTS $BDIR backup@$BSERVER::backup/current
done

echo &quot;Backup completed!&quot;</pre>
]]></content:encoded>
			<wfw:commentRss>http://lika.be/wp/2011/06/incremental-backup-script-with-daily-delta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannelloni ripieni con trota, ricotta e spinaci</title>
		<link>http://lika.be/wp/2011/06/cannelloni-ripieni-con-trota-ricotta-e-spinaci/</link>
		<comments>http://lika.be/wp/2011/06/cannelloni-ripieni-con-trota-ricotta-e-spinaci/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 20:36:22 +0000</pubDate>
		<dc:creator>Leen</dc:creator>
				<category><![CDATA[Recepten]]></category>
		<category><![CDATA[aperitief]]></category>

		<guid isPermaLink="false">http://lika.be/wp/?p=847</guid>
		<description><![CDATA[of vrij vertaald&#8230;. heerlijke cannelloni gevuld met forel, ricotta en spinazie. De ingrediënten zijn voor 4 personen. Ingrediënten 16 cannelloni 125 g gerookte forelfilet 150 g spinazie (vers of diepvries, maar zonder room) 300 g groentereepjes 250 g ricotta 50 g gemalen parmezaan 50 g geraspte mozzarella 1 ui 2 teentjes knoflook 400 g tomatenstukjes [...]]]></description>
			<content:encoded><![CDATA[<p>of vrij vertaald&#8230;. heerlijke cannelloni gevuld met forel, ricotta en spinazie. De ingrediënten zijn voor 4 personen.</p>
<h1><span id="more-847"></span>Ingrediënten</h1>
<ul>
<li>16 cannelloni</li>
<li>125 g gerookte forelfilet</li>
<li>150 g spinazie (vers of diepvries, maar zonder room)</li>
<li>300 g groentereepjes</li>
<li>250 g ricotta</li>
<li>50 g gemalen parmezaan</li>
<li>50 g geraspte mozzarella</li>
<li>1 ui</li>
<li>2 teentjes knoflook</li>
<li>400 g tomatenstukjes met basilicum</li>
<li>2 dl kippenbouillon (1/2 blokje opgelost in 2dl heet water)</li>
<li>1 eetlepel olijfolie</li>
<li>nootmuskaat</li>
<li>peper</li>
</ul>
<h1>Bereiding</h1>
<p>Voor de cannelloni vulling:</p>
<ul>
<li>De diepvriesspinazie laten ontdooien.</li>
<li>De  gerookte forelfilet in fijne stukjes snijden.</li>
<li>De stukjes forel met de ricotta tot een mousse mixen.</li>
<li>De gemalen parmezaan en de spinazie eronder mengen.</li>
<li>Met nootmuskaat en peper kruiden.</li>
<li>De cannelloni met de ricottavulling vullen (tip: met behulp van een spuitzak).</li>
<li>De cannelloni naast elkaar in een grote ovenschotel leggen (best de schotel vooraf inwrijven met een beetje olijfolie).</li>
</ul>
<p>Voor de saus:</p>
<ul>
<li>De knoflookteentjes en de ui fijn snipperen.</li>
<li>Wat olijfolie in een kookpot verhitten en de fijngesnipperde ui en het knoflook glazig bakken.</li>
<li>De groentereepjes toevoegen en even laten meebakken.</li>
<li>Met de tomatenstukjes en met de kippenbouillon overgieten.</li>
<li>10 minuten laten sudderen.</li>
<li>De groentesaus over de cannelloni gieten.</li>
<li>Met de geraspte mozzarella bestrooien.</li>
</ul>
<p>De schotel in een op 200°C voorverwarmde oven plaatsen en ± 40 min. laten gaar worden.</p>
<h1>Afwerking</h1>
<p>4 cannelloni op elk bord schikken en er een stukje ciabatta bijgeven. De gerookte forel kan gerust door gerookte zalm vervangen worden.</p>
]]></content:encoded>
			<wfw:commentRss>http://lika.be/wp/2011/06/cannelloni-ripieni-con-trota-ricotta-e-spinaci/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy Time Capsule repair</title>
		<link>http://lika.be/wp/2011/05/easy-time-capsule-repair/</link>
		<comments>http://lika.be/wp/2011/05/easy-time-capsule-repair/#comments</comments>
		<pubDate>Fri, 13 May 2011 19:51:40 +0000</pubDate>
		<dc:creator>Lieven</dc:creator>
				<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://lika.be/wp/?p=818</guid>
		<description><![CDATA[Ok, so the power supply of my Apple Time Capsule got fried due to a not-so-efficient cooling strategy of the designer. Basically the built-in power supply stops working and all of a sudden the Time Capsule does not power on any more. Several fixes were already proposed, but they all focussed on replacing the built-in [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so the power supply of my Apple Time Capsule <a href="http://timecapsuledead.org/">got fried</a> due to a not-so-efficient cooling strategy of the designer. Basically the built-in power supply stops working and all of a sudden the Time Capsule does not power on any more.</p>
<p>Several fixes <a href="http://sites.google.com/site/lapastenague/a-deconstruction-of-routers-and-modems/apple-time-capsule-repair/apple-time-capsule-repair-type2" target="_blank">were already proposed</a>, but they all focussed on replacing the built-in power supply. The problem with that is that the 3.5&#8243; internal hard drive needs both a 12V and a 5V rail. So either you fix the original supply, you connect an ATX power supply or you take a 12V supply and build your own DCDC convertor to generate the 5V net from the 12V of the supply.</p>
<p>I was looking for a more simple solution and came up with this&#8230;</p>
<p><span id="more-818"></span></p>
<p>Instead of trying to revive the internal 3.5&#8243; hard drive I replaced it with a 2.5&#8243; laptop drive. The original drive was already running for quite some time either way, so replacing it with a new drive would help increasing the reliability of the Time Capsule (TC).</p>
<p>The advantage of the drive swap is that laptop hard drives typically only require a 5V rail. Moreover, laptop drives consume less power, heat and noise when they are active. The TC itself requires no 12V net so after the drive swap we can power the device through a simple 5V/3A wall wart.</p>
<p>Some action-shots of the upgrade&#8230;</p>
<p>First <a href="http://www.youtube.com/watch?v=ATjKELezw9s" target="_blank">open the TC</a>, and carefully remove the drive. Don&#8217;t forget to detach the temperature sensor from the drive. It is located under the foam sticker. Remove the broken power supply.</p>
<p><a href="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7604.jpg"><img class="aligncenter size-large wp-image-827" title="IMG_7604" src="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7604-512x384.jpg" alt="" width="512" height="384" /></a></p>
<p>Then remove the metal bracket by unscrewing the two black screws. This bracket will be used to mount the laptop drive in the TC.</p>
<p>Drill the mounting holes and attach the drive with two screws.</p>
<p><a href="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7601.jpg"><img class="aligncenter size-large wp-image-828" title="IMG_7601" src="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7601-512x384.jpg" alt="" width="512" height="384" /></a></p>
<p><a href="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7602.jpg"><img class="aligncenter size-large wp-image-829" title="IMG_7602" src="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7602-512x384.jpg" alt="" width="512" height="384" /></a></p>
<p><a href="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7602.jpg"></a><a href="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7605.jpg"><img class="aligncenter size-large wp-image-830" title="IMG_7605" src="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7605-512x384.jpg" alt="" width="512" height="384" /></a></p>
<p>Test-fit the data connector of the hard drive. You might need a little assistance for this <img src='http://lika.be/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a href="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7612.jpg"><img class="aligncenter size-large wp-image-831" title="IMG_7612" src="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7612-384x512.jpg" alt="" width="384" height="512" /></a></p>
<p>Then, let&#8217;s work on the power supply. First of all: when you remove the cover, only remove the part at the low-voltage side of the supply. The hot side (that is the part where the mains socket is connected to) has a few capacitors without bleeder resistors. This means that they keep a mains voltage level for a few days after the last time mains voltage was applied to the supply. If you inadvertedly touch them, you&#8217;ll feel it <img src='http://lika.be/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Should the cover break completely when you try to get access to the low-voltage side, make sure you discharge the high-voltage caps first. Then, unsolder the wires from the old power supply. You&#8217;ll need to remove the grey goo that is used to keep the wires in place. Then, solder two wires that will be connected to the plug socket for the wall wart. The negative wire should be soldered to the ratsnets that consists of 5 wires, the positive should be soldered to the ratsnest that consists of 4 wires. Isolate the remaining single wire that was used for the 12V net. Add a socket for the wall wart and glue it in place after the cable opening for the mains cable was adapted with a dremel.</p>
<p><a href="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7767.jpg"><img class="aligncenter size-large wp-image-832" title="IMG_7767" src="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7767-512x384.jpg" alt="" width="512" height="384" /></a></p>
<p><a href="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7769.jpg"><img class="aligncenter size-large wp-image-833" title="IMG_7769" src="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7769-512x384.jpg" alt="" width="512" height="384" /></a></p>
<p>Glue the temperature sensor on the new drive.</p>
<p><a href="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7607.jpg"><img class="aligncenter size-large wp-image-834" title="IMG_7607" src="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7607-512x384.jpg" alt="" width="512" height="384" /></a></p>
<p>First test that the TC boots without powering the drive to ensure that everything is working fine.</p>
<p>Then shut it down, attach the hard drive and restart it.</p>
<p>Finally, put the cover back on the device. Enjoy your upgraded, more silent and more power efficient TC. It should last longer now since most of the heat producing parts have been removed from the space-constrained enclosure of the TC.</p>
<p><a href="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7891.jpg"><img class="aligncenter size-large wp-image-835" title="IMG_7891" src="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7891-512x384.jpg" alt="" width="512" height="384" /></a></p>
<p><a href="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7891.jpg"></a><a href="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7892.jpg"><img class="aligncenter size-large wp-image-836" title="IMG_7892" src="http://lika.be/wp/wp-content/uploads/2011/05/IMG_7892-512x384.jpg" alt="" width="512" height="384" /></a></p>
<p>Parts used:</p>
<ul>
<li>5V/15W power supply (Conrad 510820 - 89)</li>
<li>Laptop hard drive (verified with Samsung spinpoint M7 drives of 500 GB and 640 GB)</li>
</ul>
<p>Now this makes me wonder, why did Apple not design the device around a 2.5&#8243; hard drive in the first place?</p>
]]></content:encoded>
			<wfw:commentRss>http://lika.be/wp/2011/05/easy-time-capsule-repair/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Firmware update for utility monitor</title>
		<link>http://lika.be/wp/2011/03/firmware-update-for-utility-monitor/</link>
		<comments>http://lika.be/wp/2011/03/firmware-update-for-utility-monitor/#comments</comments>
		<pubDate>Thu, 24 Mar 2011 07:34:01 +0000</pubDate>
		<dc:creator>Lieven</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[xPL]]></category>

		<guid isPermaLink="false">http://lika.be/wp/?p=810</guid>
		<description><![CDATA[New firmware v4.3 is available for the xPL node &#8216;hollie-utilmon&#8217; with the following features&#8230; Added a PWM output (can be enabled in the firmware with a define, is off by default to keep compliance with older firmware versions) Added support for OneWire temperature devices (DS1820-alike), sensors are queried once a minute but messages are only [...]]]></description>
			<content:encoded><![CDATA[<p>New firmware v4.3 is available for the <a href="http://lika.be/wp/2010/03/xpl-enabled-utility-meter-monitor/">xPL node &#8216;hollie-utilmon&#8217;</a> with the following features&#8230;</p>
<p><span id="more-810"></span></p>
<ul>
<li>Added a PWM output (can be enabled in the firmware with a define, is off by default to keep compliance with older firmware versions)</li>
<li>Added support for OneWire temperature devices (DS1820-alike), sensors are queried once a minute but messages are only generated when the temperature changed (as per the xPL spec)</li>
<li>The heartbeat messages gives info on the number of OneWire sensors that are detected, and on the PWM output if it is enabled</li>
<li>Added packing support on the XPORT so that we shouldn&#8217;t be sending uncomplete xPL messages any more when two messages are generated consecutively</li>
<li>Various bug fixes, including one that caused multiple nodes on a single LAN to ping-pong messages to each other causing the xPL network to be flooded&#8230;</li>
</ul>
<p>Note, this firmware requires an update in the XPORT configuration: packing needs to be enabled with a gap of 12 ms.</p>
]]></content:encoded>
			<wfw:commentRss>http://lika.be/wp/2011/03/firmware-update-for-utility-monitor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plugwise gateway on NSLU2</title>
		<link>http://lika.be/wp/2011/02/plugwise-gateway-on-nslu2/</link>
		<comments>http://lika.be/wp/2011/02/plugwise-gateway-on-nslu2/#comments</comments>
		<pubDate>Sun, 06 Feb 2011 20:38:22 +0000</pubDate>
		<dc:creator>Lieven</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://lika.be/wp/?p=800</guid>
		<description><![CDATA[I&#8217;m using some Plugwise circles to control various devices around the house. A few lights and the amplifiers of my SqueezeBoxes are automatically switched on and of as required. To couple this with MisterHouse, I built an NSLU2-based gateway to the Plugwise ZigBee network. The Plugwise system consists of neat plugin adapters that fit between [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using some Plugwise circles to control various devices around the house. A few lights and the amplifiers of my SqueezeBoxes are automatically switched on and of as required. To couple this with MisterHouse, I built an NSLU2-based gateway to the Plugwise ZigBee network.</p>
<p><span id="more-800"></span></p>
<p>The Plugwise system consists of neat plugin adapters that fit between a device and the power socket. The adapters can turn the plugged mains device on and off, and can at the same time measure the power consumption of the device that is attached.<br />
The plugs are called &#8216;Circles&#8217; and they form a wireless ZigBee mesh network around a coordinator (called Circle+). By itself, the network has no intelligence, it needs a link to a computer. This link is provided by a USB stick device (called &#8216;Stick&#8217;).</p>
<p>My problem: my home automation server is located upstairs, and my Circles are on the ground floor. The Stick cannot reliably communicate with the Circles.</p>
<p>Solution 1: buy the device called &#8216;Stretch&#8217; provided by Plugwise. This device allows you to connect the Stick to your LAN to place it in range of your Circles.</p>
<p>Solution 2: build a custom device that performs the same functionality (and adds some neat features <img src='http://lika.be/wp/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> )</p>
<p>Obviously, we go for solution 2 <img src='http://lika.be/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>On <a href="http://www.domoticaforum.eu/" target="_blank">domoticaforum</a>, somebody published a first version of an xPL module that could communicate with the Circles through the Stick (firmware v1). This module is written in Perl (yay!).</p>
<p>So, I dusted off my trusty old NSLU2 (nick-named &#8216;Slug&#8217;), put a Debian install on it, and now the Slug is hosting my Stick on the home LAN on the ground floor. Commands are sent from Misterhouse through an xPL module I wrote to control the devices that are connected to the Circles.</p>
<p>The steps required to duplicate this setup:</p>
<p>Get a Slug.</p>
<p>Flash it with the Debian firmware. I tried other firmwares, but eventually I ran into problems to install all required software to get the xPL module up and running every time. So I went with a full Debian install.</p>
<p>Install the <a href="http://www.xpl-perl.org.uk/">xpl-perl</a> software package (add deb http://www.xpl-perl.org.uk/download/debian ./ to sources.list),</p>
<p>Install the following packages</p>
<pre class="brush: plain; title: ; notranslate">
apt-get update
apt-get install libxpl-perl
apt-get install runit
apt-get install daemon-tools
apt-get install libclass-dbi-loader-perl
apt-get install libdatetime-event-sunrise-perl
apt-get install libdevice-serialport-perl
apt-get install libdigest-CRC-perl
</pre>
<p><a href="http://www.xplproject.org.uk/forums/viewtopic.php?f=2&amp;t=849#p6172">Patch the xpl-perl IOHandler.pm file</a> in your install so that it uses the Device::SerialPort module.</p>
<p>Add the xPL support to the xpl-perl software that has been installed by fetching and installing the files from my <a href="http://code.google.com/p/hasy/source/browse/#svn%2Ftrunk%2Fmisterhouse%2Fxplplugwise">code.google.com account</a>.</p>
<p>Run xpl-perl-setup</p>
<p>This will generate the required folders/files to run the daemons required for xPL (mainly the hub and xpl-plugwise)</p>
<p>Edit the xpl-hub run file to add the -i eth0, else the hub does not work.</p>
<p>Copy one of the /etc/xpl/services folders to /etc/xpl/services/xpl-plugwise and edit the run file to contain</p>
<pre class="brush: plain; title: ; notranslate">#!/bin/sh
exec 2&gt;&amp;1
exec setuidgid xplperl envdir ./env softlimit -d300000 /usr/bin/xpl-plugwise --verbose --plugwise-verbose --interface eth0 --plugwise-tty /dev/ttyUSB0
</pre>
<p>Execute the &#8216;run&#8217; for xpl-plugwise manually in the terminal to verify that it works correctly.</p>
<p>Finally, ensure that everybody has write access to /dev/ttyUSB0, or add the user xplperl to the dailout group. The way I did this was adding to /etc/rc.local the following line:</p>
<pre class="brush: plain; title: ; notranslate">

/bin/chmod a+rw /dev/ttyUSB0
</pre>
<p>That&#8217;s it, now you can control your Circles from whatever device on your LAN usign the open xPL protocol. If you install the Debian to a flash disk, the complete device (Slug+Stick) uses ~4 W.</p>
<p>The only disadvantage it that when Plugwise upgrades their firmware again and you migrate, you might need to update the xpl-plugwise software on the Slug to keep the communication ongoing. This is of course only a problem if you continue using the Stick with the windows software.</p>
<p>So for the moment, I&#8217;m still running the pre-February2010 firmware (called v1). When you buy new Circles right now, you get them with newer firmware that is not supported with the current version of the xpl-perl Plugwise module because Plugwise updated their API.</p>
<p>All in all, I&#8217;m quite happy with this setup&#8230;</p>
<p>Note:  before considering to duplicate this setup, be aware that there are some  disadvantages to the Plugwise hardware.</p>
<p>First of all, the software that is provided to control the Circles is Windows only.<br />
Secondly,  the people behind Plugwise refuse to document the protocol that is used  to communicate between their software and the Stick. It is not clear to  me what they try to obtain by doing that, as every time they update  their protocol there is always someone who reverse-engineers it.<br />
Another  annoyance with the hardware is that some of the Circles emit a  low-volume buzzing noise when they are enabled. This is something to  keep in mind should you plan to use the plug for a reading light next to  your couch.<br />
Finally, there is no way to find out what RF links  between Circles are good and what links have a marginal link budget. The  solution provided by the company is &#8216;just place more plugs to make the  network more robust&#8217;. Nice plan, but when you have most on the plugs on  the ground floor, and your server upstairs, then you don&#8217;t want to put  buzzing Circles in your sleeping room to have a reliable link between  the PC and the ZigBee network.</p>
<p>So, why did I choose to use the  Plugwise system then? Well, the plugs have a nice formfactor, and  Plugwise was the the only company I know of that delivered a  ZigBee-based solution at the time I bought the hardware. Indeed,  originally it was stated on their website that using the appropriate  network key other devices could also make use of the ZigBee mesh  network. I thought it would be nice to build a basic mesh network in my  house to which other devices/sensors could be added. Unfortunately, when  I asked for the key, I got a friendly reply that this feature was not  supported, I got the offer to return the hardware if I had a problem  with that, and finally, the statement was withdrawn from their  website&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://lika.be/wp/2011/02/plugwise-gateway-on-nslu2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

