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?
HTTPd Plugin (useful for IFTTT Maker integration)
-
petematheson
- Posts: 847
- Joined: Sun Sep 14, 2014 9:51 am
- Location: Southampton, UK
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
HTTPd Plugin (useful for IFTTT Maker integration)
No. That’s a deliberate design decision to protect your variables from malicious http requests.petematheson wrote: But is there a way to get it to update existing variables without having the httpd prefix?
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
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)
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
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
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
HTTPd Plugin (useful for IFTTT Maker integration)
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
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
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: HTTPd Plugin (useful for IFTTT Maker integration)
Did you get this working?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: HTTPd Plugin (useful for IFTTT Maker integration)
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.
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.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: HTTPd Plugin (useful for IFTTT Maker integration)
https://github.com/FlyingDiver/Indigo-HTTPd/issues/8koburg 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.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177