This page is stitching a few things together, read and implement: Zensehome with Websupport (for Webhooks) If You dont own an Alexa, You can use other of the IFTTT Triggers - Like, turning on the lights when Your phone enter an area Another issue is the use of "If This Then That, also known as IFTTT". |
The purpose is to get this flow:
Where the Webhook was build in Zensehome with Websupport (for Webhooks) and the Telnet in Zensehome API interfacing
So login to ITFFF 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 )
Add "text/plan" as Content Type
Press "Create Action"
Press "Finish"