Monthly Archives: February 2015

Raspberry Pi-powered Slack-enabled summon button!

2013 may have been the year of the undocumented project, and I’mma get to those eventually, but 2014 had some fun moments that warrant note, too.

boozebox1Enter the BoozeBox! This little box with a big, flashing, red button was meant to resemble a military missile launcher. Inside is a Raspberry Pi that integrates with my company’s Slack (for those of you that don’t know, Slack is only the best chat program of all time) installation via a Slack webhooks integration. With an extremely simple Python script, a smash of the button sends warning via BoozeBot, my custom chatbot, to all inhabitants of the office that drinks and snacks have indeed arrived (something of a late-afternoon, early-evening tradition at our office) and are ready for consumption in the kitchen.

The green and red status lights are indicators of network connectivity and a successful transmission, respectfully. Messages sent via BoozeBot are chosen randomly or by the day of the week (right now, Friday is the only day with unique messages). In the future, I’d like to add a toggle switch so a user can indicate whether or not the bot should report the presence of snacks, booze, or both.