Windows devices seem to have gotten all the love when it comes to reporting if you are in a Teams meeting. For Mac users, the MacOS Home Assistant companion app is usually used as a proxy to determine if you are in a meeting. However, this method falls short if you are in a meeting where your camera is off or your mic is off/not on during the entire meeting.
To get around this, I’ve created a solution for Mac users that will automate sending your current MS Teams meeting status to Home Assistant without relying on the state of your microphone or camera.
- There is a
Local
andExternal
method to choose from allowing those that have to connect to an employer’s VPN without local network access to still benefit from this project. - When logged into your Mac, the script is automated to run every 2 seconds. If the current meeting status is different from the previous meeting status, the information is forwarded to Home Assistant: This prevents unnecessary curl commands to Home Assistant when nothing has changed.