Page 1 of 1

Cynical Network and IFTTT Maker Channel

PostPosted: Thu Oct 27, 2016 7:24 am
by Different Computers
Somehow this morning I got to reading in more detail about what the Cynical Network plugin does.

This is the relatively deep end for me, but after starting to read the docs, I immediately wondered if this was a way to get around the problem of IFTTT not being able to do digest authentication, so there's no way to have IFTTT talk to Indigo directly.

Right now I'm using the Better Email plugin as a kludge, where my damn old SmartThings talks to IFTTT, which sends a Gmail to an account that Better Email monitors. Much less than ideal!

But the IFTTT Maker channel allows it to make web requests, and I'm sure I can specify the port. So, could I in theory configure a Cynical Network TCPin device to listen for a web request and change a variable/trigger something in Indigo?

Re: Cynical Network and IFTTT Maker Channel

PostPosted: Fri Nov 25, 2016 9:50 pm
by ChopOMatic
Anyone have any thoughts on OP's question? I'm very interested in it, as well.

Re: Cynical Network and IFTTT Maker Channel

PostPosted: Sat Nov 26, 2016 7:34 am
by FlyingDiver
I'm assuming the real goal here is IFTTT compatibility, not SmartThings?

To work with IFTTT, you need a minimalist HTTP server. Implementing one with the Cynical Network plugin might be possible, but would be be very involved, requiring many triggers and action groups to get the plugin to respond correctly to the HTTP client (which is the IFTTT Maker Channel).

What you really need is a plugin that implements HTTP with triggers that fire on specifically formatted HTTP requests, right?

Re: Cynical Network and IFTTT Maker Channel

PostPosted: Sat Nov 26, 2016 8:30 am
by Different Computers
In a perfect world, I would in fact be talking directly to the ST cloud. In particular, the GhostXML plugin looks able to give me interactive status of all ST devices. Problem is, it looks like I need to know Ruby and write an ST "SmartApp" to be able to do it with 0Auth, which is their only authentication method.

Re: Cynical Network and IFTTT Maker Channel

PostPosted: Sat Nov 26, 2016 8:49 am
by FlyingDiver
Well, I can't help you with the SmartThings cloud, but I think I can put together something that will work with IFTTT fairly quickly.

Re: Cynical Network and IFTTT Maker Channel

PostPosted: Sat Nov 26, 2016 10:45 am
by Different Computers
That would be awesome. My primary IFTTT issue is that as is, it can't talk TO Indigo because it won't do digest authentication. And for me, most of my ST legacy devices are sensors.

Using the Maker channel, I can make Indigo talk to IFTTT and from there to ST.

Re: Cynical Network and IFTTT Maker Channel

PostPosted: Sat Nov 26, 2016 2:02 pm
by ChopOMatic
Joe, unlike Diff, my only concern is IFTTT working with Indigo. That will open up a TON of possibilities.

My first use would probably be to implement an Alexa-initiated "good night" routine. I have one now but it's dependent upon Tasker on my Android phone, which is far from an elegant solution. With the ability to have IFTTT trigger Indigo, the sky's the limit.

Re: Cynical Network and IFTTT Maker Channel

PostPosted: Sat Nov 26, 2016 2:04 pm
by ChopOMatic
BTW, Joe, you probably already know this, but the new Maker channel on IFTTT is the magic behind what I'm trying to do.

Re: Cynical Network and IFTTT Maker Channel

PostPosted: Sat Nov 26, 2016 2:25 pm
by FlyingDiver
Let's take this to this thread: viewtopic.php?f=216&t=17281