Home automation with node.js