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.
Categories
Amazon Alexa and Openhab can also be integrated using automation tools other than ifttt:
When this trigger fires 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
This Action will send a command to one of your openHAB items.
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
First, we need to connect Amazon Alexa and Openhab to IFTTT.
Create IFTTT account.
Create IFTTT account if you don't have one.
Connect Amazon Alexa to IFTTT.
Give IFTTT access to your Amazon Alexa account, using Amazon Alexa credentials.
Connect Openhab to IFTTT.
Give IFTTT access to your Openhab account, using Openhab credentials.
Part II
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
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
Choose this action: Send a command (This Action will send a command to one of your openHAB items.).
Part III
Finally, we need to test this automation and publish it.
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 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!
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.
Triggers when you ask Alexa to trigger a zap with your trigger phrase. Requires the Zapier skill on an Alexa enabled device.
This Trigger fires every time you add an item to your To Do List.
This Trigger fires every time your alarm goes off.
This Trigger fires every time you add an item to your Shopping List.
This Trigger fires every time your timer goes off.
This Action will send a command to one of your openHAB items.
This Trigger fires every time an item changes its state to a value you specify.
This Trigger fires every time an item's state raises above a value you specify and works with any number item.
This Trigger fires every time an item's state drops below a value you specify and works with any number item.
Openhab is an exceptional home automation software that is flexible and open source, providing seamless integration with different vendors and technologies.
Openhab alternatives
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.