![]() Download it from the bottom of this step. I’ve included the basic rotary switch code for six statuses. In this case, I also added some LEDs to the prototype to help me debug my code. I always like to make a solderless breadboard prototype of my projects before committing to the final form. 10K pull-up resistor between pin 16 and 3V (this pin does not have an internal pullup like the others).Switch leads to ESP8266 GPIO pins 13, 12, 14, 4, 5, and 16 (NodeMCU pins marked D7, D6, D5, D2, D1, and D0).The circuit diagram details the following connections: I used a multimeter to figure out which switch leads connect to which dial positions. I chose to use a rotary switch to dial in my status from a bunch of choices around the circle. Run Arduino Slack API Library Sample Codeįrom here, it’s all about the physical interface and what statuses you program it to set for you. As an Amazon Associate I earn from qualifying purchases you make using my affiliate links. To keep up with what I’m working on, follow me on YouTube, Instagram, Twitter, Pinterest, and subscribe to my newsletter. 3D printer (I used a Creality CR-10s Pro).Slack access token (learn how to get this in the next step).ESP8266 wifi board such as NodeMCU or D1 mini.If you’re new to Arduino, try my free Arduino class first. You might remember my YouTube subscriber counter, which was also written using one of Brian’s API libraries. This project is a collaboration with Brian Lough, who’s an ESP whiz and author of many Arduino API libraries including this new one for Slack. I thought it would help me remember to have a physical device on my desk that can set my Slack status for me. You could create another zap that toggles your status back to available when you exit a Serene session earlier than 30 minutes, but for simplicity, we’ll assume in this tutorial that it’s okay to be in Serene mode for 30 minutes every time you Go Serene.Forget to set it when you leave your desk, and you may get interrupted by somebody who thinks you’re available. Send a test to Slack, click finish and turn your zap on!.Set the status emoji to :serene: (we’ll explain this in step 3!).Change the Status Text to ‘In Serene Mode’.Continue without samples to set up your action.Click ‘Show less common options’ and select ‘Set Status’.Search for Slack and select this as the action.In Zapier, click ‘OK, I did this’ and continue to add an action step.Step 2: Set your zap’s action to change your Slack status ![]() Optional: To test that this step works before moving on, you can either click Go Serene in Serene to ping your webhook URL, or click ‘Skip this step’.Copy the webhook URL and paste it in the webhook URL field in Serene under settings > webhook.Select ‘Catch hook’ and click ‘Save + Continue’.Search for ‘Webhooks by Zapier’ and select this as the trigger.Click ‘Make a Zap’ in the top navigation.How to Change Your Slack Status When You Go Serene Step 1: Create a zap where the trigger is ‘catch hook’ This feature is intended to let colleagues know why you’re not around & to reach out in 30 minutes or so. Note: We advocate using Serene’s app blocker to completely block distracting apps like Slack when you’re in Serene mode rather than relying on your Slack status. This underutilised feature in Slack makes disruptive colleagues think twice before messaging you while you’re in the middle of an important piece of work by letting them know you’re in Serene mode. Last week, we discussed how to reduce interruptions from colleagues in the office using Serene and a lighting system, but what if your team is remote or spread across multiple offices? How to Change Your Slack Status with Serene (Tutorial) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |