#Microsoft Teams integration?

20 messages · Page 1 of 1 (latest)

brittle torrent
#

I work from home and my goal is to log any time my work computer is connected to a teams meeting or call, and use that to trigger an automation to change a light color. Does anyone know if there a teams integration for this or a simple way to accomplish this?

bold cloak
#

i beleive you can get your status from the microsoft graph api

#

seems like a preetty cool idea to be fair

brittle torrent
#

it looks like the "PresenceLight" solution is depricated.

bold cloak
#

you could run something on your computer that watches the teams log file to detect an active call then have that call a webhook to tell home assistant.

more of a workaround than an actual solution but maybe a starting point?

brittle torrent
#

I guess I should have stated the following in my first post which makes this WAY harder than it needs to be.

My laptop is required to be on VPN virually 100% of the time due to the work I do. The organization does not allow split tunneling except for connections to 0365. This makes it near impossible to interface over the LAN between my local home assistant instance, and my work laptop.

#

I was hoping to use something like the streamdeck integration that just uses a teams third party API connection to monitor my teams status directly from home assistant.

bold cloak
#

okay so apprantly the "office 365" intergration on HACS supports "Getting presence from Teams (not for personal accounts)"

brittle torrent
bold cloak
#

looks like hes working on projects to replace it though. so yeah at some point you may have to switch to the replacement

#

with companies/serives constantly changing api stuff its likely no solution is permanent.

brittle torrent
#

Damnit, My organization doesn't allow me to create an app registration in the Azure Portal.

bold cloak
#

at this point putting a switch on your desk is probably looking like the easier option

brittle torrent
#

yeah, I saw someone mention a door sensor on the headset stand, That might be a good route to look into

bold cloak
#

do you use a webcam whilst on a call? does it have a led on it that shows when its active? maybe you could put a light sensor on the led?

brittle torrent
#

I rarely use a webcam.

upbeat yacht
#

what OS are you using?

#

I use HASS Agent on my PC, which can use the webcam or computer mic status as sensors in HA. So you could trigger off of your microphone being in use.