IFTTT to trigger domoticz

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
leplan73
Posts: 4
Joined: Sunday 31 August 2014 22:36
Target OS: Linux
Domoticz version:
Contact:

IFTTT to trigger domoticz

Post by leplan73 »

Hello,

IFTTT just introduced a new channel called Maker. This channel is used send HTTP request to..... Domoticz :o

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&param=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
mcduarte2000
Posts: 24
Joined: Friday 17 July 2015 5:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: IFTTT to trigger domoticz

Post by mcduarte2000 »

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?
alfred_j_kwak
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

Post by alfred_j_kwak »

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.
mcduarte2000
Posts: 24
Joined: Friday 17 July 2015 5:12
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: IFTTT to trigger domoticz

Post by mcduarte2000 »

I made it work. It seems basically I was having a problem with the dynamic DNS.

Tested example for turning on a virtual switch:

Code: Select all

http://user:password@url:8080/json.htm?type=command&param=udevice&idx=xx&nvalue=1
Please note that for using user/password you should set your authentication to "Basic-Auth".
teha
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

Post by teha »

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
RPi2 with RFXtrf433(E) at stable, RPi2 with AeonStick S2 on beta, 14*Sonos, Synology DS415play, Axis, D-link camera, PhilipsHue
Blob
Posts: 1
Joined: Saturday 30 December 2017 16:40
Target OS: Windows
Domoticz version:
Contact:

Re: IFTTT to trigger domoticz

Post by Blob »

teha wrote: Monday 07 March 2016 12:45 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 was looking for the same information, so here is something that is working for me.
Here is the view from Devices in Domoticz
2.png
2.png (7.29 KiB) Viewed 3126 times
So for this dummy device i can turn in on from IFTTT like this:
URL:hxxp://user:[email protected]:8080/json.htm?type=command&param=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&param=switchlight&idx=17&switchcmd=Set%20Level&level=90

Best Regards
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest