Home automation using raspberry pi and node.js