Amazon Alexa
Openhab
ifttt

An automated workflow using ifttt

Connects Amazon Alexa + Openhab

If You say "Alexa trigger phrase", then send a command to openHAB

About this workflow template

This automation scenario allows you to connect Amazon Alexa and Openhab

It can be build using Ifttt, a no-code workflow automation tool. Ifttt allows you to create automated scripts using a simple drag-and-drop interface for non-technical users. This is a ready-made scenario, but it can be customized by adding more apps, actions, filters or branches.

Amazon Alexa and Openhab can also be integrated using automation tools other than ifttt:

How it works?

When this trigger fires in Amazon Alexa

Amazon Alexa

Say a specific phrase in Amazon Alexa

This trigger fires every time you say "Alexa trigger" + the phrase that you have defined. For instance, if you set "party time" as the phrase, you can say "Alexa trigger party time" to have your lights loop colors.

Then this action happens in Openhab

Openhab

Send a command in Openhab

This Action will send a command to one of your openHAB items.

How to set up this workflow

This guide contains information on how to set up an automatic workflow that allows to If You say "Alexa trigger phrase", then send a command to openHAB.

Part I

Configure Applications

First, we need to connect Amazon Alexa and Openhab to IFTTT.

  • Create IFTTT account.

    Create IFTTT account.

    Create IFTTT account if you don't have one.

  • Connect Amazon Alexa to IFTTT.

    Connect Amazon Alexa to IFTTT.

    Give IFTTT access to your Amazon Alexa account, using Amazon Alexa credentials.

  • Connect Openhab to IFTTT.

    Connect Openhab to IFTTT.

    Give IFTTT access to your Openhab account, using Openhab credentials.

Part II

Build an integration workflow

Next, we need to create a workflow automation scenario using graphical no-code web interface of IFTTT.

  • Set up a Trigger action for Amazon Alexa

    Set up a Trigger action for Amazon Alexa

    Choose the following trigger: Say a specific phrase (This trigger fires every time you say "Alexa trigger" + the phrase that you have defined. For instance, if you set "party time" as the phrase, you can say "Alexa trigger party time" to have your lights loop colors.).

  • Then set up an Action for Openhab

    Then set up an Action for Openhab

    Choose this action: Send a command (This Action will send a command to one of your openHAB items.).

Part III

Test and Publish

Finally, we need to test this automation and publish it.

  • Customize data flow

    Customize data flow

    Configure the data that is exchanged between Amazon Alexa and Openhab.

  • Test the workflow and turn it on for production use

    Test the workflow and turn it on for production use

    Test your scenario and publish to production. Now you have an automatic workflow, that will If You say "Alexa trigger phrase", then send a command to openHAB!

Supported triggers and actions

  • Amazon Alexa

    Say a specific phrase

    This trigger fires every time you say "Alexa trigger" + the phrase that you have defined. For instance, if you set "party time" as the phrase, you can say "Alexa trigger party time" to have your lights loop colors.

    ifttt
    triggerbyifttt
  • Amazon Alexa

    Trigger phrase spoken

    Triggers when you ask Alexa to trigger a zap with your trigger phrase. Requires the Zapier skill on an Alexa enabled device.

    zapier
    triggerbyzapier
  • Amazon Alexa

    Item added to your to do list

    This Trigger fires every time you add an item to your To Do List.

    ifttt
    triggerbyifttt
  • Amazon Alexa

    Your alarm goes off

    This Trigger fires every time your alarm goes off.

    ifttt
    triggerbyifttt
  • Amazon Alexa

    Item added to your shopping list

    This Trigger fires every time you add an item to your Shopping List.

    ifttt
    triggerbyifttt
  • Amazon Alexa

    Your timer goes off

    This Trigger fires every time your timer goes off.

    ifttt
    triggerbyifttt
  • Openhab

    Send a command

    This Action will send a command to one of your openHAB items.

    ifttt
    actionbyifttt
  • Openhab

    Item state changes

    This Trigger fires every time an item changes its state to a value you specify.

    ifttt
    triggerbyifttt
  • Openhab

    Item state raises above

    This Trigger fires every time an item's state raises above a value you specify and works with any number item.

    ifttt
    triggerbyifttt
  • Openhab

    Item state drops below

    This Trigger fires every time an item's state drops below a value you specify and works with any number item.

    ifttt
    triggerbyifttt

Apps you need

Openhab

Openhab

Developer Tools

A flexible home automation solution

Openhab is an exceptional home automation software that is flexible and open source, providing seamless integration with different vendors and technologies.

Openhab alternatives

IFTTT

IFTTT

Automation Platforms

An automation service with a simple formula - IF This Then That

IFTTT helps to create applications connections with a simple statement: if this then that. For example: "Tweet your Instagrams as native photos on Twitter". You define a task by a trigger and an action.