Hello,
IFTTT just introduced a new channel called Maker. This channel is used send HTTP request to..... Domoticz
Link : http://blog.ifttt.com/post/121786069098 ... er-channel
Example : Recipe to trigger Domoticz when a SMS is received
THIS part : If SMS is received (for example)
THAT part : Add "Maker" and configure it that way :
- URL : <domoticz public IP>:8080/json.htm?type=command¶m=udevice&idx=<id>&nvalue=0&svalue={{ContactName}}
- Method : GET
- Content-Type : text/plain
- Body : Nothing
Make sure to create your virtual device before doing this
Seb
IFTTT to trigger domoticz
Moderators: leecollings, remb0
-
- Posts: 24
- Joined: Friday 17 July 2015 5:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: IFTTT to trigger domoticz
This post seems to have been strangely ignored when it actually gives very interesting information.
I am trying however to use it, but without much success. One of my problems is related with authentication. Domoticz API authentication was changed recently (viewtopic.php?f=31&t=8959) and, besides taking it out, there seems not to exist a way of making it work with IFTTT using Maker Channel. I tried also "Basic Auth", but without success
Anyone using authentication and IFTTT Maker Channel with success? If so can you give me some example, please, of how you are doing things?
I am trying however to use it, but without much success. One of my problems is related with authentication. Domoticz API authentication was changed recently (viewtopic.php?f=31&t=8959) and, besides taking it out, there seems not to exist a way of making it work with IFTTT using Maker Channel. I tried also "Basic Auth", but without success
Anyone using authentication and IFTTT Maker Channel with success? If so can you give me some example, please, of how you are doing things?
-
- Posts: 110
- Joined: Friday 20 September 2013 18:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2.3530
- Location: Finland
- Contact:
Re: IFTTT to trigger domoticz
This is a little bit out of the topic, but in Android phone I use AutomateIt to do local control for Domoticz. As my personal opinion, there is something fundamentally wrong in IFTTT user interface.
AutomateIt can also send URL GET. Latest application that I do was to get my tablet to send Telegram message into my phone via Telegram Bot when battery goes below 15%.
I used to use PushBullet but their current policy with payments and all put me away.
AutomateIt can also send URL GET. Latest application that I do was to get my tablet to send Telegram message into my phone via Telegram Bot when battery goes below 15%.
I used to use PushBullet but their current policy with payments and all put me away.
-
- Posts: 24
- Joined: Friday 17 July 2015 5:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: IFTTT to trigger domoticz
I made it work. It seems basically I was having a problem with the dynamic DNS.
Tested example for turning on a virtual switch:
Please note that for using user/password you should set your authentication to "Basic-Auth".
Tested example for turning on a virtual switch:
Code: Select all
http://user:password@url:8080/json.htm?type=command¶m=udevice&idx=xx&nvalue=1
-
- Posts: 18
- Joined: Wednesday 30 December 2015 20:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Lomma, Sweden
- Contact:
Re: IFTTT to trigger domoticz
Can you please share your ifttt-makers channel configuration?
i am interested what you put in the fields (URL, Method, Content Type, Body) to be able to control the virtual switch
i am interested what you put in the fields (URL, Method, Content Type, Body) to be able to control the virtual switch
RPi2 with RFXtrf433(E) at stable, RPi2 with AeonStick S2 on beta, 14*Sonos, Synology DS415play, Axis, D-link camera, PhilipsHue
Re: IFTTT to trigger domoticz
I was looking for the same information, so here is something that is working for me.
Here is the view from Devices in Domoticz So for this dummy device i can turn in on from IFTTT like this:
URL:hxxp://user:[email protected]:8080/json.htm?type=command¶m=udevice&idx=66&nvalue=1&svalue=DummyTest
Method:GET
Content:Text/Plain
Body:(emty field)
I have some sun curtains that needs a level instead of 1 or 0 (on/off)
The URL looks like this for setting it at level 90:
hxxp://user:[email protected]:8080/json.htm?type=command¶m=switchlight&idx=17&switchcmd=Set%20Level&level=90
Best Regards
Who is online
Users browsing this forum: No registered users and 0 guests