React problem | 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
React problem
No permission to create posts
May 22, 2018
4:45 am
Avatar
sandan
New Member
Members
Forum Posts: 3
Member Since:
May 22, 2018
sp_UserOfflineSmall Offline

Hello,
First of all I want to thank Thingspeak developers and its community because I find it a very useful tool!
I'm doing a university project reading values sent from a GPRS module. Values are updated correctly in the corresponding fields, each 2-3 min.
The problem comes when I want to send a tweet with ThingTweet and React. It should send me a tweet each time a specific field reaches a certain value, but it isn't doing it. This is the configuration I've:

react.JPGImage Enlarger

It seems that when the condition is met the first time in some hours, it sends the tweet, but then, if condition is met another time in the next minutes (8-9min I've checked) it doesn't send the tweet. I don't know what could it be the issue? There's any kind of limit that makes React not working until the next hour or something like that? Thanks,
Dani

May 22, 2018
10:08 am
Avatar
cstapels
Moderator
Members


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

I just tested I react to a thingtweet that I have based on a numeric value for field 1 on a channel. I was able to trigger it once and then again 8 minutes later, with similar settings as yours.

Did you check the data in your channel to make sure it was updated? If you were rapidly updating, a post may have exceeded the rate limit and been denied. Also, sometimes numeric based reacts can be tricked by string like data. Make sure the post that you want to trigger the react does not have any non numeric characters in it, especially non printable ones.

You can test if the conditional setting is causing the failure by setting the condition to not equal to a string. I have attached an example of a react that I want to run every time I post any data to the channel.

If your channel is public, can you share the channel #?

sample_react.jpgImage Enlarger

sp_PlupAttachments Attachments
May 22, 2018
5:43 pm
Avatar
sandan
New Member
Members
Forum Posts: 3
Member Since:
May 22, 2018
sp_UserOfflineSmall Offline

Hi, thanks for your time. How did you tried React, with 'Run action only the first time the condition is met'? I can't see the image. That's the way I did and it doesn't work. The data I'm using is from field 6 from channel thingspeak.com/channels/468578. You can see in field 6 that data has been a lot of times over 50000 (the React threshold) and in the Twitter account: twitter.com/senshort , there are only 11 tweets.
There are only numbers in my data, so I don't think it's related with string problems. I can't see the image (link broken it seems), so I don't know how to make that condition you are explaining.

May 22, 2018
7:55 pm
Avatar
desaiankit
New Member
Members
Forum Posts: 1
Member Since:
August 20, 2015
sp_UserOfflineSmall Offline

Sorry, I cannot see the image you attached, but I am assuming you have set the React to "Run action each time the condition is met".

Another thing to keep in mind is that Twitter does not allow tweet with the same text to be sent multiple times.
This thread throws some light on that: https://twittercommunity.com/t/duplicate-tweets/13264

So if your tweet is of the same text, it might be blocked by Twitter and hence not posted.

Hope this helps.

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
23 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