Skip to content

jbowring/m5stack-teams-indicator

Repository files navigation

M5Stack Teams Indicator

The M5Stack ATOM Matrix is an ESP32 housed in a neat package with a 5x5 grid of LEDs:

The M5Stack Teams Indicator turns this nifty little unit into a status indicator for Microsoft Teams. The ESP32 connects to a local WiFi network and queries the Microsoft Graph API directly to get the user's current status. Below are examples of what is shown on the display for different statuses:

Available Busy Do not disturb Away Out of office

Installation

  1. Follow the instructions on the M5Stack site to set up an Arduino environment with the M5Stack libraries
  2. Register a new Azure application following the Azure documentation instructions
  3. Rename ClientID.h.example to ClientID.h, replacing the default string with the client ID from the Azure application
  4. Rename WiFiNetworks.h.example to WiFiNetworks.h and populate it with WiFi network credentials
  5. Flash the M5Stack

The first time the app is run it will ask (over the serial port) for the user to open a browser and log in with a Microsoft account. If authentication succeeds, it will store the refresh token in flash and the user will not be asked to log in again, even after a power cycle.

authentication

About

Show your live Teams status on a tiny LED grid

Resources

Stars

Watchers

Forks

Languages