explaingit

therudin/teamsassist-macos

Analysis updated 2026-05-18

3PythonAudience · generalComplexity · 2/5Setup · moderate

TLDR

TeamsAssist watches your Microsoft Teams status on a Mac and syncs it to Home Assistant, so smart home automations can react to meetings and calls.

Mindmap

mindmap
  root((TeamsAssist))
    What it does
      Watches Teams status
      Sends to Home Assistant
      Triggers automations
    Tech stack
      Python
      macOS Launch Agent
      Home Assistant REST API
    Use cases
      Auto lights on call
      Status dashboard
      Meeting notifications
    Audience
      Home Assistant users
      Mac owners
    Setup
      Access token script
      settings.json config

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Turn on an office status light automatically when you join a Teams meeting.

USE CASE 2

Show your live Teams availability on a Home Assistant dashboard.

USE CASE 3

Trigger do-not-disturb automations whenever a Teams call is active.

What is it built with?

PythonmacOSHome AssistantYAML

How does it compare?

therudin/teamsassist-macos0marildo/imago100/geotwitter
Stars333
LanguagePythonPythonPython
Last pushed2015-09-10
MaintenanceDormant
Setup difficultymoderateeasymoderate
Complexity2/52/53/5
Audiencegeneralgeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires an existing Home Assistant instance and a generated long lived access token.

In plain English

TeamsAssist for macOS is a small background utility that watches your Microsoft Teams status on a Mac and sends it to Home Assistant, a popular open source smart home platform. The idea is to let your lights, dashboards, or other smart home automations react automatically to whether you are in a meeting, busy, or available. The tool runs entirely on your own computer and does not need special admin approval from Microsoft to work. It supports both the older Classic Teams app and the newer Teams client. For the new Teams client, it watches macOS system signals that Teams triggers to stop the computer from going to sleep during a call. For Classic Teams, it reads a local log file to detect your presence status, such as Available, Busy, or Away. Once it detects a status, the utility sends that information to Home Assistant over a simple web request, updating sensors that Home Assistant automations can then use to trigger anything from smart lights to notifications. Setup involves adding a few sensor definitions to your Home Assistant configuration file, generating a long lived access token using an included script, and editing a settings file with your Home Assistant address, token, and preferences. The daemon installs as a macOS Launch Agent, meaning it starts automatically each time you log in and runs quietly in the background using pure Python with no extra dependencies. It also includes manual commands for testing, so you can simulate call or presence changes without actually joining a Teams meeting, along with log files for troubleshooting and a simple uninstall command. This is a small hobbyist project with 3 stars, aimed at people who already use Home Assistant and want their smart home to respond to their Teams meeting status.

Copy-paste prompts

Prompt 1
Help me set up TeamsAssist and connect it to my Home Assistant instance.
Prompt 2
Walk me through adding the input_text and template sensors TeamsAssist needs to configuration.yaml.
Prompt 3
Show me how to generate a Home Assistant long lived access token for TeamsAssist.
Prompt 4
Help me write a Home Assistant automation that changes my lights based on the teams_status sensor.

Frequently asked questions

What is teamsassist-macos?

TeamsAssist watches your Microsoft Teams status on a Mac and syncs it to Home Assistant, so smart home automations can react to meetings and calls.

What language is teamsassist-macos written in?

Mainly Python. The stack also includes Python, macOS, Home Assistant.

How hard is teamsassist-macos to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is teamsassist-macos for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.