node.js server to handle home automation