<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Middleware solution for real-time sensing</title>
	<atom:link href="http://middlewaresensing.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://middlewaresensing.wordpress.com</link>
	<description>The purpose of this blog is to be a diary of my Master’s project about an solution for middleware sensing in real-time. Click About to see Blog, Source, Wiki, Demo</description>
	<lastBuildDate>Sat, 26 Nov 2011 09:34:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='middlewaresensing.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Middleware solution for real-time sensing</title>
		<link>http://middlewaresensing.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://middlewaresensing.wordpress.com/osd.xml" title="Middleware solution for real-time sensing" />
	<atom:link rel='hub' href='http://middlewaresensing.wordpress.com/?pushpress=hub'/>
		<item>
		<title>SAWA &#8211; Real-Time Sensor Platform</title>
		<link>http://middlewaresensing.wordpress.com/2011/01/30/sawa-real-time-sensor-platform/</link>
		<comments>http://middlewaresensing.wordpress.com/2011/01/30/sawa-real-time-sensor-platform/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 21:33:43 +0000</pubDate>
		<dc:creator>salvadormrf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://middlewaresensing.wordpress.com/?p=637</guid>
		<description><![CDATA[&#160; Experience: http://linux-utils.blogspot.com/2011/01/arduino-remote-control-outlet.html<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=637&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><span style="text-align:center; display: block;"><a href="http://middlewaresensing.wordpress.com/2011/01/30/sawa-real-time-sensor-platform/"><img src="http://img.youtube.com/vi/WKSbg3ZEql8/2.jpg" alt="" /></a></span></p>
<p style="text-align:center;">&nbsp;</p>
<p style="text-align:center;">Experience: <a href="http://linux-utils.blogspot.com/2011/01/arduino-remote-control-outlet.html">http://linux-utils.blogspot.com/2011/01/arduino-remote-control-outlet.html</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/middlewaresensing.wordpress.com/637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/middlewaresensing.wordpress.com/637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/middlewaresensing.wordpress.com/637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/middlewaresensing.wordpress.com/637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/middlewaresensing.wordpress.com/637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/middlewaresensing.wordpress.com/637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/middlewaresensing.wordpress.com/637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/middlewaresensing.wordpress.com/637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/middlewaresensing.wordpress.com/637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/middlewaresensing.wordpress.com/637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/middlewaresensing.wordpress.com/637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/middlewaresensing.wordpress.com/637/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/middlewaresensing.wordpress.com/637/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/middlewaresensing.wordpress.com/637/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=637&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://middlewaresensing.wordpress.com/2011/01/30/sawa-real-time-sensor-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2de0ec79cc87c74445cffa0fcb5e29c2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">salvadormrf</media:title>
		</media:content>
	</item>
		<item>
		<title>Platform features, summary</title>
		<link>http://middlewaresensing.wordpress.com/2010/08/06/platform-features-summary/</link>
		<comments>http://middlewaresensing.wordpress.com/2010/08/06/platform-features-summary/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 13:46:25 +0000</pubDate>
		<dc:creator>salvadormrf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://middlewaresensing.wordpress.com/?p=624</guid>
		<description><![CDATA[Web application - create networks - create sensors - create actuators - add members to a network - call functions or commands in actuators - define policies - define rules - define notifications - browse networks and sensors in Google Maps - Visualize data charts, in average or raw mode - delete and unsubscibe XMPP [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=624&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Web application</strong></p>
<p>- create networks<br />
- create sensors<br />
- create actuators<br />
- add members to a network<br />
- call functions or commands in actuators<br />
- define policies<br />
- define rules<br />
- define notifications<br />
- browse networks and sensors in Google Maps<br />
- Visualize data charts, in average or raw mode<br />
- delete and unsubscibe XMPP nodes<br />
- check event log<br />
- export sensor data in multiple formats<br />
- publish sensor data via HTTP POST<br />
- see users in system (admin users)<br />
- edit system configuration online (admin users)<br />
- check services status (admin users)<br />
- add images to network and sensor galleries<br />
- add properties to sensors<br />
- select chart type</p>
<p><strong>sox_tools</strong></p>
<p>sox_tools is a utility command line XMPP client built for interacting with an XMPP server. Most of its functions is related to PubSub protocol (XEP 0060). The tool help explain each option as shown.</p>
<pre>Available options:

	--user			Select user from config

	listen			Listens for pubsub events
	commands         	Listens for commands and call apropriate action in actuators
	publish			Publish to a pubsub node
	publish_cmd		Publish a command to a pubsub node
	last_item	    	Get last item from a pubsub node

	create			Creates a pubsub node
	subscribe	    	Subscribe to a pubsub node
	unsubscribe		Unsubscribe from a pubsub node
	add_member		Add a member to a pubsub node
 	subscriptions		List pubsub subscriptions
	affiliations		Lists pubsub affiliations
	delete			Deletes a pubsub node

	create_user		Creates a XMPP user
	delete_user		Deletes a XMPP user</pre>
<p style="text-align:center;"><a href="http://hci.uma.pt/wiki/images/3/3f/Services.png"><img class="aligncenter" src="http://hci.uma.pt/wiki/images/3/3f/Services.png" alt="" width="300" height="200" /></a></p>
<p style="text-align:center;">Screenshot of database<br />
<a href="http://middlewaresensing.files.wordpress.com/2010/08/sawa-diagram.png"><img class="size-medium wp-image-625 aligncenter" title="sawa-diagram" src="http://middlewaresensing.files.wordpress.com/2010/08/sawa-diagram.png?w=300&#038;h=214" alt="" width="300" height="214" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/middlewaresensing.wordpress.com/624/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/middlewaresensing.wordpress.com/624/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/middlewaresensing.wordpress.com/624/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/middlewaresensing.wordpress.com/624/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/middlewaresensing.wordpress.com/624/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/middlewaresensing.wordpress.com/624/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/middlewaresensing.wordpress.com/624/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/middlewaresensing.wordpress.com/624/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/middlewaresensing.wordpress.com/624/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/middlewaresensing.wordpress.com/624/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/middlewaresensing.wordpress.com/624/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/middlewaresensing.wordpress.com/624/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/middlewaresensing.wordpress.com/624/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/middlewaresensing.wordpress.com/624/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=624&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://middlewaresensing.wordpress.com/2010/08/06/platform-features-summary/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2de0ec79cc87c74445cffa0fcb5e29c2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">salvadormrf</media:title>
		</media:content>

		<media:content url="http://hci.uma.pt/wiki/images/3/3f/Services.png" medium="image" />

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/sawa-diagram.png?w=300" medium="image">
			<media:title type="html">sawa-diagram</media:title>
		</media:content>
	</item>
		<item>
		<title>Wine monitoring</title>
		<link>http://middlewaresensing.wordpress.com/2010/08/04/wine-monitoring/</link>
		<comments>http://middlewaresensing.wordpress.com/2010/08/04/wine-monitoring/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 15:38:45 +0000</pubDate>
		<dc:creator>salvadormrf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[alcohol]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[gas sensors]]></category>
		<category><![CDATA[ph sensor]]></category>
		<category><![CDATA[RF]]></category>
		<category><![CDATA[wine monitoring]]></category>
		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false">http://middlewaresensing.wordpress.com/?p=578</guid>
		<description><![CDATA[&#8220;To gain scientific understanding into the vinification process of Madeira wine, we intend to use sensors to study various parameters of the process (e.g. Ethanol, pH, total acid, volatile acid, density, fixed acidity, ash,), as well as actuators to control the environment (e.g. temperature, humidity, etc.)&#8221; Search for sensors One practical use case was wine [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=578&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;">
<p style="text-align:left;">&#8220;To gain scientific understanding into the vinification process of Madeira wine, we intend to use sensors to study various parameters of the process (e.g. Ethanol, pH, total acid, volatile acid, density, fixed acidity, ash,), as well as actuators to control the environment (e.g. temperature, humidity, etc.)&#8221;</p>
<h2 style="text-align:left;">Search for sensors</h2>
<p style="text-align:left;">One practical use case was wine monitoring. Due to our limited knowledge in electronics, we looked towards sensors with easy interfacing, to be able to connect in Arduino. Here is a list of  measurable parameters that can be interesting for wine analyses, however, many of these parameters are manually analysed in the lab, using heavy equipment.</p>
<p style="text-align:left;">After some search, we found some experiences using gas sensors and other sensor, which helped us to make a decision to order or not.</p>
<p style="text-align:left;">The main criteria for selecting sensor for this experience was :</p>
<p style="text-align:left;">- easy interfacing<br />
- no maintenance<br />
- affordable</p>
<table style="text-align:left;" border="1" cellspacing="0" cellpadding="4" width="644">
<col width="206"></col>
<col width="150"></col>
<col width="262"></col>
<tbody>
<tr>
<td width="206"><strong>Measure in liquid</strong></td>
<td width="150"><strong>Order</strong></td>
<td width="262" valign="TOP"><strong>Use</strong></td>
</tr>
<tr>
<td width="206" bgcolor="#3deb3d">pH</td>
<td width="150" bgcolor="#3deb3d">Yes</td>
<td width="262" valign="TOP" bgcolor="#3deb3d">(+) Seems 			reasonable</td>
</tr>
<tr>
<td width="206" bgcolor="#3deb3d">Temperature</td>
<td width="150" bgcolor="#3deb3d">Yes</td>
<td width="262" valign="TOP" bgcolor="#3deb3d">(+) Reasonable</td>
</tr>
<tr>
<td width="206" bgcolor="#ff3333">Color</td>
<td width="150" bgcolor="#ff3333">No</td>
<td width="262" valign="TOP" bgcolor="#ff3333">(-) Expensive(-) Specific HW and SW</td>
</tr>
<tr>
<td width="206" bgcolor="#ff3333">Dissolved Oxygen</td>
<td width="150" bgcolor="#ff3333">No</td>
<td width="262" valign="TOP" bgcolor="#ff3333">(-) Expensive(-) Specific HW and SW(-) 			Maintenance</td>
</tr>
<tr>
<td width="206" bgcolor="#ff3333">Volatile acidity</td>
<td width="150" bgcolor="#ff3333">No</td>
<td width="262" valign="TOP" bgcolor="#ff3333">(-) No 			sensor</td>
</tr>
<tr>
<td width="206" bgcolor="#ff3333">Total acidity</td>
<td width="150" bgcolor="#ff3333">No</td>
<td width="262" valign="TOP" bgcolor="#ff3333">(-) No 			sensor</td>
</tr>
<tr>
<td width="206" bgcolor="#ff3333">Oxidation</td>
<td width="150" bgcolor="#ff3333">No</td>
<td width="262" valign="TOP" bgcolor="#ff3333">(-) No sensor</td>
</tr>
<tr>
<td width="206" bgcolor="#ff3333">Ethanol</td>
<td width="150" bgcolor="#ff3333">No</td>
<td width="262" valign="TOP" bgcolor="#ff3333">(-) Expensive(-) Specific HW and SW(-) Maintenance</td>
</tr>
<tr>
<td width="206" bgcolor="#ff3333">SO2</td>
<td width="150" bgcolor="#ff3333">No</td>
<td width="262" valign="TOP" bgcolor="#ff3333">(-) No sensor</td>
</tr>
</tbody>
</table>
<table style="text-align:left;" border="1" cellspacing="0" cellpadding="4" width="643">
<col width="206"></col>
<col width="149"></col>
<col width="262"></col>
<tbody>
<tr valign="TOP">
<td width="206"><strong>Measure 			in gas</strong></td>
<td width="149"><strong>Order</strong></td>
<td width="262"><strong>Use</strong></td>
</tr>
<tr>
<td width="206" bgcolor="#3deb3d">CO</td>
<td width="149" bgcolor="#3deb3d">No</td>
<td width="262" valign="TOP" bgcolor="#3deb3d">(+) Reasonable(-) Less important in wine</td>
</tr>
<tr valign="TOP">
<td width="206" bgcolor="#3deb3d">CO2</td>
<td width="149" bgcolor="#3deb3d">Yes</td>
<td width="262" bgcolor="#3deb3d">(+) Reasonable</td>
</tr>
<tr valign="TOP">
<td width="206" bgcolor="#3deb3d">Alcohol</td>
<td width="149" bgcolor="#3deb3d">Yes</td>
<td width="262" bgcolor="#3deb3d">(+) Reasonable</td>
</tr>
<tr valign="TOP">
<td width="206" bgcolor="#3deb3d">Relative Humidity</td>
<td width="149" bgcolor="#3deb3d">Yes</td>
<td width="262" bgcolor="#3deb3d">(+) Reasonable</td>
</tr>
</tbody>
</table>
<p style="text-align:left;"><a href="http://www.vernier.com/probes/ph-bta.html">pH</a> &#8211; pH probe from Vernier</p>
<p style="text-align:left;"><a href="http://www.seeedstudio.com/depot/temperature-sensor-with-steel-head-p-78.html">Temperature</a> &#8211; Temperature sensor with steel head, from Seeed Depot</p>
<p style="text-align:left;"><a href="http://www.parallax.com/Store/Sensors/GasSensors/tabid/843/CategoryID/91/List/0/SortField/0/Level/a/ProductID/598/Default.aspx">CO2</a> &#8211; Parallax CO2 module with mg811 c02 gas sensor, from Parallax</p>
<p style="text-align:left;"><a href="http://www.parallax.com/Store/Sensors/GasSensors/tabid/843/CategoryID/91/List/0/SortField/0/Level/a/ProductID/669/Default.aspx">Alcohol</a> &#8211; MQ3 gas sensor, from SparkFun</p>
<p style="text-align:left;"><a href="http://www.sparkfun.com/commerce/product_info.php?products_id=9569">RH</a> &#8211; Relative Humidity sensor, from SparkFun</p>
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;"><strong><br />
</strong></p>
<p style="text-align:left;"><strong> </strong></p>
<h2 style="text-align:left;"><strong>Testing sensors</strong></h2>
<p style="text-align:left;">After the arrive of ordered sensors, we started to test them.</p>
<p style="text-align:left;"><a href="http://middlewaresensing.files.wordpress.com/2010/08/100707170516.png"><img class="size-medium wp-image-582 alignnone" title="Alcohol sensor" src="http://middlewaresensing.files.wordpress.com/2010/08/100707170516.png?w=300&#038;h=231" alt="" width="300" height="231" /></a><a href="http://middlewaresensing.files.wordpress.com/2010/08/100707163809.png"><img class="size-medium wp-image-584 alignnone" title="Gas sensors" src="http://middlewaresensing.files.wordpress.com/2010/08/100707163809.png?w=300&#038;h=209" alt="" width="300" height="209" /></a></p>
<p style="text-align:left;">
<p style="text-align:left;"><a href="http://middlewaresensing.files.wordpress.com/2010/08/100802220132.png"><img class="size-medium wp-image-586 alignnone" title="Sensors" src="http://middlewaresensing.files.wordpress.com/2010/08/100802220132.png?w=300&#038;h=225" alt="" width="300" height="225" /></a><a href="http://middlewaresensing.files.wordpress.com/2010/08/015-img_0909-jpg-medium.jpeg"><img class="size-medium wp-image-585 alignnone" title="015-img_0909-jpg-medium" src="http://middlewaresensing.files.wordpress.com/2010/08/015-img_0909-jpg-medium.jpeg?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<p style="text-align:left;">
<h2 style="text-align:left;">Building probe</h2>
<p style="text-align:left;">The probe construction was the most difficult part to do, because of excess of wiring and lack of space inside the probe. Three attempts were made to build a stable probe (float with equilibrium in the wine), but it was very difficulty to wire and use all sensors along with pH probe in the same module. And in the end the probe was not floating :&#8217;(.</p>
<p style="text-align:left;"><a href="http://middlewaresensing.files.wordpress.com/2010/08/100707164118.png"><img class="size-medium wp-image-588 alignnone" title="100707164118" src="http://middlewaresensing.files.wordpress.com/2010/08/100707164118.png?w=300&#038;h=197" alt="" width="300" height="197" /></a><a href="http://middlewaresensing.files.wordpress.com/2010/08/100707164228.png"><img class="size-medium wp-image-589 alignnone" title="100707164228" src="http://middlewaresensing.files.wordpress.com/2010/08/100707164228.png?w=300&#038;h=211" alt="" width="300" height="211" /></a></p>
<p style="text-align:left;"><a href="http://middlewaresensing.files.wordpress.com/2010/08/100707164228.png"></a><a href="http://middlewaresensing.files.wordpress.com/2010/08/100707164252.png"><img class="size-medium wp-image-590 alignnone" title="100707164252" src="http://middlewaresensing.files.wordpress.com/2010/08/100707164252.png?w=300&#038;h=221" alt="" width="300" height="221" /></a><a href="http://middlewaresensing.files.wordpress.com/2010/08/100707164354.png"><img class="size-medium wp-image-591 alignnone" title="100707164354" src="http://middlewaresensing.files.wordpress.com/2010/08/100707164354.png?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<p style="text-align:left;">
<h2><strong>Building probe with success</strong></h2>
<p style="text-align:left;">
<p style="text-align:left;">After the previous experience we came with a more simple solution, use 2 modules, one for pH and temperature, and the other for gas sensors, the last attached to the top of the wine container.  The upper module has 2 separated parts, the top one contains the micro-controller (Arduino) , DC jack and RF transmitter an receiver. The bottom part contains the c02, alcohol and relative humidity sensors.</p>
<p style="text-align:left;"><strong><br />
</strong></p>
<p style="text-align:left;"><a href="http://middlewaresensing.files.wordpress.com/2010/08/100802220254.png"><img class="size-medium wp-image-593 alignnone" title="100802220254" src="http://middlewaresensing.files.wordpress.com/2010/08/100802220254.png?w=233&#038;h=300" alt="" width="233" height="300" /></a><a href="http://middlewaresensing.files.wordpress.com/2010/08/100802220033.png"><img class="size-medium wp-image-597 alignnone" title="100802220033" src="http://middlewaresensing.files.wordpress.com/2010/08/100802220033.png?w=300&#038;h=223" alt="" width="300" height="223" /></a></p>
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;"><a href="http://middlewaresensing.files.wordpress.com/2010/08/100802220215.png"><img class="size-medium wp-image-595 alignnone" title="100802220215" src="http://middlewaresensing.files.wordpress.com/2010/08/100802220215.png?w=300&#038;h=229" alt="" width="300" height="229" /></a><a href="http://middlewaresensing.files.wordpress.com/2010/08/100802220224.png"><img class="size-medium wp-image-594 alignnone" title="100802220224" src="http://middlewaresensing.files.wordpress.com/2010/08/100802220224.png?w=300&#038;h=221" alt="" width="300" height="221" /></a></p>
<p style="text-align:left;">
<p style="text-align:left;"><span style="font-size:x-small;"><span style="font-size:small;"><br />
</span></span></p>
<h2 style="text-align:left;"><a href="http://middlewaresensing.files.wordpress.com/2010/08/100802220003.png"><img class="size-medium wp-image-599 alignnone" title="100802220003" src="http://middlewaresensing.files.wordpress.com/2010/08/100802220003.png?w=300&#038;h=225" alt="" width="300" height="225" /></a><span style="font-weight:normal;font-size:13px;"><a href="http://middlewaresensing.files.wordpress.com/2010/08/100802220055.png"><img class="size-medium wp-image-596 alignnone" title="100802220055" src="http://middlewaresensing.files.wordpress.com/2010/08/100802220055.png?w=300&#038;h=224" alt="" width="300" height="224" /></a></span></h2>
<p><span style="font-weight:normal;font-size:13px;"><a href="http://middlewaresensing.files.wordpress.com/2010/08/100802215948.png"><img class="alignnone size-medium wp-image-600" title="100802215948" src="http://middlewaresensing.files.wordpress.com/2010/08/100802215948.png?w=300&#038;h=225" alt="" width="300" height="225" /></a></span><a href="http://middlewaresensing.files.wordpress.com/2010/08/probe_ideal_4.png"><img class="size-medium wp-image-605 alignnone" title="probe_ideal_4" src="http://middlewaresensing.files.wordpress.com/2010/08/probe_ideal_4.png?w=300&#038;h=168" alt="" width="300" height="168" /></a></p>
<p><a href="http://middlewaresensing.files.wordpress.com/2010/08/100708144455.png"><img class="size-medium wp-image-604 alignnone" title="100708144455" src="http://middlewaresensing.files.wordpress.com/2010/08/100708144455.png?w=300&#038;h=193" alt="" width="300" height="193" /></a></p>
<p><strong>Installation</strong></p>
<p style="text-align:left;">We have the probe uploading sensor data every minute, (RF 433MHz module). The sensor gateway (Arduino +  ethernet shield + RF receiver module), receives this information and sends via HTTP POST to server, which then is published using XMPP protocol.</p>
<p style="text-align:left;">
<p style="text-align:left;"><a href="http://middlewaresensing.files.wordpress.com/2010/08/100802222128.png"><img class="size-medium wp-image-592 alignnone" title="100802222128" src="http://middlewaresensing.files.wordpress.com/2010/08/100802222128.png?w=300&#038;h=220" alt="" width="300" height="220" /></a><a href="http://middlewaresensing.files.wordpress.com/2010/08/100802220014.png"><img class="size-medium wp-image-598 alignnone" title="100802220014" src="http://middlewaresensing.files.wordpress.com/2010/08/100802220014.png?w=300&#038;h=222" alt="" width="300" height="222" /></a></p>
<p style="text-align:left;"><a href="http://middlewaresensing.files.wordpress.com/2010/08/100802215823.png"><img class="size-medium wp-image-601 alignnone" title="100802215823" src="http://middlewaresensing.files.wordpress.com/2010/08/100802215823.png?w=300&#038;h=225" alt="" width="300" height="225" /></a><a href="http://middlewaresensing.files.wordpress.com/2010/08/100802215835.png"><img class="alignnone size-medium wp-image-602" title="100802215835" src="http://middlewaresensing.files.wordpress.com/2010/08/100802215835.png?w=300&#038;h=227" alt="" width="300" height="227" /></a></p>
<p style="text-align:left;"><a href="http://middlewaresensing.files.wordpress.com/2010/08/100802215857.png"><img class="alignnone size-medium wp-image-603" title="100802215857" src="http://middlewaresensing.files.wordpress.com/2010/08/100802215857.png?w=300&#038;h=222" alt="" width="300" height="222" /></a><a href="http://middlewaresensing.files.wordpress.com/2010/08/100709152350.png"><img class="alignnone size-medium wp-image-613" title="100709152350" src="http://middlewaresensing.files.wordpress.com/2010/08/100709152350.png?w=300&#038;h=160" alt="" width="300" height="160" /></a></p>
<p style="text-align:left;">EOF =)</p>
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;">
<p style="text-align:left;"><strong><br />
</strong><strong> </strong><strong> </strong><strong> </strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/middlewaresensing.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/middlewaresensing.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/middlewaresensing.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/middlewaresensing.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/middlewaresensing.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/middlewaresensing.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/middlewaresensing.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/middlewaresensing.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/middlewaresensing.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/middlewaresensing.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/middlewaresensing.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/middlewaresensing.wordpress.com/578/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/middlewaresensing.wordpress.com/578/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/middlewaresensing.wordpress.com/578/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=578&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://middlewaresensing.wordpress.com/2010/08/04/wine-monitoring/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2de0ec79cc87c74445cffa0fcb5e29c2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">salvadormrf</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100707170516.png?w=300" medium="image">
			<media:title type="html">Alcohol sensor</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100707163809.png?w=300" medium="image">
			<media:title type="html">Gas sensors</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100802220132.png?w=300" medium="image">
			<media:title type="html">Sensors</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/015-img_0909-jpg-medium.jpeg?w=300" medium="image">
			<media:title type="html">015-img_0909-jpg-medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100707164118.png?w=300" medium="image">
			<media:title type="html">100707164118</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100707164228.png?w=300" medium="image">
			<media:title type="html">100707164228</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100707164252.png?w=300" medium="image">
			<media:title type="html">100707164252</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100707164354.png?w=300" medium="image">
			<media:title type="html">100707164354</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100802220254.png?w=233" medium="image">
			<media:title type="html">100802220254</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100802220033.png?w=300" medium="image">
			<media:title type="html">100802220033</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100802220215.png?w=300" medium="image">
			<media:title type="html">100802220215</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100802220224.png?w=300" medium="image">
			<media:title type="html">100802220224</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100802220003.png?w=300" medium="image">
			<media:title type="html">100802220003</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100802220055.png?w=300" medium="image">
			<media:title type="html">100802220055</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100802215948.png?w=300" medium="image">
			<media:title type="html">100802215948</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/probe_ideal_4.png?w=300" medium="image">
			<media:title type="html">probe_ideal_4</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100708144455.png?w=300" medium="image">
			<media:title type="html">100708144455</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100802222128.png?w=300" medium="image">
			<media:title type="html">100802222128</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100802220014.png?w=300" medium="image">
			<media:title type="html">100802220014</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100802215823.png?w=300" medium="image">
			<media:title type="html">100802215823</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100802215835.png?w=300" medium="image">
			<media:title type="html">100802215835</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100802215857.png?w=300" medium="image">
			<media:title type="html">100802215857</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/08/100709152350.png?w=300" medium="image">
			<media:title type="html">100709152350</media:title>
		</media:content>
	</item>
		<item>
		<title>Last update to system</title>
		<link>http://middlewaresensing.wordpress.com/2010/08/03/last-update-to-system/</link>
		<comments>http://middlewaresensing.wordpress.com/2010/08/03/last-update-to-system/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 20:28:56 +0000</pubDate>
		<dc:creator>salvadormrf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://middlewaresensing.wordpress.com/?p=574</guid>
		<description><![CDATA[New updates to system, and to sawa wiki WEB removed flexigrid added better notifications added raw chart changed all files to the right names (networks, sensors, etc) better way to upload sensor data via HTTP added sensor gallery options to select data parameters on exporting data edit configuration services status user list DATABASE added support for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=574&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>New updates to <a href="http://dev.hci.uma.pt/sawa">system</a>, and to sawa <a href="http://dev.hci.uma.pt/mediawiki/index.php/Main_Page">wiki</a></p>
<p><strong>WEB</strong><br />
removed flexigrid<br />
added better notifications<br />
added raw chart<br />
changed all files to the right names (networks, sensors, etc)<br />
better way to upload sensor data via HTTP<br />
added sensor gallery<br />
options to select data parameters on exporting data<br />
edit configuration<br />
services status<br />
user list</p>
<p><strong>DATABASE</strong><br />
added support for messages, events, sensor properties, custom rules and policy groups</p>
<p><strong>SERVICES</strong><br />
added support for date rules and database history rules<br />
added events logging support</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/middlewaresensing.wordpress.com/574/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/middlewaresensing.wordpress.com/574/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/middlewaresensing.wordpress.com/574/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/middlewaresensing.wordpress.com/574/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/middlewaresensing.wordpress.com/574/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/middlewaresensing.wordpress.com/574/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/middlewaresensing.wordpress.com/574/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/middlewaresensing.wordpress.com/574/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/middlewaresensing.wordpress.com/574/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/middlewaresensing.wordpress.com/574/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/middlewaresensing.wordpress.com/574/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/middlewaresensing.wordpress.com/574/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/middlewaresensing.wordpress.com/574/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/middlewaresensing.wordpress.com/574/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=574&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://middlewaresensing.wordpress.com/2010/08/03/last-update-to-system/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2de0ec79cc87c74445cffa0fcb5e29c2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">salvadormrf</media:title>
		</media:content>
	</item>
		<item>
		<title>Storage statistics, update rates</title>
		<link>http://middlewaresensing.wordpress.com/2010/05/28/storage-statistics-update-rates/</link>
		<comments>http://middlewaresensing.wordpress.com/2010/05/28/storage-statistics-update-rates/#comments</comments>
		<pubDate>Fri, 28 May 2010 15:07:49 +0000</pubDate>
		<dc:creator>salvadormrf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://middlewaresensing.wordpress.com/?p=567</guid>
		<description><![CDATA[We have 327.735 records in database, with total size of 27.1 Megabits, which gives an average of 10.84 bytes per record in database. 3552051.2 (bytes)/327735 (records)  = 10.84bytes per record So when selecting the upload rate for sensors, we should keep in mind this values. Time to fit one GigaByte Interval Records days years Second [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=567&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">We have 327.735 records in database, with total size of 27.1 Megabits, which gives an average of 10.84 bytes per record in database.</div>
<div id="_mcePaste"></div>
<pre><span style="font-family:arial, sans-serif;"><span style="line-height:normal;font-size:large;"><em>3552051.2 (bytes)/327735 (records)  = 10.84bytes per record</em></span></span></pre>
<div></div>
<div>So when selecting the upload rate for sensors, we should keep in mind this values.</div>
<div></div>
<table border="0" cellspacing="0" rules="NONE">
<col width="171"></col>
<col width="116"></col>
<col width="88"></col>
<col width="71"></col>
<col width="65"></col>
<tbody>
<tr>
<td colspan="5" width="512" height="16" align="CENTER" bgcolor="#FFFF99"><strong>Time to fit one GigaByte</strong></td>
</tr>
<tr>
<td height="16" align="CENTER"></td>
<td align="CENTER"></td>
<td align="CENTER"></td>
<td align="CENTER"></td>
<td align="CENTER"></td>
</tr>
<tr>
<td height="16" align="CENTER">Interval</td>
<td align="CENTER">Records</td>
<td align="CENTER">days</td>
<td align="CENTER"></td>
<td align="CENTER">years</td>
</tr>
<tr>
<td rowspan="4" height="65" align="CENTER" valign="MIDDLE" bgcolor="#FF950E"><strong>Second</strong></td>
<td align="CENTER">1</td>
<td align="RIGHT" bgcolor="#83CAFF">1146.65</td>
<td align="LEFT"></td>
<td align="RIGHT" bgcolor="#83CAFF">3.14</td>
</tr>
<tr>
<td align="CENTER"><strong>10</strong></td>
<td align="RIGHT" bgcolor="#83CAFF"><strong>114.66</strong></td>
<td align="LEFT"><strong><br />
</strong></td>
<td align="RIGHT" bgcolor="#83CAFF"><strong>0.31</strong></td>
</tr>
<tr>
<td align="CENTER"><strong>100</strong></td>
<td align="RIGHT" bgcolor="#83CAFF"><strong>11.47</strong></td>
<td align="LEFT"><strong><br />
</strong></td>
<td align="RIGHT" bgcolor="#83CAFF"><strong>0.03</strong></td>
</tr>
<tr>
<td align="CENTER">1000</td>
<td align="RIGHT" bgcolor="#83CAFF">1.15</td>
<td align="LEFT"></td>
<td align="RIGHT" bgcolor="#83CAFF">0</td>
</tr>
<tr>
<td height="16" align="CENTER"></td>
<td align="CENTER"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
</tr>
<tr>
<td rowspan="4" height="65" align="CENTER" valign="MIDDLE" bgcolor="#FF950E"><strong>Minute</strong></td>
<td align="CENTER">1</td>
<td align="RIGHT" bgcolor="#83CAFF">68798.82</td>
<td align="LEFT"></td>
<td align="RIGHT" bgcolor="#83CAFF">188.49</td>
</tr>
<tr>
<td align="CENTER">10</td>
<td align="RIGHT" bgcolor="#83CAFF">6879.88</td>
<td align="LEFT"></td>
<td align="RIGHT" bgcolor="#83CAFF">18.85</td>
</tr>
<tr>
<td align="CENTER">100</td>
<td align="RIGHT" bgcolor="#83CAFF">687.99</td>
<td align="LEFT"></td>
<td align="RIGHT" bgcolor="#83CAFF">1.88</td>
</tr>
<tr>
<td align="CENTER">1000</td>
<td align="RIGHT" bgcolor="#83CAFF">68.8</td>
<td align="LEFT"></td>
<td align="RIGHT" bgcolor="#83CAFF">0.19</td>
</tr>
<tr>
<td height="16" align="LEFT"></td>
<td align="CENTER"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
</tr>
<tr>
<td rowspan="4" height="65" align="CENTER" valign="MIDDLE" bgcolor="#FF950E"><strong>Hour</strong></td>
<td align="CENTER">1</td>
<td align="RIGHT" bgcolor="#83CAFF">4127929.15</td>
<td align="LEFT"></td>
<td align="RIGHT" bgcolor="#83CAFF">11309.39</td>
</tr>
<tr>
<td align="CENTER">10</td>
<td align="RIGHT" bgcolor="#83CAFF">412792.92</td>
<td align="LEFT"></td>
<td align="RIGHT" bgcolor="#83CAFF">1130.94</td>
</tr>
<tr>
<td align="CENTER">100</td>
<td align="RIGHT" bgcolor="#83CAFF">41279.29</td>
<td align="LEFT"></td>
<td align="RIGHT" bgcolor="#83CAFF">113.09</td>
</tr>
<tr>
<td align="CENTER">1000</td>
<td align="RIGHT" bgcolor="#83CAFF">4127.93</td>
<td align="LEFT"></td>
<td align="RIGHT" bgcolor="#83CAFF">11.31</td>
</tr>
</tbody>
</table>
<p>If you have a sensor with the upload rate at 1 seconds, in 3.14 years the sensor data will take 1GB of space</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/middlewaresensing.wordpress.com/567/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/middlewaresensing.wordpress.com/567/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/middlewaresensing.wordpress.com/567/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/middlewaresensing.wordpress.com/567/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/middlewaresensing.wordpress.com/567/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/middlewaresensing.wordpress.com/567/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/middlewaresensing.wordpress.com/567/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/middlewaresensing.wordpress.com/567/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/middlewaresensing.wordpress.com/567/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/middlewaresensing.wordpress.com/567/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/middlewaresensing.wordpress.com/567/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/middlewaresensing.wordpress.com/567/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/middlewaresensing.wordpress.com/567/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/middlewaresensing.wordpress.com/567/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=567&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://middlewaresensing.wordpress.com/2010/05/28/storage-statistics-update-rates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2de0ec79cc87c74445cffa0fcb5e29c2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">salvadormrf</media:title>
		</media:content>
	</item>
		<item>
		<title>Reliability/Performance tests</title>
		<link>http://middlewaresensing.wordpress.com/2010/05/26/reliabilityperformance-tests/</link>
		<comments>http://middlewaresensing.wordpress.com/2010/05/26/reliabilityperformance-tests/#comments</comments>
		<pubDate>Wed, 26 May 2010 14:54:42 +0000</pubDate>
		<dc:creator>salvadormrf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://middlewaresensing.wordpress.com/?p=545</guid>
		<description><![CDATA[in the past week i have been testing sensors for the wine monitoring use case, since our pH probe broke, i am waiting for a new one to arrive and a humidity sensor. This probe will have: c02, alcohol, RH (relative humidity), temperature and pH sensors. Maybe in next week i will create a post [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=545&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>in the past week i have been testing sensors for the wine monitoring use case, since our pH probe broke, i am waiting for a new one  to arrive and a humidity sensor. This probe will have: c02, alcohol, RH (relative humidity), temperature and pH sensors. Maybe in next week i will create a post about the probe. Until then, i have returned to my report, starting with tests. For now i completed Reliability and Performance tests for publishing data and notifications.</p>
<p>Results:</p>
<p style="text-align:left;"><a href="http://middlewaresensing.files.wordpress.com/2010/05/100526154259.png"><img class="size-full wp-image-546 aligncenter" title="100526154259" src="http://middlewaresensing.files.wordpress.com/2010/05/100526154259.png?w=450&#038;h=296" alt="" width="450" height="296" /></a></p>
<p style="text-align:center;">
<p style="text-align:center;"><img class="size-full wp-image-547 aligncenter" title="100526154310" src="http://middlewaresensing.files.wordpress.com/2010/05/100526154310.png?w=450&#038;h=275" alt="" width="450" height="275" /></p>
<p style="text-align:center;">
<p style="text-align:left;">Since the fail rate was to high in POST, i found the problem was related to C command line tool &#8220;sawa_publish&#8221;, which publishes the POST data to XMPP.</p>
<p style="text-align:left;"><em><strong>pthread_mutex_lock.c:87: __pthread_mutex_lock: Assertion `mutex-&gt;__data.__owner == 0&#8242; failed.</strong></em></p>
<p style="text-align:left;">After looking at google, i did not find any usefull/clear solution, so i decided to simplify the publish function and repeat the same process when fails.</p>
<p style="text-align:left;">- added a new publish function</p>
<p style="text-align:left;">&#8212;- removed variable and data arrays</p>
<p style="text-align:left;">&#8212;- added repeat process when fails, up to 3 times</p>
<p style="text-align:left;">
<p><pre class="brush: php;">
	function publish2()
	{

		$this-&gt;form_validation-&gt;set_rules('USERNAME', '', 'trim|required');
		$this-&gt;form_validation-&gt;set_rules('USERPASSWORD', '', 'trim|required');
		$this-&gt;form_validation-&gt;set_rules('NODE', '', 'trim|required');
		$this-&gt;form_validation-&gt;set_rules('VARIABLEID', '', 'trim|required|numeric');
		$this-&gt;form_validation-&gt;set_rules('DATA', '', 'trim|required');

		if($this-&gt;form_validation-&gt;run()){

			$res=0;
			$count=0;

			while(!$res &amp;&amp; $count &lt;=2){
				$res=$this-&gt;sox_wrapper-&gt;publish(
								$this-&gt;input-&gt;post('USERNAME'),
								$this-&gt;input-&gt;post('USERPASSWORD'),
								$this-&gt;input-&gt;post('NODE'),
								-1,
								-1,
								$this-&gt;input-&gt;post('VARIABLEID'),
								$this-&gt;input-&gt;post('DATA')
				);
				$count++;
			}

			if($res)
				echo &quot;OK\n&quot;;
			else
				echo &quot;FAIL\n&quot;;

		}else{
			echo &quot;FAIL\n&quot;;
		}

	}
</pre></p>
<p><span style="font-family:Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;line-height:19px;white-space:normal;font-size:13px;">Bash script example to upload data via HTTP POST (useful for resource limited devices)</span></p>
<p><pre class="brush: bash;">
#!/bin/bash

# settings
USERNAME=user123@hci.uma.pt/scripts
USERPASSWORD=pass123
NODE=testnode
VARIABLEID=23

URL=&quot;http://dev.hci.uma.pt/sawa/xmpp/publish2&quot;
DATA=1

for ((  i = 1 ;  i &lt;= 10;  i++  ))
do
  DATA=$i;
  curl -X POST --silent --data-binary &quot;USERNAME=$USERNAME&amp;USERPASSWORD=$USERPASSWORD&amp;VARIABLEID=$VARIABLEID&amp;NODE=$NODE&amp;DATA=$DATA&quot; $URL
done

</pre></p>
<p>Updated table with new code changes</pre>
<p><a href="http://middlewaresensing.files.wordpress.com/2010/05/100527183213.png"><img class="aligncenter size-full wp-image-565" title="100527183213" src="http://middlewaresensing.files.wordpress.com/2010/05/100527183213.png?w=450&#038;h=288" alt="" width="450" height="288" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/middlewaresensing.wordpress.com/545/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/middlewaresensing.wordpress.com/545/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/middlewaresensing.wordpress.com/545/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/middlewaresensing.wordpress.com/545/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/middlewaresensing.wordpress.com/545/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/middlewaresensing.wordpress.com/545/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/middlewaresensing.wordpress.com/545/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/middlewaresensing.wordpress.com/545/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/middlewaresensing.wordpress.com/545/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/middlewaresensing.wordpress.com/545/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/middlewaresensing.wordpress.com/545/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/middlewaresensing.wordpress.com/545/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/middlewaresensing.wordpress.com/545/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/middlewaresensing.wordpress.com/545/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=545&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://middlewaresensing.wordpress.com/2010/05/26/reliabilityperformance-tests/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2de0ec79cc87c74445cffa0fcb5e29c2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">salvadormrf</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100526154259.png" medium="image">
			<media:title type="html">100526154259</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100526154310.png" medium="image">
			<media:title type="html">100526154310</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100527183213.png" medium="image">
			<media:title type="html">100527183213</media:title>
		</media:content>
	</item>
		<item>
		<title>Intelligent Mail Box</title>
		<link>http://middlewaresensing.wordpress.com/2010/05/12/intelligent-mail-box/</link>
		<comments>http://middlewaresensing.wordpress.com/2010/05/12/intelligent-mail-box/#comments</comments>
		<pubDate>Wed, 12 May 2010 00:56:56 +0000</pubDate>
		<dc:creator>salvadormrf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://middlewaresensing.wordpress.com/?p=484</guid>
		<description><![CDATA[What about you being  notified when you have mail ? by email or sms, or other type&#8230; I set up this intelligent mail box with 2 sensors and one transmitter. Magnetic door switch $2.00 Mail sensor ( i invented it , works 1000 times better than distance sensor, or other you may use). RF transmitter [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=484&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://middlewaresensing.files.wordpress.com/2010/05/100511214343.png"><img class="alignright size-medium wp-image-495" title="100511214343" src="http://middlewaresensing.files.wordpress.com/2010/05/100511214343.png?w=300&#038;h=224" alt="" width="300" height="224" /></a>What about you being  notified when you have mail ? by email or sms, or other type&#8230;</p>
<p>I set up this intelligent mail box with 2 sensors and one transmitter.</p>
<p><strong>Magnetic door switch</strong> $2.00</p>
<p><strong>Mail sensor </strong>( i invented it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  , works 1000 times better than distance sensor, or other you may use).</p>
<p><strong>RF transmitter </strong>Kit for $4.90, you only need the transmitter for this.</p>
<p><strong>Arduino/Compatible</strong> from $23<br />
<br style="clear:both;" /></p>
<p><a href="http://middlewaresensing.files.wordpress.com/2010/05/100511214146.png"><img class="size-medium wp-image-490 alignleft" style="border:10px solid white;margin-top:10px;margin-bottom:10px;" title="100511214146" src="http://middlewaresensing.files.wordpress.com/2010/05/100511214146.png?w=300&#038;h=223" alt="" width="300" height="223" /></a></p>
<p>Comparing the size of RF transmitter module with an old Nokia<br />
<br style="clear:both;" /></p>
<p><a href="http://middlewaresensing.files.wordpress.com/2010/05/100511231017.png"><img class="size-medium wp-image-511 alignright" style="border:10px solid white;margin-top:10px;margin-bottom:10px;" title="100511231017" src="http://middlewaresensing.files.wordpress.com/2010/05/100511231017.png?w=300&#038;h=187" alt="" width="300" height="187" /></a></p>
<p><a href="http://middlewaresensing.files.wordpress.com/2010/05/100511214030.png"><img class="alignleft size-medium wp-image-494" style="border:10px solid white;margin-top:10px;margin-bottom:10px;" title="100511214030" src="http://middlewaresensing.files.wordpress.com/2010/05/100511214030.png?w=300&#038;h=185" alt="" width="300" height="185" /></a></p>
<p>To connect any switch,  im using these  &#8220;2pin plugable terminal module&#8221; sold by Seeed Depot, which is very  useful.</p>
<p><br style="clear:both;" /><br />
<a href="http://middlewaresensing.files.wordpress.com/2010/05/100511214807.png"><img class="alignright size-medium wp-image-488" style="border:5px solid white;margin-top:5px;margin-bottom:5px;" title="100511214807" src="http://middlewaresensing.files.wordpress.com/2010/05/100511214807.png?w=300&#038;h=252" alt="" width="300" height="252" /></a></p>
<p><a href="http://middlewaresensing.files.wordpress.com/2010/05/100511214750.png"><img class="alignleft size-medium wp-image-489" style="border:5px solid white;margin-top:5px;margin-bottom:5px;" title="100511214750" src="http://middlewaresensing.files.wordpress.com/2010/05/100511214750.png?w=300&#038;h=170" alt="" width="300" height="170" /></a></p>
<p>Here is the mail sensor, basically its a simple switch, with two separated metal parts, they are very flexible in order to make contact when a new mail touches.</p>
<p><a href="http://middlewaresensing.files.wordpress.com/2010/05/100511213847.png"><img class="size-medium wp-image-492   alignleft" style="border:5px solid white;margin-top:5px;margin-bottom:5px;" title="100511213847" src="http://middlewaresensing.files.wordpress.com/2010/05/100511213847.png?w=300&#038;h=226" alt="" width="300" height="226" /></a><a href="http://middlewaresensing.files.wordpress.com/2010/05/100511213837.png"><img class="size-medium wp-image-502   alignleft" style="border:5px solid white;margin-top:5px;margin-bottom:5px;" title="100511213837" src="http://middlewaresensing.files.wordpress.com/2010/05/100511213837.png?w=300&#038;h=249" alt="" width="300" height="249" /></a></p>
<p><a href="http://middlewaresensing.files.wordpress.com/2010/05/100511214001.png"><img class="size-medium wp-image-493         alignleft" style="border:5px solid white;margin-top:5px;margin-bottom:5px;" title="100511214001" src="http://middlewaresensing.files.wordpress.com/2010/05/100511214001.png?w=300&#038;h=175" alt="" width="300" height="175" /></a></p>
<p><a href="http://middlewaresensing.files.wordpress.com/2010/05/100511233222.png"><img class="size-medium wp-image-518   alignleft" style="border:10px solid white;margin-top:10px;margin-bottom:10px;" title="100511233222" src="http://middlewaresensing.files.wordpress.com/2010/05/100511233222.png?w=300&#038;h=224" alt="" width="300" height="224" /></a></p>
<p>Mail box, red would be better <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="http://middlewaresensing.files.wordpress.com/2010/05/100511213802.png"><img class="size-medium wp-image-504  alignright" title="100511213802" src="http://middlewaresensing.files.wordpress.com/2010/05/100511213802.png?w=300&#038;h=223" alt="" width="300" height="223" /></a></p>
<p>I pasted one part of magnetic door sensor to the box, and the magnet part on lock, so when we turn the key to open door, this magnet will go up.</p>
<p><a href="http://middlewaresensing.files.wordpress.com/2010/05/100511214837.png"><img class="size-medium wp-image-485  alignright" title="100511214837" src="http://middlewaresensing.files.wordpress.com/2010/05/100511214837.png?w=300&#038;h=220" alt="" width="300" height="220" /></a></p>
<p><a href="http://middlewaresensing.files.wordpress.com/2010/05/100511214827.png"><img class="alignright size-medium wp-image-487" title="100511214827" src="http://middlewaresensing.files.wordpress.com/2010/05/100511214827.png?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<p>Adding the box with arduino, and connected sensors.</p>
<p>Here we can see mail sensor attached to mail box and a external power supply.</p>
<p><a href="http://middlewaresensing.files.wordpress.com/2010/05/100511214402.png"><img class="size-medium wp-image-496 alignleft" title="100511214402" src="http://middlewaresensing.files.wordpress.com/2010/05/100511214402.png?w=300&#038;h=235" alt="" width="300" height="235" /></a></p>
<p>Programming arduino..</p>
<p><a href="http://middlewaresensing.files.wordpress.com/2010/05/100512010221.png"><img class="alignleft size-medium wp-image-539" title="100512010221" src="http://middlewaresensing.files.wordpress.com/2010/05/100512010221.png?w=300&#038;h=151" alt="" width="300" height="151" /></a></p>
<p>Creating a new policy one server, this policy has only one filter, when new_mail value equals 1 then the action is triggered, which in this case was a SMS notification.</p>
<p><a href="http://middlewaresensing.files.wordpress.com/2010/05/100512005746.png"><img class="alignright size-medium wp-image-537" title="100512005746" src="http://middlewaresensing.files.wordpress.com/2010/05/100512005746.png?w=300&#038;h=224" alt="" width="300" height="224" /></a></p>
<p>New mail arrived!, check out the video</p>
<p>Video <span style="text-align:center; display: block;"><a href="http://middlewaresensing.wordpress.com/2010/05/12/intelligent-mail-box/"><img src="http://img.youtube.com/vi/IbwZasv1hRk/2.jpg" alt="" /></a></span><br />
Video <span style="text-align:center; display: block;"><a href="http://middlewaresensing.wordpress.com/2010/05/12/intelligent-mail-box/"><img src="http://img.youtube.com/vi/zIYxUaiwmsM/2.jpg" alt="" /></a></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/middlewaresensing.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/middlewaresensing.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/middlewaresensing.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/middlewaresensing.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/middlewaresensing.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/middlewaresensing.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/middlewaresensing.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/middlewaresensing.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/middlewaresensing.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/middlewaresensing.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/middlewaresensing.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/middlewaresensing.wordpress.com/484/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/middlewaresensing.wordpress.com/484/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/middlewaresensing.wordpress.com/484/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=484&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://middlewaresensing.wordpress.com/2010/05/12/intelligent-mail-box/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2de0ec79cc87c74445cffa0fcb5e29c2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">salvadormrf</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100511214343.png?w=300" medium="image">
			<media:title type="html">100511214343</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100511214146.png?w=300" medium="image">
			<media:title type="html">100511214146</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100511231017.png?w=300" medium="image">
			<media:title type="html">100511231017</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100511214030.png?w=300" medium="image">
			<media:title type="html">100511214030</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100511214807.png?w=300" medium="image">
			<media:title type="html">100511214807</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100511214750.png?w=300" medium="image">
			<media:title type="html">100511214750</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100511213847.png?w=300" medium="image">
			<media:title type="html">100511213847</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100511213837.png?w=300" medium="image">
			<media:title type="html">100511213837</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100511214001.png?w=300" medium="image">
			<media:title type="html">100511214001</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100511233222.png?w=300" medium="image">
			<media:title type="html">100511233222</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100511213802.png?w=300" medium="image">
			<media:title type="html">100511213802</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100511214837.png?w=300" medium="image">
			<media:title type="html">100511214837</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100511214827.png?w=300" medium="image">
			<media:title type="html">100511214827</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100511214402.png?w=300" medium="image">
			<media:title type="html">100511214402</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100512010221.png?w=300" medium="image">
			<media:title type="html">100512010221</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/100512005746.png?w=300" medium="image">
			<media:title type="html">100512005746</media:title>
		</media:content>
	</item>
		<item>
		<title>Testing Sensors 2</title>
		<link>http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/</link>
		<comments>http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/#comments</comments>
		<pubDate>Fri, 07 May 2010 12:29:08 +0000</pubDate>
		<dc:creator>salvadormrf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://middlewaresensing.wordpress.com/?p=456</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=456&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/000-img_0862-jpg-medium/' title='000-IMG_0862.JPG.medium'><img data-attachment-id='457' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/000-img_0862-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="000-IMG_0862.JPG.medium" title="000-IMG_0862.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/001-img_0863-jpg-medium/' title='001-IMG_0863.JPG.medium'><img data-attachment-id='458' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/001-img_0863-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="001-IMG_0863.JPG.medium" title="001-IMG_0863.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/002-img_0864-jpg-medium/' title='002-IMG_0864.JPG.medium'><img data-attachment-id='459' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/002-img_0864-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="002-IMG_0864.JPG.medium" title="002-IMG_0864.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/003-img_0865-jpg-medium/' title='003-IMG_0865.JPG.medium'><img data-attachment-id='460' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/003-img_0865-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="003-IMG_0865.JPG.medium" title="003-IMG_0865.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/004-img_0866-jpg-medium/' title='004-IMG_0866.JPG.medium'><img data-attachment-id='461' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/004-img_0866-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="004-IMG_0866.JPG.medium" title="004-IMG_0866.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/005-img_0867-jpg-medium/' title='005-IMG_0867.JPG.medium'><img data-attachment-id='462' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/005-img_0867-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="005-IMG_0867.JPG.medium" title="005-IMG_0867.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/006-img_0868-jpg-medium/' title='006-IMG_0868.JPG.medium'><img data-attachment-id='463' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/006-img_0868-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="006-IMG_0868.JPG.medium" title="006-IMG_0868.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/007-img_0869-jpg-medium/' title='007-IMG_0869.JPG.medium'><img data-attachment-id='464' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/007-img_0869-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="007-IMG_0869.JPG.medium" title="007-IMG_0869.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/008-img_0883-jpg-medium/' title='008-IMG_0883.JPG.medium'><img data-attachment-id='465' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/008-img_0883-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="008-IMG_0883.JPG.medium" title="008-IMG_0883.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/009-img_0888-jpg-medium/' title='009-IMG_0888.JPG.medium'><img data-attachment-id='466' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/009-img_0888-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="009-IMG_0888.JPG.medium" title="009-IMG_0888.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/010-img_0893-jpg-medium/' title='010-IMG_0893.JPG.medium'><img data-attachment-id='467' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/010-img_0893-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="010-IMG_0893.JPG.medium" title="010-IMG_0893.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/011-img_0904-jpg-medium/' title='011-IMG_0904.JPG.medium'><img data-attachment-id='468' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/011-img_0904-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="011-IMG_0904.JPG.medium" title="011-IMG_0904.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/012-img_0905-jpg-medium/' title='012-IMG_0905.JPG.medium'><img data-attachment-id='469' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/012-img_0905-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="012-IMG_0905.JPG.medium" title="012-IMG_0905.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/013-img_0907-jpg-medium/' title='013-IMG_0907.JPG.medium'><img data-attachment-id='470' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/013-img_0907-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="013-IMG_0907.JPG.medium" title="013-IMG_0907.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/014-img_0908-jpg-medium/' title='014-IMG_0908.JPG.medium'><img data-attachment-id='471' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/014-img_0908-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="014-IMG_0908.JPG.medium" title="014-IMG_0908.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/015-img_0909-jpg-medium/' title='015-IMG_0909.JPG.medium'><img data-attachment-id='472' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/015-img_0909-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="015-IMG_0909.JPG.medium" title="015-IMG_0909.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/016-img_0910-jpg-medium/' title='016-IMG_0910.JPG.medium'><img data-attachment-id='473' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/016-img_0910-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="016-IMG_0910.JPG.medium" title="016-IMG_0910.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/017-img_0911-jpg-medium/' title='017-IMG_0911.JPG.medium'><img data-attachment-id='474' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/017-img_0911-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="017-IMG_0911.JPG.medium" title="017-IMG_0911.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/018-img_0912-jpg-medium/' title='018-IMG_0912.JPG.medium'><img data-attachment-id='475' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/018-img_0912-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="018-IMG_0912.JPG.medium" title="018-IMG_0912.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/019-img_0913-jpg-medium/' title='019-IMG_0913.JPG.medium'><img data-attachment-id='476' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/019-img_0913-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="019-IMG_0913.JPG.medium" title="019-IMG_0913.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/020-img_0920-jpg-medium/' title='020-IMG_0920.JPG.medium'><img data-attachment-id='477' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/020-img_0920-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="020-IMG_0920.JPG.medium" title="020-IMG_0920.JPG.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/021-img_0921-jpg-medium/' title='021-IMG_0921.JPG.medium'><img data-attachment-id='478' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/021-img_0921-jpg-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="021-IMG_0921.JPG.medium" title="021-IMG_0921.JPG.medium" /></a>

<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/middlewaresensing.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/middlewaresensing.wordpress.com/456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/middlewaresensing.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/middlewaresensing.wordpress.com/456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/middlewaresensing.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/middlewaresensing.wordpress.com/456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/middlewaresensing.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/middlewaresensing.wordpress.com/456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/middlewaresensing.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/middlewaresensing.wordpress.com/456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/middlewaresensing.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/middlewaresensing.wordpress.com/456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/middlewaresensing.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/middlewaresensing.wordpress.com/456/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=456&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2de0ec79cc87c74445cffa0fcb5e29c2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">salvadormrf</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/000-img_0862-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">000-IMG_0862.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/001-img_0863-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">001-IMG_0863.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/002-img_0864-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">002-IMG_0864.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/003-img_0865-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">003-IMG_0865.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/004-img_0866-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">004-IMG_0866.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/005-img_0867-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">005-IMG_0867.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/006-img_0868-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">006-IMG_0868.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/007-img_0869-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">007-IMG_0869.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/008-img_0883-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">008-IMG_0883.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/009-img_0888-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">009-IMG_0888.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/010-img_0893-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">010-IMG_0893.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/011-img_0904-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">011-IMG_0904.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/012-img_0905-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">012-IMG_0905.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/013-img_0907-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">013-IMG_0907.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/014-img_0908-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">014-IMG_0908.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/015-img_0909-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">015-IMG_0909.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/016-img_0910-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">016-IMG_0910.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/017-img_0911-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">017-IMG_0911.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/018-img_0912-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">018-IMG_0912.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/019-img_0913-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">019-IMG_0913.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/020-img_0920-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">020-IMG_0920.JPG.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/021-img_0921-jpg-medium.jpeg?w=150" medium="image">
			<media:title type="html">021-IMG_0921.JPG.medium</media:title>
		</media:content>
	</item>
		<item>
		<title>Testing sensors 1</title>
		<link>http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/</link>
		<comments>http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/#comments</comments>
		<pubDate>Fri, 07 May 2010 12:09:48 +0000</pubDate>
		<dc:creator>salvadormrf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://middlewaresensing.wordpress.com/?p=433</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=433&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/018-100506231937-png-medium/' title='018-100506231937.png.medium'><img data-attachment-id='434' data-orig-size='550,410' data-liked='0'width="150" height="111" src="http://middlewaresensing.files.wordpress.com/2010/05/018-100506231937-png-medium.jpeg?w=150&#038;h=111" class="attachment-thumbnail" alt="018-100506231937.png.medium" title="018-100506231937.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/017-100506231959-png-medium/' title='017-100506231959.png.medium'><img data-attachment-id='440' data-orig-size='550,405' data-liked='0'width="150" height="110" src="http://middlewaresensing.files.wordpress.com/2010/05/017-100506231959-png-medium.jpeg?w=150&#038;h=110" class="attachment-thumbnail" alt="017-100506231959.png.medium" title="017-100506231959.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/016-100506232009-png-medium/' title='016-100506232009.png.medium'><img data-attachment-id='439' data-orig-size='390,500' data-liked='0'width="117" height="150" src="http://middlewaresensing.files.wordpress.com/2010/05/016-100506232009-png-medium.jpeg?w=117&#038;h=150" class="attachment-thumbnail" alt="016-100506232009.png.medium" title="016-100506232009.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/015-100506232018-png-medium/' title='015-100506232018.png.medium'><img data-attachment-id='438' data-orig-size='550,410' data-liked='0'width="150" height="111" src="http://middlewaresensing.files.wordpress.com/2010/05/015-100506232018-png-medium.jpeg?w=150&#038;h=111" class="attachment-thumbnail" alt="015-100506232018.png.medium" title="015-100506232018.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/014-100506232036-png-medium/' title='014-100506232036.png.medium'><img data-attachment-id='437' data-orig-size='550,396' data-liked='0'width="150" height="107" src="http://middlewaresensing.files.wordpress.com/2010/05/014-100506232036-png-medium.jpeg?w=150&#038;h=107" class="attachment-thumbnail" alt="014-100506232036.png.medium" title="014-100506232036.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/013-100506232059-png-medium/' title='013-100506232059.png.medium'><img data-attachment-id='436' data-orig-size='392,500' data-liked='0'width="117" height="150" src="http://middlewaresensing.files.wordpress.com/2010/05/013-100506232059-png-medium.jpeg?w=117&#038;h=150" class="attachment-thumbnail" alt="013-100506232059.png.medium" title="013-100506232059.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/012-100506232117-png-medium/' title='012-100506232117.png.medium'><img data-attachment-id='435' data-orig-size='550,403' data-liked='0'width="150" height="109" src="http://middlewaresensing.files.wordpress.com/2010/05/012-100506232117-png-medium.jpeg?w=150&#038;h=109" class="attachment-thumbnail" alt="012-100506232117.png.medium" title="012-100506232117.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/011-100506232208-png-medium/' title='011-100506232208.png.medium'><img data-attachment-id='441' data-orig-size='550,386' data-liked='0'width="150" height="105" src="http://middlewaresensing.files.wordpress.com/2010/05/011-100506232208-png-medium.jpeg?w=150&#038;h=105" class="attachment-thumbnail" alt="011-100506232208.png.medium" title="011-100506232208.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/010-100506232238-png-medium/' title='010-100506232238.png.medium'><img data-attachment-id='442' data-orig-size='550,383' data-liked='0'width="150" height="104" src="http://middlewaresensing.files.wordpress.com/2010/05/010-100506232238-png-medium.jpeg?w=150&#038;h=104" class="attachment-thumbnail" alt="010-100506232238.png.medium" title="010-100506232238.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/009-100506232246-png-medium/' title='009-100506232246.png.medium'><img data-attachment-id='443' data-orig-size='550,407' data-liked='0'width="150" height="110" src="http://middlewaresensing.files.wordpress.com/2010/05/009-100506232246-png-medium.jpeg?w=150&#038;h=110" class="attachment-thumbnail" alt="009-100506232246.png.medium" title="009-100506232246.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/008-100506232258-png-medium/' title='008-100506232258.png.medium'><img data-attachment-id='444' data-orig-size='550,413' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/008-100506232258-png-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="008-100506232258.png.medium" title="008-100506232258.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/007-100506232350-png-medium/' title='007-100506232350.png.medium'><img data-attachment-id='447' data-orig-size='382,500' data-liked='0'width="114" height="150" src="http://middlewaresensing.files.wordpress.com/2010/05/007-100506232350-png-medium.jpeg?w=114&#038;h=150" class="attachment-thumbnail" alt="007-100506232350.png.medium" title="007-100506232350.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/006-100506232610-png-medium/' title='006-100506232610.png.medium'><img data-attachment-id='446' data-orig-size='550,412' data-liked='0'width="150" height="112" src="http://middlewaresensing.files.wordpress.com/2010/05/006-100506232610-png-medium.jpeg?w=150&#038;h=112" class="attachment-thumbnail" alt="006-100506232610.png.medium" title="006-100506232610.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/005-100506232624-png-medium/' title='005-100506232624.png.medium'><img data-attachment-id='445' data-orig-size='550,430' data-liked='0'width="150" height="117" src="http://middlewaresensing.files.wordpress.com/2010/05/005-100506232624-png-medium.jpeg?w=150&#038;h=117" class="attachment-thumbnail" alt="005-100506232624.png.medium" title="005-100506232624.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/004-100506232700-png-medium/' title='004-100506232700.png.medium'><img data-attachment-id='451' data-orig-size='550,352' data-liked='0'width="150" height="96" src="http://middlewaresensing.files.wordpress.com/2010/05/004-100506232700-png-medium.jpeg?w=150&#038;h=96" class="attachment-thumbnail" alt="004-100506232700.png.medium" title="004-100506232700.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/003-100506232719-png-medium/' title='003-100506232719.png.medium'><img data-attachment-id='450' data-orig-size='470,500' data-liked='0'width="141" height="150" src="http://middlewaresensing.files.wordpress.com/2010/05/003-100506232719-png-medium.jpeg?w=141&#038;h=150" class="attachment-thumbnail" alt="003-100506232719.png.medium" title="003-100506232719.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/002-100506232730-png-medium/' title='002-100506232730.png.medium'><img data-attachment-id='449' data-orig-size='550,335' data-liked='0'width="150" height="91" src="http://middlewaresensing.files.wordpress.com/2010/05/002-100506232730-png-medium.jpeg?w=150&#038;h=91" class="attachment-thumbnail" alt="002-100506232730.png.medium" title="002-100506232730.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/001-100506232801-png-medium/' title='001-100506232801.png.medium'><img data-attachment-id='448' data-orig-size='550,309' data-liked='0'width="150" height="84" src="http://middlewaresensing.files.wordpress.com/2010/05/001-100506232801-png-medium.jpeg?w=150&#038;h=84" class="attachment-thumbnail" alt="001-100506232801.png.medium" title="001-100506232801.png.medium" /></a>
<a href='http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/000-100506232811-png-medium/' title='000-100506232811.png.medium'><img data-attachment-id='452' data-orig-size='550,388' data-liked='0'width="150" height="105" src="http://middlewaresensing.files.wordpress.com/2010/05/000-100506232811-png-medium.jpeg?w=150&#038;h=105" class="attachment-thumbnail" alt="000-100506232811.png.medium" title="000-100506232811.png.medium" /></a>

<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/middlewaresensing.wordpress.com/433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/middlewaresensing.wordpress.com/433/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/middlewaresensing.wordpress.com/433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/middlewaresensing.wordpress.com/433/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/middlewaresensing.wordpress.com/433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/middlewaresensing.wordpress.com/433/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/middlewaresensing.wordpress.com/433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/middlewaresensing.wordpress.com/433/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/middlewaresensing.wordpress.com/433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/middlewaresensing.wordpress.com/433/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/middlewaresensing.wordpress.com/433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/middlewaresensing.wordpress.com/433/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/middlewaresensing.wordpress.com/433/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/middlewaresensing.wordpress.com/433/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=433&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://middlewaresensing.wordpress.com/2010/05/07/testing-sensors-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2de0ec79cc87c74445cffa0fcb5e29c2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">salvadormrf</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/018-100506231937-png-medium.jpeg?w=150" medium="image">
			<media:title type="html">018-100506231937.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/017-100506231959-png-medium.jpeg?w=150" medium="image">
			<media:title type="html">017-100506231959.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/016-100506232009-png-medium.jpeg?w=117" medium="image">
			<media:title type="html">016-100506232009.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/015-100506232018-png-medium.jpeg?w=150" medium="image">
			<media:title type="html">015-100506232018.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/014-100506232036-png-medium.jpeg?w=150" medium="image">
			<media:title type="html">014-100506232036.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/013-100506232059-png-medium.jpeg?w=117" medium="image">
			<media:title type="html">013-100506232059.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/012-100506232117-png-medium.jpeg?w=150" medium="image">
			<media:title type="html">012-100506232117.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/011-100506232208-png-medium.jpeg?w=150" medium="image">
			<media:title type="html">011-100506232208.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/010-100506232238-png-medium.jpeg?w=150" medium="image">
			<media:title type="html">010-100506232238.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/009-100506232246-png-medium.jpeg?w=150" medium="image">
			<media:title type="html">009-100506232246.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/008-100506232258-png-medium.jpeg?w=150" medium="image">
			<media:title type="html">008-100506232258.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/007-100506232350-png-medium.jpeg?w=114" medium="image">
			<media:title type="html">007-100506232350.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/006-100506232610-png-medium.jpeg?w=150" medium="image">
			<media:title type="html">006-100506232610.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/005-100506232624-png-medium.jpeg?w=150" medium="image">
			<media:title type="html">005-100506232624.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/004-100506232700-png-medium.jpeg?w=150" medium="image">
			<media:title type="html">004-100506232700.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/003-100506232719-png-medium.jpeg?w=141" medium="image">
			<media:title type="html">003-100506232719.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/002-100506232730-png-medium.jpeg?w=150" medium="image">
			<media:title type="html">002-100506232730.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/001-100506232801-png-medium.jpeg?w=150" medium="image">
			<media:title type="html">001-100506232801.png.medium</media:title>
		</media:content>

		<media:content url="http://middlewaresensing.files.wordpress.com/2010/05/000-100506232811-png-medium.jpeg?w=150" medium="image">
			<media:title type="html">000-100506232811.png.medium</media:title>
		</media:content>
	</item>
		<item>
		<title>System use cases and refrigerator experience</title>
		<link>http://middlewaresensing.wordpress.com/2010/05/07/system-use-cases-and-refrigerator-experience/</link>
		<comments>http://middlewaresensing.wordpress.com/2010/05/07/system-use-cases-and-refrigerator-experience/#comments</comments>
		<pubDate>Fri, 07 May 2010 11:50:42 +0000</pubDate>
		<dc:creator>salvadormrf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://middlewaresensing.wordpress.com/?p=421</guid>
		<description><![CDATA[System overview SAWA can be considered as a platform, with a set of services and web application. It uses XMPP Protocol to transport all sensor data in real-time, and allowing secure connections. Using XEP-060, Publisher-Subscribers paradigm it is possible to share data with multiple users with flexibility and scalability.This project uses soxlib with modifications from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=421&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[</p>
<p><a name="System_overview" id="System_overview"></a><br />
<h2><span class="mw-headline">System overview</span></h2>
<p>SAWA can be considered as a platform, with a set of services and web application. It uses XMPP Protocol to transport all sensor data in real-time, and allowing secure connections. Using XEP-060, Publisher-Subscribers paradigm it is possible to share data with multiple users with flexibility and scalability.This project uses soxlib with modifications from Sensor Andrew project.
</p>
<p><a href="http://middlewaresensing.wordpress.com" class="external text" title="http://middlewaresensing.wordpress.com" rel="nofollow">Project blog</a>, <a href="http://sourceforge.net/projects/wa4sa/" class="external text" title="http://sourceforge.net/projects/wa4sa/" rel="nofollow">Project source</a>
</p>
<p> 
</p>
<dl>
<dt>Web application
</dt>
<dd>In web application is possible to manage networks and sensors, manage XMPP nodes, define policies, and share data.
</dd>
</dl>
<p>-Technologies
</p>
<dl>
<dd>Google Maps, Flexigrid, Open Flash Charts 2, jQuery, Ajax, JavaScript, Openfire Css, CodeIgniter, PHP, C, MySQL
</dd>
</dl>
<p> 
</p>
<dl>
<dt>Services
</dt>
</dl>
<p>-Datarecorder
</p>
<dl>
<dd>This service is responsible to store sensor data in database, when published in nodes
</dd>
</dl>
<p>-Actionchecker
</p>
<dl>
<dd>This service is responsible to match all sensor data with existing policies, and launch these actions when policy matches.
</dd>
<dd>Each notification type is included as plugin, making this service more easy to extend.
</dd>
</dl>
<p>-Scheduller
</p>
<dl>
<dd>This service is responsible to order the previous services to subscribe or unsubscribe from PubSub nodes.
</dd>
</dl>
<p>-Technologies
</p>
<dl>
<dd>glib-2, gmodule, libloudmouth, soxlib, mysql, C, XML, XMPP
</dd>
</dl>
<p> 
</p>
<dl>
<dt>Servers
</dt>
<dd>Openfire XMPP Server
</dd>
<dd>MySQL database server
</dd>
<dd>Apache HTTP Server
</dd>
<dd>Postfix email server
</dd>
</dl>
<p> 
</p>
<div class="center">
<div class="floatnone"><a href="Services.png" class="image" title="Services.png"><img alt="" src="http://hci.uma.pt/wiki/images/thumb/3/3f/Services.png/800px-Services.png" width="800" height="504" border="0" /></a></div>
</div>
<p> 
</p>
<p><a name="Tools" id="Tools"></a><br />
<h3> <span class="mw-headline">Tools</span></h3>
<p><a name="install_soxlib_and_sox_tools" id="install_soxlib_and_sox_tools"></a><br />
<h4> <span class="mw-headline">install soxlib and sox_tools</span></h4>
<dl>
<dd>soon
</dd>
</dl>
<p><a name="sox_tools" id="sox_tools"></a><br />
<h4><span class="mw-headline">sox_tools</span></h4>
<p>-sox_tools config
</p>
<dl>
<dd>create .sox_tools.cfg in your home
</dd>
</dl>
<pre>
[XMPP]
PORT=10223
HOST=hci.uma.pt
PUBSUB_SERVER_NAME=pubsub.hci.uma.pt
TIMEOUT=10

[DEFAULT_USER]
JID=user123@hci.uma.pt/resource_xpto
PASSWORD=user123
</pre>
<p>- in this example we are publishing the value 25 with unit &#8220;C&#8221; from variable 14 in <i>user123_network</i> network
</p>
<pre>
sox_tools publish user123_network 14 25 C
</pre>
<p><a name="Bash_script_.28HTTP_method.29" id="Bash_script_.28HTTP_method.29"></a><br />
<h4> <span class="mw-headline">Bash script (HTTP method)</span></h4>
<pre>
#!/bin/bash

# user credentials
USERNAME=user123@hci.uma.pt
USERPASSWORD=user123
NODE=user123_network
VARIABLEID=55

# publish Url
URL=http://dev.hci.uma.pt/sawa/xmpp/publish

# data value
DATA=99

curl -d &quot;USERNAME=$USERNAME&amp;USERPASSWORD=$USERPASSWORD&amp;VARIABLEID[]=$VARIABLEID&amp;NODE=$NODE&amp;DATA[]=$DATA&quot; $URL
</pre>
<p><a name="How_to_use_this_system.3F" id="How_to_use_this_system.3F"></a><br />
<h2> <span class="mw-headline">How to use this system?</span></h2>
<p><a name="Create_account" id="Create_account"></a><br />
<h3> <span class="mw-headline">Create account</span></h3>
<p><a href="Account.png" class="image" title="File:account.png"><img alt="File:account.png" src="http://hci.uma.pt/wiki/images/9/92/Account.png" width="464" height="326" border="0" /></a><a href="Login.png" class="image" title="File:login.png"><img alt="File:login.png" src="http://hci.uma.pt/wiki/images/6/68/Login.png" width="444" height="250" border="0" /></a>
</p>
<p>After creating an account, login with your credentials.<br />
<a name="Create_Network" id="Create_Network"></a><br />
<h3> <span class="mw-headline">Create Network</span></h3>
<div class="center">
<div class="floatnone"><a href="New_network.png" class="image" title="New network.png"><img alt="" src="http://hci.uma.pt/wiki/images/d/de/New_network.png" width="838" height="474" border="0" /></a></div>
</div>
<p>When creating a new network it is possible to specify the access level, and network location. </p>
<p> 
</p>
<p><a name="Create_Sensor" id="Create_Sensor"></a><br />
<h3><span class="mw-headline">Create Sensor</span></h3>
<div class="center">
<div class="floatnone"><a href="New_sensor.png" class="image" title="New sensor.png"><img alt="" src="http://hci.uma.pt/wiki/images/c/c2/New_sensor.png" width="648" height="511" border="0" /></a></div>
</div>
<p>To create a sensor, we have to select the network which will belong to, the type (sensor or actuator),  location and the variables of the sensor (this variables can be for example door status, open time and closed time count from a door switch sensor). After this steps, we are now able to upload data and see them on charts. </p>
<p> 
</p>
<p><a name="Publish_data" id="Publish_data"></a><br />
<h3> <span class="mw-headline">Publish data</span></h3>
<p>There is two methods of sending data, one is HTTP POST, useful for simples devices, without capabilities of parsing XML and establishing SSL connections. The other method is using sox_tools, a specific XMPP client for this system. Last one has the ability to publish, listen events and manage pubsub nodes.
</p>
<p> 
</p>
<p><a name="using_XMPP_Client_.28_sox_tools_recommended_.29" id="using_XMPP_Client_.28_sox_tools_recommended_.29"></a><br />
<h4><span class="mw-headline"><b>using XMPP Client ( sox_tools recommended )</b></span></h4>
<dl>
<dd><i>sox_tools publish myHome 11 14698</i>
</dd>
</dl>
<p> 
</p>
<p><a name="using_HTTP_POST" id="using_HTTP_POST"></a><br />
<h4> <span class="mw-headline"><b>using HTTP POST</b></span></h4>
<dl>
<dd><i>curl -d -m 10 &#8220;USERNAME=user123@hci.uma.pt&amp;USERPASSWORD=user123&amp;VARIABLEID[]=11&amp;NODE=myHome&amp;DATA=14698&#8243;  $URL</i>
</dd>
</dl>
<p> 
</p>
<p><a name="View_data_charts" id="View_data_charts"></a><br />
<h3> <span class="mw-headline">View data charts</span></h3>
<div class="center">
<div class="floatnone"><a href="View_chart.png" class="image" title="View chart.png"><img alt="" src="http://hci.uma.pt/wiki/images/thumb/f/f6/View_chart.png/650px-View_chart.png" width="650" height="279" border="0" /></a></div>
</div>
<p> 
</p>
<p>All sensor data is set to be recorded by default, in “Data” menu, select the chart type and sensor variables to be represented, and to finish click on interval to generate graph.<br />
<a name="Create_policies" id="Create_policies"></a><br />
<h3> <span class="mw-headline">Create policies</span></h3>
<div class="center">
<div class="floatnone"><a href="New_action.png" class="image" title="New action.png"><img alt="" src="http://hci.uma.pt/wiki/images/2/2d/New_action.png" width="736" height="470" border="0" /></a></div>
</div>
<div class="center">
<div class="floatnone"><a href="Policies.png" class="image" title="Policies.png"><img alt="" src="http://hci.uma.pt/wiki/images/c/c2/Policies.png" width="1056" height="243" border="0" /></a></div>
</div>
<p> 
</p>
<div class="center">
<div class="floatnone"><a href="Policy_info.png" class="image" title="Policy info.png"><img alt="" src="http://hci.uma.pt/wiki/images/1/1a/Policy_info.png" width="1060" height="370" border="0" /></a></div>
</div>
<p>In policies we have, four types of notifications, email, sms, url and publish events to actuators, in this example I created a policy to alert me when thee door is more than 300 seconds open. I repeated  the same test with all notifications types, the results are bellow. </p>
<p> 
</p>
<p><a name="Email_notification" id="Email_notification"></a><br />
<h4> <span class="mw-headline">Email notification</span></h4>
<div class="center">
<div class="floatnone"><a href="Email_notification.png" class="image" title="Email notification.png"><img alt="" src="http://hci.uma.pt/wiki/images/thumb/d/dd/Email_notification.png/800px-Email_notification.png" width="800" height="229" border="0" /></a></div>
</div>
<p>Email notification working </p>
<p> 
</p>
<p><a name="URL_notification" id="URL_notification"></a><br />
<h4> <span class="mw-headline">URL notification</span></h4>
<div class="center">
<div class="floatnone"><a href="Url_notification.png" class="image" title="Url notification.png"><img alt="" src="http://hci.uma.pt/wiki/images/4/46/Url_notification.png" width="764" height="124" border="0" /></a></div>
</div>
<p>Datarecorder service output, policy Url being called </p>
<p> 
</p>
<p><a name="SMS_notification" id="SMS_notification"></a><br />
<h4><span class="mw-headline">SMS notification</span></h4>
<div class="center">
<div class="floatnone"><a href="Sms_notification1.png" class="image" title="Sms notification1.png"><img alt="" src="http://hci.uma.pt/wiki/images/thumb/0/0e/Sms_notification1.png/250px-Sms_notification1.png" width="250" height="228" border="0" /></a></div>
</div>
<div class="center">
<div class="floatnone"><a href="Sms_notification2.png" class="image" title="Sms notification2.png"><img alt="" src="http://hci.uma.pt/wiki/images/thumb/4/46/Sms_notification2.png/250px-Sms_notification2.png" width="250" height="186" border="0" /></a></div>
</div>
<p>SMS notification arrived </p>
<p> 
</p>
<p><a name="Node_event" id="Node_event"></a><br />
<h4><span class="mw-headline">Node event</span></h4>
<div class="center">
<div class="floatnone"><a href="Node_notification.png" class="image" title="Node notification.png"><img alt="" src="http://hci.uma.pt/wiki/images/e/e1/Node_notification.png" width="1009" height="222" border="0" /></a></div>
</div>
<p>Event published on node </p>
<p> 
</p>
<p><a name="Practical_use_cases" id="Practical_use_cases"></a><br />
<h2><span class="mw-headline">Practical use cases</span></h2>
<p><a name="Monitoring_a_refrigerator" id="Monitoring_a_refrigerator"></a><br />
<h3><span class="mw-headline">Monitoring a refrigerator</span></h3>
<p>I used this experience to test the system, so the objective was to record sensor data.<br />
The variables I selected to record was: door status(open or closed), time open (number of seconds the door was open), and temperature.<br />
Since arduino is very resource limited, i used HTTP POST method to publish data.
</p>
<p> 
</p>
<p><a name="Sensors" id="Sensors"></a><br />
<h4><span class="mw-headline">Sensors</span></h4>
<ul>
<li>sensors</p>
<ul>
<li>1 temperature sensor
</li>
<li>1 photo-resistor
</li>
</ul>
</li>
</ul>
<ul>
<li>devices</p>
<ul>
<li>2 arduinos
</li>
<li>1 ethernet shield
</li>
<li>1 RF kit
</li>
</ul>
</li>
</ul>
<p><a name="Network_diagram" id="Network_diagram"></a><br />
<h4><span class="mw-headline">Network diagram</span></h4>
<div class="center">
<div class="floatnone"><a href="Refrigerator.png" class="image" title="Refrigerator.png"><img alt="" src="http://hci.uma.pt/wiki/images/d/d8/Refrigerator.png" width="713" height="288" border="0" /></a></div>
</div>
<p>Sensor Network diagram </p>
<p> <br />
- The arduino on refrigerator sends messages to gateway (arduino in router) with format <i>msg_id:sensor_variable:value</i> (example: 455:door:1:temperature:10)<br />
- Then gateway sends via HTTP POST the sensor value with user credentials and sensor identification<br />
- Then on server, this data is published to XMPP node
</p>
<p> 
</p>
<p> 
</p>
<p><a name="Pictures" id="Pictures"></a><br />
<h4><span class="mw-headline">Pictures</span></h4>
<div class="center">
<div class="floatnone"><a href="Refrigerator1.png" class="image" title="Refrigerator1.png"><img alt="" src="http://hci.uma.pt/wiki/images/9/95/Refrigerator1.png" width="914" height="628" border="0" /></a></div>
</div>
<p>Refrigerator with Arduino </p>
<p> 
</p>
<div class="center">
<div class="floatnone"><a href="Refrigerator3.png" class="image" title="Refrigerator3.png"><img alt="" src="http://hci.uma.pt/wiki/images/8/8f/Refrigerator3.png" width="846" height="464" border="0" /></a></div>
</div>
<p>Arduino with RF transmitter module (with yellow wire as antenna)<br />
Blue wire is energy source, red, black and white are connected to sensors </p>
<p> 
</p>
<div class="center">
<div class="floatnone"><a href="Refrigerator4.png" class="image" title="Refrigerator4.png"><img alt="" src="http://hci.uma.pt/wiki/images/0/00/Refrigerator4.png" width="796" height="523" border="0" /></a></div>
</div>
<p>Instead of having a door switch, I used a photo-resistor as door switch, which measures the amount of light. So when we open the door, the light from refrigerator will go up and go down when door is closed. </p>
<p> 
</p>
<div class="center">
<div class="floatnone"><a href="Refrigerator5.png" class="image" title="Refrigerator5.png"><img alt="" src="http://hci.uma.pt/wiki/images/4/44/Refrigerator5.png" width="514" height="562" border="0" /></a></div>
</div>
<p> 
</p>
<p>Here is two basic sensors the &#8220;door switch&#8221; and temperature sensor </p>
<p> 
</p>
<div class="center">
<div class="floatnone"><a href="Sensor_gateway1.png" class="image" title="Sensor gateway1.png"><img alt="" src="http://hci.uma.pt/wiki/images/9/96/Sensor_gateway1.png" width="860" height="685" border="0" /></a></div>
</div>
<p>My sensor gateway, responsible for receiving data through RF and send to server </p>
<p> 
</p>
<div class="center">
<div class="floatnone"><a href="Sensor_gateway2.png" class="image" title="Sensor gateway2.png"><img alt="" src="http://hci.uma.pt/wiki/images/6/6d/Sensor_gateway2.png" width="923" height="628" border="0" /></a></div>
</div>
<p>Arduino+Ethernet Shield+RF Reciver </p>
<p> 
</p>
<p><a name="Data_charts" id="Data_charts"></a><br />
<h4><span class="mw-headline">Data charts</span></h4>
<div class="center">
<div class="floatnone"><a href="Chart1.png" class="image" title="Chart1.png"><img alt="" src="http://hci.uma.pt/wiki/images/thumb/b/b7/Chart1.png/800px-Chart1.png" width="800" height="400" border="0" /></a></div>
</div>
<div class="center">
<div class="floatnone"><a href="Chart2.png" class="image" title="Chart2.png"><img alt="" src="http://hci.uma.pt/wiki/images/thumb/9/9b/Chart2.png/800px-Chart2.png" width="800" height="399" border="0" /></a></div>
</div>
<div class="center">
<div class="floatnone"><a href="Chart3.png" class="image" title="Chart3.png"><img alt="" src="http://hci.uma.pt/wiki/images/thumb/8/89/Chart3.png/800px-Chart3.png" width="800" height="382" border="0" /></a></div>
</div>
<div class="center">
<div class="floatnone"><a href="Chart5.png" class="image" title="Chart5.png"><img alt="" src="http://hci.uma.pt/wiki/images/thumb/b/b4/Chart5.png/800px-Chart5.png" width="800" height="400" border="0" /></a></div>
</div>
<div class="center">
<div class="floatnone"><a href="Chart4.png" class="image" title="Chart4.png"><img alt="" src="http://hci.uma.pt/wiki/images/thumb/9/96/Chart4.png/800px-Chart4.png" width="800" height="380" border="0" /></a></div>
</div>
<p> 
</p>
<p><a name="Possible_experiences" id="Possible_experiences"></a><br />
<h3><span class="mw-headline">Possible experiences</span></h3>
<p><a name="Inteligent_Mail_box" id="Inteligent_Mail_box"></a><br />
<h4><span class="mw-headline">Inteligent Mail box</span></h4>
<dl>
<dd>adding soon
</dd>
</dl>
<p><a name="Wine_monitoring" id="Wine_monitoring"></a><br />
<h4><span class="mw-headline">Wine monitoring</span></h4>
<dl>
<dd>adding soon
</dd>
</dl>
<p><a name="Energy_savings" id="Energy_savings"></a><br />
<h4><span class="mw-headline">Energy savings</span></h4>
<dl>
<dd>turn power off from all standby devices, if inactivity in a room is greater than a number of seconds
</dd>
<dd>arduino or pc+PIR+Relay
</dd>
</dl>
<p><a name="GPS" id="GPS"></a><br />
<h4><span class="mw-headline">GPS</span></h4>
<dl>
<dd>create policy with geographical limitations (square), when device enters this area an action will be triggered
</dd>
</dl>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/middlewaresensing.wordpress.com/421/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/middlewaresensing.wordpress.com/421/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/middlewaresensing.wordpress.com/421/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/middlewaresensing.wordpress.com/421/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/middlewaresensing.wordpress.com/421/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/middlewaresensing.wordpress.com/421/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/middlewaresensing.wordpress.com/421/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/middlewaresensing.wordpress.com/421/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/middlewaresensing.wordpress.com/421/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/middlewaresensing.wordpress.com/421/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/middlewaresensing.wordpress.com/421/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/middlewaresensing.wordpress.com/421/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/middlewaresensing.wordpress.com/421/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/middlewaresensing.wordpress.com/421/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=middlewaresensing.wordpress.com&amp;blog=9590356&amp;post=421&amp;subd=middlewaresensing&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://middlewaresensing.wordpress.com/2010/05/07/system-use-cases-and-refrigerator-experience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2de0ec79cc87c74445cffa0fcb5e29c2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">salvadormrf</media:title>
		</media:content>

		<media:content url="http://hci.uma.pt/wiki/images/thumb/3/3f/Services.png/800px-Services.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/9/92/Account.png" medium="image">
			<media:title type="html">File:account.png</media:title>
		</media:content>

		<media:content url="http://hci.uma.pt/wiki/images/6/68/Login.png" medium="image">
			<media:title type="html">File:login.png</media:title>
		</media:content>

		<media:content url="http://hci.uma.pt/wiki/images/d/de/New_network.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/c/c2/New_sensor.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/thumb/f/f6/View_chart.png/650px-View_chart.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/2/2d/New_action.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/c/c2/Policies.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/1/1a/Policy_info.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/thumb/d/dd/Email_notification.png/800px-Email_notification.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/4/46/Url_notification.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/thumb/0/0e/Sms_notification1.png/250px-Sms_notification1.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/thumb/4/46/Sms_notification2.png/250px-Sms_notification2.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/e/e1/Node_notification.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/d/d8/Refrigerator.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/9/95/Refrigerator1.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/8/8f/Refrigerator3.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/0/00/Refrigerator4.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/4/44/Refrigerator5.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/9/96/Sensor_gateway1.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/6/6d/Sensor_gateway2.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/thumb/b/b7/Chart1.png/800px-Chart1.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/thumb/9/9b/Chart2.png/800px-Chart2.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/thumb/8/89/Chart3.png/800px-Chart3.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/thumb/b/b4/Chart5.png/800px-Chart5.png" medium="image" />

		<media:content url="http://hci.uma.pt/wiki/images/thumb/9/96/Chart4.png/800px-Chart4.png" medium="image" />
	</item>
	</channel>
</rss>
