Another novel (and silly) use for Roomie
October 11th, 2010I’ve been working (rather obsessively) on Roomie for the past week. In specific, I have rewritten the XML-based protocol that allows the desktop client to communicate with the web service. (Say “hi” to it here.) 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. I will eventually publish the protocol as an independent library. (Give me a bit to use it more and work out all the kinks.)
But enough technical talk. Lets get to serious business. Here I have a little RoomieScript that I wrote, just as a proof of concept.
<RoomieScript>
<ZWave.PowerOff DeviceName="Coffee Pot" />
<Core.Loop>
<ZWave.WaitForChange DeviceName="Coffee Pot" PollInterval="5 Seconds" />
<ZWave.PowerOff DeviceName="Coffee Pot" />
<RoomieBot.TextDavid Text="No coffee!" />
</Core.Loop>
</RoomieScript>
Here Roomie waits until the coffee maker is turned on, then turns it off and sends me a terse text message. Yes, it works! And yes, I do use Roomie for legitimate things, but ah… it’s so just that much fun to be dumb.
Interested in beta testing Roomie? Send me a message.
