Get Slack Status on Dot Matrix LED Display

by mujahed1987 in Circuits > Arduino

415 Views, 1 Favorites, 0 Comments

Get Slack Status on Dot Matrix LED Display

demo.png
demo.gif

Brief Description:


This is an ESP8266 project on the Arduino platform, where it retrieves a user profile status from Slack.

Sometimes your colleague with you in the same office didn't recognize your status while you are on a meeting/call or focusing on some tasks. So using this project you will be able to show everyone your status at any time by setting your status on Slack and this little hardware will get it shown on the Led-Matrix display 😁

Arduino Libraries:


Supplies

712ci4gYvuL.__AC_SX300_SY300_QL70_ML2_.jpg
812vRHSjQcL.__AC_SX300_SY300_QL70_ML2_.jpg

Slack App Creation

1.png
2.png
3.png
4.png
5.png
6.png
7.png
8.png
9.png

Create a Slack app and follow the instructions in the screenshots to get the App token and your user ID, write down those data and keep them in a safe place, you will use them at a later step.

The JSON code provided below will be used in step 4 during the app creation in order to determine the app scope

You can validate your token and user ID on Slack API Documentation Page

{
  "display_information": {
    "name": "GetUserStatus"
  },
  "features": {
    "bot_user": {
      "display_name": "GetUserStatus",
      "always_online": false
    }
  },
  "oauth_config": {
    "scopes": {
      "bot": [
        "users.profile:read"
      ]
    }
  },
  "settings": {
    "org_deploy_enabled": false,
    "socket_mode_enabled": false,
    "token_rotation_enabled": false
  }
}

Hardware

Connect a Dot-matrix LED display 8x32 to your esp8266 board

You need to follow the pinout mapping according to the board type you use, you will find the connectivity instruction on the code


Burn the code

Download the source code from GitHub

Use your favorite IDE ( Arduino IDE for example) Select your board from the list, for more detailed instruction


10.png

Configure WiFi and Slack App Integration


Connect you to the WiFi AP

(The name will be the board mac address without ":")


Browse to http://192.168.4.1 and set the proper values


demo.gif