Control Domoticz with your Alexa / Amazon Echo - simplest Way
Posted: Sunday 02 September 2018 12:43
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¶m=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.
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¶m=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.