Smartening a Coffeemachine