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

<channel>
	<title>My Piece of the Inter(.)net &#187; RoomieScript</title>
	<atom:link href="http://mypieceoftheinter.net/tag/roomiescript/feed" rel="self" type="application/rss+xml" />
	<link>http://mypieceoftheinter.net</link>
	<description>A place for my geekish ramblings or whatever I find interesting.</description>
	<lastBuildDate>Mon, 16 Jan 2012 16:35:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Another novel (and silly) use for Roomie</title>
		<link>http://mypieceoftheinter.net/archives/2160</link>
		<comments>http://mypieceoftheinter.net/archives/2160#comments</comments>
		<pubDate>Mon, 11 Oct 2010 16:35:46 +0000</pubDate>
		<dc:creator>David McGrath</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C Sharp]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Roomie!]]></category>
		<category><![CDATA[RoomieScript]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://mypieceoftheinter.net/archives/2160</guid>
		<description><![CDATA[I’ve been working (rather obsessively) on Roomie for the past week.&#160; In specific, I have rewritten the XML-based protocol that allows the desktop client to communicate with the web service.&#160; (Say “hi” to it here.)&#160; The new library (which I call WebCommunicator) is sooo much easier to use than my old one, but still has [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been working (rather obsessively) on Roomie for the past week.&#160; In specific, I have rewritten the XML-based protocol that allows the desktop client to communicate with the web service.&#160; (Say “hi” to it <a href="http://roomie.somewhatgeeky.com/communicator/">here</a>.)&#160; The new library (which I call WebCommunicator) is sooo much easier to use than my old one, but still has all the nifty (and important) encryption and anti-hacking features.&#160; I will eventually publish the protocol as an independent library.&#160; (Give me a bit to use it more and work out all the kinks.)</p>
<p>But enough technical talk.&#160; Lets get to <em>serious business.</em>&#160; Here I have a little RoomieScript that I wrote, just as a proof of concept. </p>
<p><span style="font-family: monospace; white-space: nowrap; color: blue">&lt;<span style="color: maroon">RoomieScript</span>&gt;       <br />&#160; &lt;<span style="color: maroon">ZWave.PowerOff</span>&#160;<span style="color: red">DeviceName</span>=&quot;<span style="color: black"><b>Coffee Pot</b></span>&quot; /&gt;       <br />&#160; &lt;<span style="color: maroon">Core.Loop</span>&gt;       <br />&#160;&#160;&#160; &lt;<span style="color: maroon">ZWave.WaitForChange</span>&#160;<span style="color: red">DeviceName</span>=&quot;<span style="color: black"><b>Coffee Pot</b></span>&quot; <span style="color: red">PollInterval</span>=&quot;<span style="color: black"><b>5 Seconds</b></span>&quot; /&gt;       <br />&#160;&#160;&#160; &lt;<span style="color: maroon">ZWave.PowerOff</span>&#160;<span style="color: red">DeviceName</span>=&quot;<span style="color: black"><b>Coffee Pot</b></span>&quot; /&gt;       <br />&#160;&#160;&#160; &lt;<span style="color: maroon">RoomieBot.TextDavid</span>&#160;<span style="color: red">Text</span>=&quot;<span style="color: black"><b>No coffee!</b></span>&quot; /&gt;       <br />&#160; &lt;/<span style="color: maroon">Core.Loop</span>&gt;       <br />&lt;/<span style="color: maroon">RoomieScript</span>&gt;       <br /></span></p>
<p> <span id="more-2160"></span>
<p>Here Roomie waits until the coffee maker is turned on, then turns it off and sends me a <em>terse</em> text message. Yes, it works!&#160; And yes, I do use Roomie for legitimate things, but ah… it’s so just that much fun to be dumb.</p>
<p>Interested in beta testing Roomie?&#160; Send me a message.</p>
]]></content:encoded>
			<wfw:commentRss>http://mypieceoftheinter.net/archives/2160/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Roomie is getting more powerful!</title>
		<link>http://mypieceoftheinter.net/archives/1768</link>
		<comments>http://mypieceoftheinter.net/archives/1768#comments</comments>
		<pubDate>Tue, 04 Aug 2009 02:37:51 +0000</pubDate>
		<dc:creator>David McGrath</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Home Automation]]></category>
		<category><![CDATA[Roomie!]]></category>
		<category><![CDATA[RoomieScript]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[Z-Wave]]></category>

		<guid isPermaLink="false">http://mypieceoftheinter.net/?p=1768</guid>
		<description><![CDATA[I&#8217;ve been making more improvements to Roomie (which I still haven&#8217;t released). Now a RoomieScript can send a RoomieScript to another computer. This makes collaborated scripts much easier. The script below gets two of my computers, the Home Server and Desktop Computer, to wake me up in the morning. The Home Server handles the Z-Wave [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been making more improvements to Roomie (which I still haven&#8217;t released). Now a RoomieScript can send a RoomieScript to another computer. This makes collaborated scripts much easier. The script below gets two of my computers, the Home Server and Desktop Computer, to wake me up in the morning. The Home Server handles the Z-Wave stuff—turning the lights on and off—and the Desktop Computer handles the music.</p>
<p><span id="more-1768"></span></p>
<p><span style="font-family: monospace; white-space: nowrap; color: blue">&lt;<span style="color: maroon">roomieScript</span>&gt; </p>
<p>&#160; <span style="font-style: italic; color: grey">&lt;!&#8211;&#160; this sends a script to the Desktop Computer&#160; &#8211;&gt;</span> </p>
<p>&#160; <span style="font-style: italic; color: grey">&lt;!&#8211;&#160; it&#8217;s really just to confirm that both computers are turned on&#160; &#8211;&gt;</span> </p>
<p>&#160; &lt;<span style="color: maroon">webScripts.sendScript</span>&#160;<span style="color: red">targetComputerName</span>=&quot;<span style="color: black"><b>Desktop Computer</b></span>&quot;&gt; </p>
<p>&#160;&#160;&#160; &lt;<span style="color: maroon">speak</span>&gt; </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color: black"><b><br />
        <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; all set! </p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </b></span></p>
<p>&#160;&#160;&#160; &lt;/<span style="color: maroon">speak</span>&gt; </p>
<p>&#160; &lt;/<span style="color: maroon">webScripts.sendScript</span>&gt; </p>
<p>&#160; <span style="font-style: italic; color: grey">&lt;!&#8211; wait until the morning&#160; &#8211;&gt;</span> </p>
<p>&#160; &lt;<span style="color: maroon">waitUntil</span>&#160;<span style="color: red">hour</span>=&quot;<span style="color: black"><b>6</b></span>&quot; <span style="color: red">minute</span>=&quot;<span style="color: black"><b>0</b></span>&quot; <span style="color: red">second</span>=&quot;<span style="color: black"><b>0</b></span>&quot; /&gt; </p>
<p>&#160; <span style="font-style: italic; color: grey">&lt;!&#8211;&#160; send a script to Home Server to handle the lights &#8211;&gt;</span> </p>
<p>&#160; &lt;<span style="color: maroon">webScripts.sendScript</span>&#160;<span style="color: red">targetComputerName</span>=&quot;<span style="color: black"><b>Home Server</b></span>&quot;&gt; </p>
<p>&#160;&#160;&#160; <span style="font-style: italic; color: grey">&lt;!&#8211;&#160; dim the Door Lamp and Desk Light on slowly and simultaniously&#160; &#8211;&gt;</span> </p>
<p>&#160;&#160;&#160; &lt;<span style="color: maroon">insertScript</span>&#160;<span style="color: red">runInNewThread</span>=&quot;<span style="color: black"><b>yes</b></span>&quot;&gt; </p>
<p>&#160;&#160;&#160;&#160;&#160; <span style="font-style: italic; color: grey">&lt;!&#8211;&#160; dim the Bed Lamp on faster than the Bed Lamp&#160; &#8211;&gt;</span> </p>
<p>&#160;&#160;&#160;&#160;&#160; &lt;<span style="color: maroon">zWave.slowDimOn</span>&#160;<span style="color: red">module</span>=&quot;<span style="color: black"><b>Bed Lamp</b></span>&quot; <span style="color: red">durration</span>=&quot;<span style="color: black"><b>280</b></span>&quot; /&gt; </p>
<p>&#160;&#160;&#160; &lt;/<span style="color: maroon">insertScript</span>&gt; </p>
<p>&#160;&#160;&#160; &lt;<span style="color: maroon">insertScript</span>&#160;<span style="color: red">runInNewThread</span>=&quot;<span style="color: black"><b>yes</b></span>&quot;&gt; </p>
<p>&#160;&#160;&#160;&#160;&#160; &lt;<span style="color: maroon">zWave.slowDimOn</span>&#160;<span style="color: red">module</span>=&quot;<span style="color: black"><b>Door Lamp</b></span>&quot; <span style="color: red">durration</span>=&quot;<span style="color: black"><b>120</b></span>&quot; /&gt; </p>
<p>&#160;&#160;&#160; &lt;/<span style="color: maroon">insertScript</span>&gt; </p>
<p>&#160;&#160;&#160; <span style="font-style: italic; color: grey">&lt;!&#8211;&#160; wait an hour and a half, then turn off all the lights&#160; &#8211;&gt;</span> </p>
<p>&#160;&#160;&#160; &lt;<span style="color: maroon">waitFor</span>&#160;<span style="color: red">seconds</span>=&quot;<span style="color: black"><b>5400</b></span>&quot; /&gt; </p>
<p>&#160;&#160;&#160; &lt;<span style="color: maroon">zWave.powerOff</span>&#160;<span style="color: red">module</span>=&quot;<span style="color: black"><b>Desk Light</b></span>&quot; /&gt; </p>
<p>&#160;&#160;&#160; &lt;<span style="color: maroon">zWave.powerOff</span>&#160;<span style="color: red">module</span>=&quot;<span style="color: black"><b>Door Lamp</b></span>&quot; /&gt; </p>
<p>&#160;&#160;&#160; &lt;<span style="color: maroon">zWave.powerOff</span>&#160;<span style="color: red">module</span>=&quot;<span style="color: black"><b>Bed Lamp</b></span>&quot; /&gt; </p>
<p>&#160; &lt;/<span style="color: maroon">webScripts.sendScript</span>&gt; </p>
<p>&#160; &lt;<span style="color: maroon">webScripts.sendScript</span>&#160;<span style="color: red">targetComputerName</span>=&quot;<span style="color: black"><b>Desktop Computer</b></span>&quot;&gt; </p>
<p>&#160;&#160;&#160; <span style="font-style: italic; color: grey">&lt;!&#8211;&#160; wait three minutes after the light dimming has begun, then play music&#160; &#8211;&gt;</span> </p>
<p>&#160;&#160;&#160; &lt;<span style="color: maroon">waitFor</span>&#160;<span style="color: red">seconds</span>=&quot;<span style="color: black"><b>180</b></span>&quot; /&gt; </p>
<p>&#160;&#160;&#160; &lt;<span style="color: maroon">openFile</span>&#160;<span style="color: red">path</span>=&quot;<span style="color: black"><b>F:/music/playlists/Wake Up.wpl</b></span>&quot; /&gt; </p>
<p>&#160; &lt;/<span style="color: maroon">webScripts.sendScript</span>&gt; </p>
<p>&lt;/<span style="color: maroon">roomieScript</span>&gt; </p>
<p></span></p>
]]></content:encoded>
			<wfw:commentRss>http://mypieceoftheinter.net/archives/1768/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RoomieScript demo</title>
		<link>http://mypieceoftheinter.net/archives/1578</link>
		<comments>http://mypieceoftheinter.net/archives/1578#comments</comments>
		<pubDate>Wed, 15 Apr 2009 17:02:33 +0000</pubDate>
		<dc:creator>David McGrath</dc:creator>
				<category><![CDATA[Demos]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[ControlThink]]></category>
		<category><![CDATA[Roomie!]]></category>
		<category><![CDATA[RoomieScript]]></category>
		<category><![CDATA[SDK]]></category>
		<category><![CDATA[X10]]></category>
		<category><![CDATA[Z-Wave]]></category>

		<guid isPermaLink="false">http://mypieceoftheinter.net/archives/1578</guid>
		<description><![CDATA[I gave a presentation for my ENGE 1104 (Exploration of a Digital Future) class about home automation.&#160; My team members talked about X10, Z-Wave, ControlThink’s SDK, and some project ideas.&#160; I gave a brief overview of a project that I have been working on sporadically for a couple years, Roomie.&#160; In doing so, I for [...]]]></description>
			<content:encoded><![CDATA[<p>I gave a presentation for my ENGE 1104 (Exploration of a Digital Future) class about home automation.&#160; My team members talked about <a href="http://en.wikipedia.org/wiki/X10_(industry_standard)">X10</a>, <a href="http://en.wikipedia.org/wiki/Z-wave">Z-Wave</a>, <a href="http://controlthink.com/zwavesdk.htm">ControlThink’s SDK</a>, and some project ideas.&#160; I gave a brief overview of a project that I have been working on sporadically for a couple years, <a href="http://redirect.somewhatgeeky.com/?token=roomie">Roomie</a>.&#160; In doing so, I for created some documentation, so I figured I’d publish some of it here.&#160; Here is an example of RoomieScript and it’s execution:   <br /><img style="display: inline" title="RoomieScript sample" alt="RoomieScript sample" src="http://mypieceoftheinter.net/wp-content/uploads/2009/04/roomiescript-sample1.png" width="640" height="640" /></p>
]]></content:encoded>
			<wfw:commentRss>http://mypieceoftheinter.net/archives/1578/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

