Wi-fi linked coffee jar

I forgot to mention a key variable. The coffee jar would have an automated air escape function

that would push the beans to down. Any suggestions based off of this?

thanks for the previous stuff.