Home automation using route.js