{"id":15642077,"url":"https://github.com/mre/teams-call","last_synced_at":"2025-07-12T03:33:42.747Z","repository":{"id":37492216,"uuid":"307531675","full_name":"mre/teams-call","owner":"mre","description":"Shell script to detect when you're in a Microsoft Teams Call. Supports Linux and macOS.","archived":false,"fork":false,"pushed_at":"2022-12-19T14:59:14.000Z","size":150,"stargazers_count":70,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-30T09:55:12.694Z","etag":null,"topics":["meeting","microsoft","microsoft-teams","status","teams"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-26T23:29:39.000Z","updated_at":"2025-03-07T10:47:58.000Z","dependencies_parsed_at":"2023-01-29T22:01:23.855Z","dependency_job_id":null,"html_url":"https://github.com/mre/teams-call","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mre/teams-call","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mre%2Fteams-call","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mre%2Fteams-call/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mre%2Fteams-call/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mre%2Fteams-call/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mre","download_url":"https://codeload.github.com/mre/teams-call/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mre%2Fteams-call/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264930692,"owners_count":23684914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["meeting","microsoft","microsoft-teams","status","teams"],"created_at":"2024-10-03T11:54:12.397Z","updated_at":"2025-07-12T03:33:42.443Z","avatar_url":"https://github.com/mre.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# teams-call\n\nShell script to detect when you're on a Microsoft Teams Call.\n\n## Bash script\n\nWhen calling the script it will exit with \n\n* 0 if you're on a call\n* 1 if you're not\n\n\n## Python script\n\n```python\nimport teams_call\n\nisInCall = teams_call.isInCall()\n```\n## How?\n\nYou don't wanna know.\n\n## Seriously... how?\n\nWhen I connect to a call I see \n`eventData: s::;m::1;a::1` in ~/Library/Application\\ Support/Microsoft/Teams/logs.txt and when I disconnect it writes `eventData: s::;m::1;a::3`.\nSad, but you asked for it.\nCouldn't find any other way.\nSpecifically, the GraphQL API for checking the call presence is deprecated since v1.0 and I didn't want to scrape the network traffic or screengrab the status icon.\n\n* eventData: s::;m::1;a::0 call in call + screen is shared\n* eventData: s::;m::1;a::1 call started / joined\n* eventData: s::;m::1;a::3 call left\n\n## Why?\n\nI couldn't find a script that does this.\nUsing it to indicate that I'm busy with a status LED outside the office.\n\n![LED in front of my office](led.jpeg)\n\nUsing this script in combination with [ControlPlane](https://www.controlplaneapp.com/) to trigger the LED on status change.\n\n\n## Limitations\n\nSupports macOS and Linux. For Windows, see [this project](https://github.com/EBOOZ/TeamsStatus).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmre%2Fteams-call","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmre%2Fteams-call","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmre%2Fteams-call/lists"}