Du ser en gammel version af denne side. Se den nuværende version.

Sammenlign med nuværende Vis sidehistorik

« Forrige Version 11 Næste »

Join the "Danske ZenseHome Brugere" Facebook grooup

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, who abount turning on the lights when Your phone enter an area (smil)

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


The purpose is to get this flow:

Architecture

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



Creating the Trigger and Action in ITFFF

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 (ked af det))

Add "text/plan" as Content Type

Press "Create Action"

Press "Finish"


How it should look in ITFFF

  • Ingen etiketter