Here is a smart coffee machine that reorders capsules automatically when you are running out. The Illy Y5 Espresso & Coffee Machine has Bluetooth. It is expected to work with Android and iOS devices. You will be able to use your mobile device to put the device on a schedule.
The Y5 machine has two touch-responsive LED icons, so you can choose coffee or espresso easily. It comes with convenient features such as clear water tank, adjustable cup tray, and Amazon Dash integration. More info is available here.