svrooij / teams-monitor

Send your Teams Status to any webhook in realtime
https://www.nuget.org/packages/SvRooij.TeamsMonitor/
GNU General Public License v3.0
66 stars 4 forks source link

Incoming Call Notification #13

Open jonny190 opened 4 months ago

jonny190 commented 4 months ago

Is there a way to report on an incoming call? rather then the "In a meeting" status as id like to run action in home assistant as the call comes in to change lights and adjust music volume

binderth commented 4 months ago

not with the websocket-API. There's only so much states as in the readme. and "isInMeeting" is already too late for you, I guess! ;) Do you have "stream deck" or the like? There you could put a "change lights - adjust music"-button, which calls an home assistant Rule.

But you don't need teams-monitor for this, as you could tell Alexa to start a "in a meeting"-scene, which triggers your actions via HA. That's the way I do most of my stuff (with openHAB instead of HA, but logic remains the same)

svrooij commented 4 months ago

Not sure if it has an event like that? Do you know if there is a button in the streamdeck to pick up an incoming call?

binderth commented 4 months ago

Do you know if there is a button in the streamdeck to pick up an incoming call?

there is no button to pick up a call, only to leave the meeting, the reactions including raise hand, mute on/off, camera on/off, and background blur.

jonny190 commented 4 months ago

I thought I'd put the idea out there, just as a nice to have, What i can do is use a "Quick Action" in Hass.Agent to run an automation via a hotkey. This was just me being lazy and trying to automate the world haha

svrooij commented 4 months ago

It's a great idea! I'm just not sure if there is even such an integration. They made the local api (which this app is using) solely for the streamdeck integration, so if it's possible there, you can also do it through this app.