HELP PLEASE!!! Trouble integrating ThingHTTP + React app + IFTTT Webhooks Maker to send me an SMS | ThingSpeak Apps | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
HELP PLEASE!!! Trouble integrating ThingHTTP + React app + IFTTT Webhooks Maker to send me an SMS
No permission to create posts
April 30, 2018
11:15 am
Avatar
tiaratan
New Member
Members
Forum Posts: 2
Member Since:
April 27, 2018
sp_UserOfflineSmall Offline

Hi all,

I am new on ThingSpeak and need help for integrating ThingHTTP, React app and IFTTT Maker Webhooks.
I want to send myself an SMS whenever the set condition on the ThingSpeak React app is met (and is plotted on the ThingSpeak channel).

I am using the IFTTT Maker Webhooks to achieve this.
This is the flow of my project, and my set parameters for ThingHTTP, react app, and IFTTT Maker Webhooks:

1. Data from my device (digital vernier calliper) is sent via ESP8266 and is collected onto my ThingSpeak channel.

2. I then created ThingHTTP with the set parameters:
Name: BearingOverlimit
URL: https://maker.ifttt.com/trigger/(__Enter event name here__)/with/key/(__ENTER key from IFTTT Webhooks Maker here__)
Method: POST
Content type: application/json
HTTP version: 1.1
Host: ifttt.com/maker_webhooks
Body: {"value1" : "%%channel_(ENTER CHANNEL ID)_field_1%%"}

3. Next I created a React app with the set parameters:
Name: BearingOverlimit
Condition Type: Numeric
Test frequency: On data insertion
Condition: if channel (set channel), field 1 is greater than 42
Action: ThingHTTP
Then performs: (select event name from drop down)
Options: Run each time condition is met

4. I created an applet on the IFTTT Maker Webhooks with the following parameters:
If maker Event "(Enter event name)", then send me an SMS at 00(__ENTERCOUNTRYCODE__)(__ENTER PHONE NUMBER__)(update phone number)
Send me an SMS with message: The event named "{{EventName}}" has a bearing diameter of {{Value1}}

This does not work as I do not receive an SMS although the set condition is met.
I have a feeling that my ThingHTTP is not communicating with the IFTTT Maker Webhooks.

Could someone please kindly help me out? Are my parameters correct?
photos are uploaded for reference.
Thank you in advance!!!
forum-2.JPGImage Enlarger

forum1.JPGImage Enlarger

forum-3.pngImage Enlarger

sp_PlupAttachments Attachments
April 30, 2018
4:18 pm
Avatar
cstapels
Moderator
Members


Moderators
Forum Posts: 867
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

We have an example at https://www.mathworks.com/help/thingspeak/use-ifttt-to-send-text-message-notification.html if you haven't seet it already. There is another similar example with a different workflow as well at https://www.mathworks.com/help/thingspeak/analyze-channel-data-to-send-email-notification-from-ifttt.html

I would first try pasting the webhooks URL into your browser. They also offer a testing page at IFTTT for the request when you set it up. If you dont get a message when you manually trigger the webhooks event with a browser, there is a problem with the IFTTT setup.

If the webhooks URL works, then you can try triggering the thingHTTP. ThingHTTP can also be triggered by pasting the url with the thingHTTP api key. See the settings page for the thingHTTP to find this URL.

Reacts now show you the last time they were triggered. You can see in the table if the react is being triggered. In the settings you described above, I didn't see that you chose the name of the thingHTTP for your react, this may cause a disconnect. Unfortunately, I wasn't able to see the images you uploaded.

You can also cause the react to trigger manually but writing a field value that satisfies the react conditions. See https://www.mathworks.com/help/thingspeak/writedata.html or your channel API keys page for the correct format to update your channel manually.

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
27 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

Team_mafia, icXu, emorphistechno, VTVMART, manimozhi, adamhebrew

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457