Working with headphones on normally means you’d slightly not be bothered, however typically it means you’re simply listening to one thing whilst you work. If you wish to be accessible regardless of your cans being on, why not construct your individual alert button?
Enter developer Nick Sypteras, who needed to unravel the issue of coworkers requesting his consideration whereas his headphones had been on. Working in a cubicle, he wrote, “There’s no approach for a customer to my desk to get my consideration aside from by waving their hand in my face, making loud noises behind me, and so on.” So he broke out the soldering iron, a Staples Easy Button, and an Adafruit microcontroller.
Sypteras wrote the code to ship his Slack alerts in MicroPython, a model of the programming language designed for microcontroller boards. The Adafruit Feather HUZZAH microcontroller listens for a change in worth based mostly on whether or not the button was pressed.
Using Slack’s API, he was capable of ship messages to a personal channel he created particularly for his desk’s straightforward button. While the message simply lets him know he’s acquired a customer, you will get fancy with it and use Slack’s API to connect extra data to your alerts.