Page 2 of 10

Re: HTTPd Plugin for IFTTT Maker integration

PostPosted: Mon Nov 28, 2016 1:32 pm
by FlyingDiver
Woetjes wrote:
Thanks Joe - I've got it working. I was planning to use this to connect my Ring doorbell to Indigo but it seems there is a 15m delay from IFTTT... so not really ideal in this case.
Will use your betteremail plugin in this case as that is almost instant :)


I don't think that's typical. While I've been testing, it's usually very quick.

I just tested it. Request on my local LAN was received in under a second. Sending a Maker request to IFTTT activated the incoming connection in under 3 seconds.

Re: HTTPd Plugin for IFTTT Maker integration

PostPosted: Mon Nov 28, 2016 1:44 pm
by FlyingDiver
v0.0.2 available using the built in updater, or from GitHub.

Added event triggers
Better debug logging
Different default port

Re: HTTPd Plugin for IFTTT Maker integration

PostPosted: Mon Nov 28, 2016 1:50 pm
by Woetjes
Hmm.. on my LAN it's also almost instant but I've tested it again and the delay is still there.. Anyway, maybe it's because I'm located in EU :)

Re: HTTPd Plugin for IFTTT Maker integration

PostPosted: Mon Nov 28, 2016 1:56 pm
by FlyingDiver
Woetjes wrote:
Hmm.. on my LAN it's also almost instant but I've tested it again and the delay is still there.. Anyway, maybe it's because I'm located in EU :)


I wonder if IFTTT uses different servers for US vs EU? The latest version logs the IP address of the host the request came from. Might be interesting to compare them.

Re: HTTPd Plugin for IFTTT Maker integration

PostPosted: Mon Nov 28, 2016 2:03 pm
by Woetjes
I tested it again and now it was a lot quicker (3s), I'll do some more testing later today/tomorrow. The IP I got was 54.235.233.240.

Re: HTTPd Plugin for IFTTT Maker integration

PostPosted: Mon Nov 28, 2016 2:13 pm
by FlyingDiver
Woetjes wrote:
I tested it again and now it was a lot quicker (3s), I'll do some more testing later today/tomorrow. The IP I got was 54.235.233.240.


compute-1.amazonaws.com network, same as I'm getting.

Re: HTTPd Plugin for IFTTT Maker integration

PostPosted: Tue Nov 29, 2016 1:51 pm
by FlyingDiver
If users of this plugin see something like this in your logs, it's not a plugin issue:

Code: Select all
   HTTPd Debug                     AuthHandler: POST from 85.98.127.35:52217 to /UD/act?1
   HTTPd Debug                     AuthHandler: POST from 85.98.127.35:52222 to /UD/act?1
   HTTPd Debug                     AuthHandler: POST from 85.98.127.35:52223 to /UD/act?1


This is a known malware attacking DSL modems that's probing for vulnerabilities on your network. It just happened to pick the port that HTTPd is running on. I don't do anything with POST requests at all, and the logging is only there to testing purposes.

https://isc.sans.edu/forums/diary/Port+ ... ems/21759/

Re: HTTPd Plugin for IFTTT Maker integration

PostPosted: Sat Mar 25, 2017 12:11 am
by spiv
Has anyone tried this with Stringify instead of IFTTT?

Re: HTTPd Plugin for IFTTT Maker integration

PostPosted: Mon May 15, 2017 6:15 am
by Wizard Sleeve
Hi just got this setup and working and it inputs in to a variable from IFTTT..Great thanks.

Now my first project to use it for is I have a internet connected washing machine that posts to IFTTT upon completion of a wash. Ive got that sending a "1" to the variable "WashingMachine". Is there anyway to send a incremental value to the variable or shall I set it up in Indigo to keep changing the Value back once its recieved the one and passed it on to do something. It would be quite nice to have a incremental value just to show how many times I've run the machine in its life. I suppose I could have a second variable that gets updated to show this but just wonder if it could be done directly.

Thanks

Lee

Re: HTTPd Plugin for IFTTT Maker integration

PostPosted: Mon May 15, 2017 7:16 am
by FlyingDiver
That would require a different action in the plugin (increment instead of set). While it's possible to add that, it's not in there now. So I recommend using two variables. Trigger on the httpd_XXX variable, and increment a different one when that one gets set. You can increment the counter and reset the flag in the same trigger/event.

Re: HTTPd Plugin for IFTTT Maker integration

PostPosted: Tue May 16, 2017 3:57 am
by Wizard Sleeve
Thanks

Thats exactly what I ended up doing and works perfectly.

Just for comparison for others I'm getting about 3s between the Direct notification on the Samsung Washer app that the washer has finished and the Notification that goes Samsung Washer > IFTTT > Indigo > Growl > Prowl on IOS. Which i think is pretty good in this use.

Thanks for your work on this

Lee

Re: HTTPd Plugin for IFTTT Maker integration

PostPosted: Sat Jun 17, 2017 2:31 pm
by vtmikel
FlyingDriver,

How hard would it be to modify to make this a HTTPS server? Any idea if IFTTT would allow their web request over HTTPS with a self-signed certificate? The non-HTTPS is making me nervous, but I'm considering using your plugin to report the lock state of my August lock to Indigo.

Mike

Re: HTTPd Plugin for IFTTT Maker integration

PostPosted: Sat Jun 17, 2017 2:51 pm
by FlyingDiver
FlyingDiver, not FlyingDriver. :)

Actually, it looks like it could be fairly easy. But I'm currently typing one handed due to shoulder surgery last month, so I'm not doing any coding right now.

Please open an issue in the GitHub repository so I don't forget. https://github.com/FlyingDiver/Indigo-HTTPd/issues

joe

Re: HTTPd Plugin for IFTTT Maker integration

PostPosted: Sat Jun 17, 2017 3:05 pm
by vtmikel
Will do, thanks. And sorry for the typo!

Re: HTTPd Plugin for IFTTT Maker integration

PostPosted: Fri Jul 07, 2017 8:29 pm
by mundmc
Following this.

Apologies if I missed this, but does this work with digest authentication?