A take on home automation with NodeJS