Page 1 of 1

Control Domoticz with your Alexa / Amazon Echo - simplest Way

Posted: Sunday 02 September 2018 12:43
by jmleglise
This is the easiest method (and free) for everyone who knows how to deal with the Domoticz API.

Only 5 clics to define an order like 'Alexa trigger the opening of the blind" or "Alexa trigger the alarm." This trigger fires every time you say "Alexa trigger" + the phrase that you have defined.

In French, the magic Word is "Alexa déclenche" + ... l'ouverture du portail ...

Ok, Here is the howto :

Use the IFTTT.com services (totally free), that integrates Alexa and can send a request to domoticz. (Of course , you need domoticz to be reachable by public internet : Https + login/password protected + box port translation + domain name or static IP

- Create your IFTTT account
- My Applets / New Applet
- If +This : Choose "amazon Alexa" (You will need to input your amazon Login/Password the first time)
- Choose trigger : "Say a specific phrase"
- what do you want to say : input the phrase after the "Alexa trigger ..."
- +that : Choose action service : "Webhooks" then choose "Make a web request".
- input the domoticz command in URL like :
https://login:password@yourDomainOrIP:yourPort/json.htm?type=command&param=switchlight&idx=40&switchcmd=On&level=0&passcode=
Read the wiki for the API command, or I advise , you intervept the request in your developper Tools of your browser / Network (Ctrl-Maj-E in Firefox)

That's all. Now You can create IFTTT applet to command all your switchs.

Re: Control Domoticz with your Alexa / Amazon Echo - simplest Way

Posted: Sunday 02 September 2018 21:43
by Prutsium
Why not use HA Bridge much easier as it imports domoticz devices and links direct to your Alexa account.

Re: Control Domoticz with your Alexa / Amazon Echo - simplest Way

Posted: Sunday 25 November 2018 10:44
by darrepac
jmleglise wrote: Sunday 02 September 2018 12:43
https://login:password@yourDomainOrIP:yourPort/json.htm?type=command&param=switchlight&idx=40&switchcmd=On&level=0&passcode=
Thanks for the hint. A small correction, you need to use http and not https to make it work