Tuesday, March 3, 2009

House rules...

rule "Close Garage Door"

when

event : TimeEvent()

garageDoor : GarageDoor(doorOpen == true)

jabber : JabberAlarm()

then

garageDoor.closeDoor();

log.info("Closed garage door by rule on " + new Date());

jabber.sendNotification("Closed garage door by rule on " + new Date());

end


It keeps me from letting all the riffraff in when I leave the door open at night. Thanks drools!

A conversation with my house


It even cleans up after me. :) In case it's not clear, I'm the penguin. I'm just speaking in javascript.