It’s a common problem in a multi-level office like ours: How does the staff upstairs know when a fresh pot of coffee is ready downstairs? Wouldn’t it be better if there was a way to alert the entire staff without having to rely on the aroma wafting upstairs? Lucky for us, we have Oscar, our IoT Engineer, who put together a simple four step solution. He diagrammed it out to show what happens once a new pot of coffee is started.
Let’s break down the process, step by step…
Step 1: Start a new pot of the delicious caffeinated nectar of the gods.
Step 2: When you press the red coffee button, the Adafruit Feather board is told to send a web request to Maker (a site by IFTTT, which stands for “If This Then That,” that accepts web requests). The sent web request then triggers IFTTT to send a message to the Slack channel saying “Coffee is Brewing!”.
Step 3: Then the code has a delay for 5000 milliseconds. And when you’re waiting for coffee, you feel every single one.
Step 4: After the 5000 millisecond delay, the Adafruit Feather board sends yet another web request to Maker. This time, the web request triggers IFTTT to send a message to the Slack channel saying “Coffee is Ready!” And there is much rejoicing.