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 |
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
- Follow the instructions on the M5Stack site to set up an Arduino environment with the M5Stack libraries
- Register a new Azure application following the Azure documentation instructions
- Rename
ClientID.h.example
toClientID.h
, replacing the default string with the client ID from the Azure application - Rename
WiFiNetworks.h.example
toWiFiNetworks.h
and populate it with WiFi network credentials - 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.