DEV Community

El Bruno
El Bruno

Posted on • Originally published at elbruno.com on

#HowTo-Connect ElGato Stream Deck to non supported IoT devices using IFTTT 😺😹😺

Hi !

I am deploying several new IoT devices to my house and office, and … hey I want to control them using my Stream Deck from Elgato. Sadly, most of my devices does not have an ElGato extension to work with Stream Deck, however, there is a cool solution for this. It involves the use of IFTTT, so you know this will be a fun one 😁.

Let me start with a quick intro to the services I’m using, kindly generated by ChatGPT.

ElGato Stream Deck

The Elgato Stream Deck is a tool designed to make it easier for streamers to manage and switch between various tasks and settings while streaming. Some of the main benefits of using the Stream Deck include:

  • Customizable buttons: The Stream Deck features 15 LCD keys that you can customize with your own icons and labels. This allows you to create a personalized control panel that’s tailored to your specific needs.
  • Quick access to common tasks: The Stream Deck allows you to assign various actions and commands to each button, such as starting and stopping streams, switching between scenes, and controlling audio and video settings. This can save you a lot of time and effort, as you won’t have to manually perform these tasks through other software.
  • Streamlined workflow: The Stream Deck can help you streamline your workflow by allowing you to access all of the tools and resources you need in one place. This can help you focus on other important tasks, such as interacting with your audience and creating content.
  • Easy to use: The Stream Deck is easy to use and set up. The device comes with a user-friendly software that allows you to customize and assign actions to each button with just a few clicks.

Overall, the Elgato Stream Deck is a useful tool for streamers that can help you manage and switch between various tasks and settings more efficiently, resulting in a more streamlined and professional streaming experience.

IFTTT (If This Then That)

IFTTT (If This Then That) is a popular automation service that allows you to create “recipes” that link different internet-connected devices and services together. Some of the main benefits of using IFTTT include:

  • Connectivity: IFTTT can connect a wide range of devices and services, including smart home devices, social media platforms, and cloud-based services. This allows you to automate a variety of tasks and create complex integrations between different systems.
  • Ease of use: IFTTT has a user-friendly interface that makes it easy to create and manage your “recipes.” You can set up your automations with just a few clicks, and there are a variety of templates and pre-made recipes available to help you get started.
  • Customization: IFTTT allows you to customize your automations to fit your specific needs. You can create your own “recipes” from scratch or modify existing ones to suit your preferences.
  • Time-saving: IFTTT can help you save time by automating repetitive tasks and allowing you to focus on more important tasks. For example, you can use IFTTT to automate your smart home devices, such as turning off the lights when you leave your home or adjusting the thermostat when you’re away.

Overall, IFTTT is a powerful automation service that can help you connect and automate a wide range of devices and services, resulting in a more efficient and streamlined workflow.

IoT Solution

My 1st step will be to control the IoT lights using IFTTT applets. Let’s create a new IFTTT applet using the WebHook trigger.

IFTTT webhook configuration

I’m using some KASA (TP-Link) devices, so I can connect my TP-Link and IFTT accounts and then choose some actions to work with the devices. I’ll go for the “Toogle” action.

KASA and IFTTT action choose for a IoT device

As you can see in the next image, once you have the accounts connected, it’s very easy to select your device from your devices list.

select device

And that’s it ! Our super-simple applet is done 😁

The next step is to publish our Applet. This will enable some cool features. I followed the official documentation and got this up and running in 5 min.

IFTTT Applet Publishing Guide.

Now we need to find our Key from the Webhook settings. the hey is the last section from the dev url in thw WebHook settings.

We are almost there ! We can now try our applet following the next steps. Make a POST or GET web request to:

https://maker.ifttt.com/trigger/{event}/json/with/key/{key}

This is super cool ! And now it’s time to go and setup some actions in our ElGato StreamDeck. In the StreamDeck store, there is a IFTTT plugin, time to install it.

IFTTT plugin in the Stream Deck store

Once installed, we can create a new action in Stream Deck. As expected, we need to provide the IFTTT Key, and the name of the action (this is the webhook name)

At this point, the solution is up and running ! And I strongly advice to read the GitHub repo to know more about the integration.

GitHub Repo: StreamDeck IFTTT

Happy coding!

Greetings

El Bruno

More posts in my blog ElBruno.com.


Top comments (0)