An automatic coffee maker comprises a tube valve which has a passage tube for liquids and/or gases and a control device for controlling a throughput through the passage tube. The tube valve is improved by a direction changing device which changes an orientation of the passage tube during operation.