Coder Social home page Coder Social logo

teamsstatuslight's Introduction

Teams Status Light

An LED peripheral that reflects the computer's current Microsoft Teams status


The latest Teams update has removed the logging system that this script is reliant upon. An API exists but only reveals if the user is in a meeting or not. I have a few ideas for how to restore functionality but until then, this project will only work with older installations of Teams.


Following the shift to a hybrid working environment post-COVID, it can be difficult for colleagues to determine whether I am on a Teams call or available for a discussion (usually because I have headphones in for music). This script determines the computer's current Microsoft Teams status and sends the relevant colour to the BlinkStick Square LED positioned on the desk, discretely indicating to nearby colleagues my availability if they need me.

There exist expensive pre-built solutions but the BlinkStick is useful as it requires no drivers (useful for corporate installation restrictions) and is simpler than constructing via Arduino, soldering and building/printing associated housing.

Unfortunately Microsoft Teams doesn't have an API accessible by the local computer unless your organisation provides access to the Graph API so instead it monitors the continuously-updated log file in AppData (in Windows or adjust for a similar location for other operating systems). Many thanks to this PowerShell script which provided the backbone of the log scraping.

Getting Started

The Blinkstick has in-built USB firmware so it will run out of the box without the need to install any drivers. You will need a MicroUSB cable and USB port on your device. You need to install Python and the blinkstick library:

pip install blinkstick

Purchase a BlinkStick Square, plug and play! You could use another Blinkstick product but you will need to slightly tweak the code for the BlinkStick controller.

teamsstatuslight's People

Contributors

peterm74 avatar

Watchers

 avatar

teamsstatuslight's Issues

Implement alternative source of Teams status

The latest edition of Microsoft Teams has removed the logging system that this project relies upon to determine the user's status. A few options:

  • Use Teams API - ?only reveals if user is in a meeting, not all possible statuses? (need to check)
  • Take screenshot of taskbar and run through some sort of image analysis/segmentation (NN)?
  • Alternative option?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.