There are plenty of smart coffee machines around. Not all of them work with the Amazon Dash program though. The Illy Y5 Espresso & Coffee Machine lets you brew coffee from your mobile device. When you run out of capsules, new ones are ordered from Amazon automatically.
The coffee machine is compatible with iOS and Android devices. It sends you notifications when you are running low on coffee. It can be put on a schedule to brew your coffee at the right time.