Adding post on controlling teams from a streamdeck

This commit is contained in:
Jim Bennett
2023-02-02 15:27:52 -08:00
parent 0224b19e67
commit 9588e8b28c
12 changed files with 79 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ title: "Lint Rust code with cargo clippy"
images: images:
- /blogs/cargo-clippy/banner.png - /blogs/cargo-clippy/banner.png
featured_image: banner.png featured_image: banner.png
image: banner.png
--- ---
> This blog post was a fun one to write - cos I didn't! I actually learned about `cargo clippy` on a recent [Crack the code interview with Rust live stream](https://www.youtube.com/watch?v=2Dd6wACDna8) and decided a quick blog post would be fun. > This blog post was a fun one to write - cos I didn't! I actually learned about `cargo clippy` on a recent [Crack the code interview with Rust live stream](https://www.youtube.com/watch?v=2Dd6wACDna8) and decided a quick blog post would be fun.

View File

@@ -9,6 +9,7 @@ title: "Format Rust code with cargo format"
images: images:
- /blogs/cargo-fmt/banner.png - /blogs/cargo-fmt/banner.png
featured_image: banner.png featured_image: banner.png
image: banner.png
--- ---
> This blog post was a fun one to write - cos I didn't! I actually learned about `cargo fmt` on a recent [Crack the code interview with Rust live stream](https://www.youtube.com/watch?v=2Dd6wACDna8) and decided a quick blog post would be fun. > This blog post was a fun one to write - cos I didn't! I actually learned about `cargo fmt` on a recent [Crack the code interview with Rust live stream](https://www.youtube.com/watch?v=2Dd6wACDna8) and decided a quick blog post would be fun.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

View File

@@ -0,0 +1,77 @@
---
author: "Jim Bennett"
date: 2023-02-02
description: "Control Microsoft Teams with a Stream Deck"
draft: false
tags: ["teams", "streamdeck", "meetings"]
title: "Control Microsoft Teams with a Stream Deck"
images:
- /blogs/teams-streamdeck/banner.png
featured_image: banner.png
image: banner.png
---
> Already have a Stream Deck and just want to get it working with Teams? [Jump to the instructions to set this up](#set-up-your-stream-deck-for-teams)
Like a lot of folks, I spend time in Microsoft Teams. It's where I chat to my team and others at Microsoft, and it's where I take most of my meetings.
Although Teams has a lot of good features, the UI can sometimes be a pain to use in meetings - especially as a Microsoft employee where we get to try the dogfood versions and things move all the time. There have been loads of occasions where I have tried to give a reaction and put up my hand by mistake, or tried to mute and left the call. WHat I really need is a tool to allow me to control teams without using the UI.
Makers have worked on hacks for this. For example, the key combination `ctrl+shift+m` toggles muting on teams. Add a big red button that simulates this key press and you have a quick way to mute or unmute. Here's one example of this from [Jen Fox on Hackster](https://www.hackster.io/jenfoxbot/microsoft-teams-mute-button-7e9186).
![A white box with a big red button on top with a hand about to press the button. On the front of the bix is a circuit playground express with crocodile clips connecting it to the white box. In the background is a laptop showing a Microsoft teams meeting](https://hackster.imgix.net/uploads/attachments/1234030/_5g18grpTco.blob?auto=compress%2Cformat&w=900&h=675&fit=min)
For those with a less maker mindset, there's now a new way to do this - using a Stream deck!
![A stream deck with Teams buttons](stream-deck-teams.png)
If you've not come across a Stream Deck before, its a neat little gadget that comes in different sizes and has an array of LCD buttons. You can set these buttons up to do things like control apps, or make REST requests, and as each button is an LCD screen you can fully customize what is displayed. For example, you can use one of these to control apps like OBS to switch scenes, or start streaming to Twitch.
There's a whole Stream Deck store with plugins to extend the capabilities by controlling other apps or hardware (such as Phillips Hue lights). A Teams plugin has just been released!
## Set up your Stream Deck for Teams
To set up the Stream Deck, you need an API key for Teams to allow external apps to control it - makes sense really as Teams gives access to confidential work stuff, so you don't want any app to be able to get access. Then you install the plug in, and set it up.
### Get an API key
To get an API key:
1. Select the ellipses from the top-right corner of Teams, then select **Settings**
![The settings menu in Teams under the ellipses](./teams-elipses.png)
1. Select the *Privacy* tab, then scroll down to the *Third-party app API section* and select **Manage API**
![The privacy tab](./teams-privacy-tab.png)
1. From the API settings, copy the API token. Use the **Generate** button to generate a new API key if needed. And yes, the UI is terrible and the key wraps out of the text box... 🤷
![The Teams API key dialog](./teams-api-key.png)
Now you have your key, you can set up your Stream Deck!
### Set up the Stream Deck
Teams is managed from a plugin from the Stream Deck store.
1. Open the Stream Deck store from the menu/taskbar icon
![The store menu item](stream-deck-store.png)
1. Search for Teams in the store, and install the Microsoft Teams plugin with the **install** button
![The Teams item in the store](stream-deck-store-teams.png)
You might also see this on the Store discover page - at the time of writing it's the first item there.
1. Once installed, configure your Stream Deck using the Teams options. I did mine by creating a new profile that is activated when Teams is active.
![Stream deck configuration showing a profile called Teams that is set to activate when Microsoft Teams is active](./stream-deck-teams-profile.png)
1. Once your profile is ready, select it then add buttons by dragging them from the Microsoft Teams group in the menu. After adding each button, you will need to set the *API token* field to the API key you copied from Teams.
![](stream-deck-teams-profile-buttons.png)
Done! You can now control Teams using your Stream Deck.

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB