Wiki source code of ZenseHome with Alexa and IFTTT

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

Hide last authors
Normann P. Nielsen 1.1 1 {{info}}Join the "[[Danske ZenseHome Brugere>>https://www.facebook.com/groups/zensehomeusers/]]" Facebook grooup{{/info}}
2
3 {{success}}After creating this guide/poc, I have switched to [[openHAB>>Main.information-technology.openhab]] og [[OpenHAB with Zensehome>>Main.information-technology.openhab-with-zensehome]] - somewhat better.{{/success}}
4
5 {{success}}This page is stitching a few things together, read and implement:
6
7 [[ZenseHome API interfacing>>Main.information-technology.zensehome-api-interfacing]]
8
9 [[ZenseHome with Websupport (for Webhooks)>>Main.information-technology.zensehome-with-websupport-for-webhooks]]
10
11
12
13 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 :)
14
15 Another issue is this makes use of "If This Then That, also known as [[IFTTT>>https://ifttt.com/discover]]". So You must have an account of IFTTT.{{/success}}
16
17
18
19 The purpose is to get this flow:
20
21 {{diagram reference="Main.information-technology.zensehome-with-alexa-and-ifttt.architecture-drawio.WebHome" /}}
22
23 Where the Webhook was build in [[ZenseHome with Websupport (for Webhooks)>>Main.information-technology.zensehome-with-websupport-for-webhooks]] and the Telnet in [[ZenseHome API interfacing>>Main.information-technology.zensehome-api-interfacing]]
24
25 {{container layoutStyle="columns"}}
26 (((= Creating the Trigger and Action in IFTTT =
27
28 So login to IFTTT and Start by adding a New Applet with "New Applet"
29
30 Press "If Then"
31
32 Add the service "Amazon Alexa"
33
34 Select "Say a specific phrase"
35
36 Add the phrase (like "Office light on") - all should be i lowcase letters. Think the phrase through - danish words are somewhat "difficult" for Alexa
37
38 Press "Create Trigger"
39
40 Press "that"
41
42 Add the service "[[Webhooks>>https://ifttt.com/maker_webhooks]]"
43
44 Select "Make a web request"
45
46 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)>>Main.information-technology.zensehome-with-websupport-for-webhooks]] - If You havent made a Port forward in the Home router, its pointless (sad))
47
48 Add "text/plan" as Content Type
49
50 Press "Create Action"
51
52 Press "Finish")))
53 (((= How it should look in IFTTT =
54
55 [[image:Screenshot 2018-11-17 at 14.40.56.png||alt="Screenshot 2018-11-17 at 14.40.56.png"]])))
56 {{/container}}