Skip to content

Ask Alexa to trigger a relay with Wio Link and IFTTT

Yihui Xiong edited this page Jun 8, 2018 · 1 revision

Using voice to control physical objects is cool. Asking Alexa to turn on a Philips Hue bulb is easy. What about controlling a DIY objects? With Wio Link and IFTTT, controlling a DIY objects with voice can be easy too.

In this guide, We will build an object with a relay and a Wio Link, and control it with Alexa by saying "Alexa, trigger my relay".

1. Prepare the hardware

All we need are:

Then connect the relay to the Digital0 port of the Wio Link and power on the Wio Link.

2. Setup Wio Link on the Wio app

  1. Go to the app store, search wio and download the app

  2. Sign up or login the Wio app

  3. Setup the Wio Link and the relay on the Wio app

    wio

3. Connect Wio Link to Alexa through IFTTT

  1. Go to the IFTTT app or the IFTTT website

  2. Connect Amazon Alexa service and Seeed Wio service

  3. Add a new Applet

    a. In the "My Applets" tab, click "+" add a new Applet

    new_applet

    b. Select Amazon Alexa as the trigger

    alexa_trigger

    c. Select Seeed Wio as the action

    wio_action

    d. Done

    applet

4. Using Amazon Echo or build your own Echo-like device to the relay

After connecting your Alexa and Wio Link through IFTTT, we can just use a Echo device which is configured with your Amazon Alexa account to control the relay. Just say "Alexa, trigger my relay" and your relay will be toggled.

If your don't have have a Echo device, you can just make a Echo-like device with the avs python library