Smarter hot water