Provides a relatively quick and easy way to voice control multiple devices in Domoticz using just 2 applets in IFTTT.
It controls all Light switches (all devices set as switch), Scene's and Groups. Support for devices like dimmers and reading value's from temp etc are on my tasklist.
- Make sure you have a webserver with PHP support (Domoticz has NO php support!)
- Install this PHP file on a web server (prefered running on the same box as Domoticz).
- Edit the values at the top of the file - password domoticz URL must be set
- Forward a port to the (domoticz) web server
- Give it a bit of a test with a URL like this... https://yourserver.whatever/domo-ifttt.php?passkey=<Password_Set_in_Php_script>&devName=<Exact_Domoticz_Device_Name>&devState=1
- Have a look in Syslog to see how it went
- If it's working locally, it's time to set up IFTTT - check "README - IFTTT Setup.pdf" for instructions
- Repeat IFTTT step by creating a 2nd applet but now with "Off" and devState=0
- Have Fun
-
Added Group and Scene support.
-
Optimised (faster) Domoticz Query
-
Optional search favorite devices Only or ALL (can be set as option in top PHP file)
- Domoticz has no PHP support, install Apache or another webserver (advice: on the same device) and put this script in there. Apache runs perfectly if installed on Raspberry with Domoticz besides it. It will run fast and without delay. Apache on Raspberry setup instructions: klik here
- I started Domoticz to link with IFTTT applets to use Google Home, but after adding 32 devices i stopped.
I found this script and forked this (Thnx DSwinton for the original!) and trying to improve it wherever i can. Github is new for me, so bare with me when I try to merge, pull, push, etc...
Any comments? Please let me know what you think or like to be improved.