Hi all. Need some help.
Has anyone managed to send a web query to IFTTT web hooks with json parameters.
So far, I managed to activate the event using both Generic HTTP and ADVENCED controller.
To trigger event on ifttt i'm using
Make a POST or GET web request to:
https://maker.ifttt.com/trigger/{event} ... jfhfdjldgb
eg
https://maker.ifttt.com/trigger/start/w ... jfhfdjldgb
this works fine with simple button switch & sending http reguest to ifttt.
IFTTT ran script that sends me email when event (start) is triggered
Need this as standalone notification. (email notification with smtp2go not working form me)
Ifttt webhooks has possibility to get 3 params from request, but must be in json format eg
{ "value1" : "122", "value2" : "124", "value3" : "99" }
Can also deal with curl
curl -X POST -H "Content-Type: application/json" -d '{"value1":"122","value2":"124","value3":"99"}' https://maker.ifttt.com/trigger/{event} ... dgkdsjkdsb
I need help in creating a proper http query to Generic HTTP advenced. Can anyone help with json?
IFTTT webhooks JSON and HTTP controller
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: IFTTT webhooks JSON and HTTP controller
You will not be able to httpS directly from ESP Easy. You need to have a relay server for that...
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: IFTTT webhooks JSON and HTTP controller
No need https. Ifttt accept http requests.
I have a working trigger example, but I can not send the required parameters. Email comes without data
{ "value1" : "%iswifi%", "value2" : "%unit%", "value3" : "%sysheap%" }
It is important that the address of the trigger can not be sent via sendToHTTP.
It must be set in the http controller and triggered with button switch
Controller setup Http advenced
Locate Controller: Use hostname
Controller Hostname: maker.ifttt.com
Controller port :80
HTTP URI field in controller
I think the matter is worth attention because notifications are an important part of this type of system.
The built-in notification system does not work.
The last two providers make it difficult to use them - Gremany blocking the account right after registration, etc ...
smtp2go needs domain for free usage
I have a working trigger example, but I can not send the required parameters. Email comes without data
Ifttt need json parameters in HTTP Body: value1....3 this is unchangeableWhat: start
When: March 22, 2019 at 10:46AM
Extra Data: , ,
{ "value1" : "%iswifi%", "value2" : "%unit%", "value3" : "%sysheap%" }
It is important that the address of the trigger can not be sent via sendToHTTP.
It must be set in the http controller and triggered with button switch
Controller setup Http advenced
Locate Controller: Use hostname
Controller Hostname: maker.ifttt.com
Controller port :80
HTTP URI field in controller
rest no changedmaker.ifttt.com/trigger/{eventCreatedInIftt}/with/key/yourpersonalIFTTkey
I think the matter is worth attention because notifications are an important part of this type of system.
The built-in notification system does not work.
The last two providers make it difficult to use them - Gremany blocking the account right after registration, etc ...
smtp2go needs domain for free usage
Who is online
Users browsing this forum: Ahrefs [Bot] and 60 guests