ZenseHome with Alexa and IFTTT

Version 5.1 by Normann P. Nielsen on 2026/11/15 15:43

Information

Join the "Danske ZenseHome Brugere" Facebook grooup

Success

After creating this guide/poc, I have switched to openHAB og OpenHAB with Zensehome - somewhat better.

Success

This page is stitching a few things together, read and implement:

ZenseHome API interfacing

ZenseHome with Websupport (for Webhooks)

If You dont own an Alexa, You can use other of the IFTTT Triggers - Like, what about turning on the lights when Your phone enter an area like home emoticon_smile

Another issue is this makes use of "If This Then That, also known as IFTTT". So You must have an account of IFTTT.

The purpose is to get this flow:

Alexa
Webserver
Apache2
ZenseHome box
IFTTT
Amazon
Trigger
Home
Internet
Spoken message
 
Text is not SVG - cannot display

Where the Webhook was build in ZenseHome with Websupport (for Webhooks) and the Telnet in ZenseHome API interfacing

Creating the Trigger and Action in IFTTT

So login to IFTTT and Start by adding a New Applet with "New Applet"

Press "If Then"

Add the service "Amazon Alexa"

Select "Say a specific phrase"

Add the phrase (like "Office light on") - all should be i lowcase letters. Think the phrase through - danish words are somewhat "difficult" for Alexa

Press "Create Trigger"

Press "that"

Add the service "Webhooks"

Select "Make a web request"

Add the URL for turning off the light (like http://server.dk/cgi-bin/turnoff-office.exp (this is from ZenseHome with Websupport (for Webhooks) - If You havent made a Port forward in the Home router, its pointless (sad))

Add "text/plan" as Content Type

Press "Create Action"

Press "Finish"

How it should look in IFTTT

Screenshot 2018-11-17 at 14.40.56.png