bitfocus / companion-module-microsoft-teams

MIT License
4 stars 2 forks source link

Please Add Variables #9

Closed joezimjs closed 1 month ago

joezimjs commented 1 month ago

It's wonderful that you have all the Feedback options, but I'd like to use Triggers to run actions based on state change (e.g. turn a key light on/off when I enter/leave a meeting), so I need much of the state to be visible via Variables, so I can trigger actions based on them changing.

Specifically I need to know whether or not I'm in a meeting, but I'm sure others could benefit from other variables such as #6.

patrichard commented 1 month ago

Triggers can watch a variable as the event. So I tried using Teams:isInMeeting, with no condition and an action set to toggle a fan in my office. I joined a meeting, and the variable did change, and Companion triggered the fan.

image

joezimjs commented 1 month ago

Exactly, but I don't see any variables:

image

image

That's why I was asking you to add variables

joezimjs commented 1 month ago

OK, I just read the rest of #6. I see you added them in 1.2.1 (or 1.3.0 I guess), but they're not showing up for me in Companion 3.4.1, which is using 1.2.0 of this module.