a simple node.js sprinkler controller