HTTPd Plugin (useful for IFTTT Maker integration)

petematheson
Posts: 847
Joined: Sun Sep 14, 2014 9:51 am
Location: Southampton, UK

Re: HTTPd Plugin (useful for IFTTT Maker integration)

Post by petematheson »

Silly me - I had created variables of http_ to match, missing the d!

That works, thank you.
But is there a way to get it to update existing variables without having the httpd prefix?
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

HTTPd Plugin (useful for IFTTT Maker integration)

Post by FlyingDiver »

petematheson wrote: But is there a way to get it to update existing variables without having the httpd prefix?
No. That’s a deliberate design decision to protect your variables from malicious http requests.

And you don’t need to create the variables. The plugin will do it for you.


Sent from my iPhone using Tapatalk
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
petematheson
Posts: 847
Joined: Sun Sep 14, 2014 9:51 am
Location: Southampton, UK

Re: HTTPd Plugin (useful for IFTTT Maker integration)

Post by petematheson »

Thank you - makes sense. Sorry if i've not RTFM properly!

So that's all working now - now struggling to get IFTTT triggering.

IFTTT is set to send a web request
Url: http://username:[email protected] ... te360=Home
Method: Get
Content Type: text/plain

Indigo receives:
HTTPd Debug RequestHandler: GET from 3.86.147.188:55062 for /webhook-736082255/setvar?LocationPete360=Home
HTTPd Debug RequestHandler: auth_map = {'username': 'username', 'password': 'password'}
HTTPd Debug Requesthandler: basic authorization valid
HTTPd Debug GET Webhook to httpd_webhook-736082255/setvar = {'request': {'path': '/webhook-736082255/setvar', 'client': '3.86.147.188', 'command': 'GET', 'headers': {'x-newrelic-id': 'VwAOU1RRGwAFUFZUAwQE', 'host': 'house.domain.co.uk:5555', 'x-newrelic-transaction': 'PxQGUlUHCwsDXFgBBAhUVFQTGlUDChAHHEAJUQtcBwoAXQACAlhQUFQUG0MAAV0LUVMEABVs', 'connection': 'close', 'content-type': 'text/plain', 'authorization': 'Basic aW5kaWdvOjFuZDFnMA=='}}, 'vars': {'LocationPete360': 'Home'}}

It never sets the variable.
Where have I not done something??
Sorry in advance :)
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

HTTPd Plugin (useful for IFTTT Maker integration)

Post by FlyingDiver »

Get rid of the /webhook part of that url.

Sorry for the terse replies. I’m in Cambodia on a really crappy Internet connection using my phone.

Sent from my iPhone using Tapatalk
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: HTTPd Plugin (useful for IFTTT Maker integration)

Post by FlyingDiver »

Did you get this working?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
koburg
Posts: 167
Joined: Thu Jul 27, 2017 4:14 am

Re: HTTPd Plugin (useful for IFTTT Maker integration)

Post by koburg »

I think there is a bug in the plugin version 1.4.2

if I do not want to use HTTPS = 0

then all normal HTTP will get refused but if I just set some random port number with out any certificate on the HTTPS port setup.
then the normal HTTP is working again.

i have struggled for hours because I just updated the plugin then all iftt did not work but after
I did this it is working perfect again.
User avatar
FlyingDiver
Posts: 7830
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: HTTPd Plugin (useful for IFTTT Maker integration)

Post by FlyingDiver »

koburg wrote:I think there is a bug in the plugin version 1.4.2

if I do not want to use HTTPS = 0

then all normal HTTP will get refused but if I just set some random port number with out any certificate on the HTTPS port setup.
then the normal HTTP is working again.

i have struggled for hours because I just updated the plugin then all iftt did not work but after
I did this it is working perfect again.
https://github.com/FlyingDiver/Indigo-HTTPd/issues/8
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Locked

Return to “Discontinued Plugins”