TwitterControl Advice | 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
TwitterControl Advice
No permission to create posts
April 8, 2017
12:27 pm
Avatar
wayzata08
New Member
Members
Forum Posts: 3
Member Since:
April 8, 2017
sp_UserOfflineSmall Offline

Hi y'all!  I'm pretty new to this stuff, and I feel I've done a pretty exhaustive search trying to get this to work, but please point me in the right direction if there's a post/resource that I've overlooked.

Background: I'm setting up some air quality monitors that will be broadcasting to various Thingspeak channels with data about regional concentrations of different pollutants.  Eventually, I want local residents to be able to tweet something like "#TwitterControl #[mytrigger] What is the air quality at site X" and for TwitterControl to see that, pass it onto a ThingHTTP that writes the text to a channel to be parsed by a Matlab Analysis and then basically reverse that process to fetch the most recent data from a channel and tweet it out via the ThingTweet app (possibly even tweeting back @ them?).  

Anyway, at thist point, I can't get the TwitterControl tutorial to work right off the bat.  Are there other fields that need to be edited?  Here's how I have everything set up:

TweetControl: -Anonymous box checked, Trigger is defined (I'll call it "wayzata08" for this example), ThingHTTP Action is selected "Thingspeak Channel Updater"

ThingHTTP: Name is "ThingSpeak Channel Updater" w/o quotes, url is "http://api.thingspeak.com/update" w/o quotes, Content type is "application/x-www-form-urlencoded" w/o quotes, HTTP Version is 1.1, Body is:

api_key='6JXMEGBF70XXXXXX'&field1=%%trigger%%&status=%%status%%

(I've obfusicated the api key, but everything else is identical).  All other fields are blank.  

 

Can anyone help me figure out what's going on?  This seems really straightforward, but the channel doesn't update when I tweet something like "#TwitterControl #wayzata08 test 123".  Thank you!

April 8, 2017
1:40 pm
Avatar
Hans
Natick, MA

Admin
Forum Posts: 396
Member Since:
January 18, 2011
sp_UserOfflineSmall Offline

wayzata08 said
Hi y'all!  I'm pretty new to this stuff, and I feel I've done a pretty exhaustive search trying to get this to work, but please point me in the right direction if there's a post/resource that I've overlooked.

Background: I'm setting up some air quality monitors that will be broadcasting to various Thingspeak channels with data about regional concentrations of different pollutants.  Eventually, I want local residents to be able to tweet something like "#TwitterControl #[mytrigger] What is the air quality at site X" and for TwitterControl to see that, pass it onto a ThingHTTP that writes the text to a channel to be parsed by a Matlab Analysis and then basically reverse that process to fetch the most recent data from a channel and tweet it out via the ThingTweet app (possibly even tweeting back @ them?).  

Anyway, at thist point, I can't get the TwitterControl tutorial to work right off the bat.  Are there other fields that need to be edited?  Here's how I have everything set up:

TweetControl: -Anonymous box checked, Trigger is defined (I'll call it "wayzata08" for this example), ThingHTTP Action is selected "Thingspeak Channel Updater"

ThingHTTP: Name is "ThingSpeak Channel Updater" w/o quotes, url is "http://api.thingspeak.com/update" w/o quotes, Content type is "application/x-www-form-urlencoded" w/o quotes, HTTP Version is 1.1, Body is:

api_key='6JXMEGBF70XXXXXX'&field1=%%trigger%%&status=%%status%%

(I've obfusicated the api key, but everything else is identical).  All other fields are blank.  

 

Can anyone help me figure out what's going on?  This seems really straightforward, but the channel doesn't update when I tweet something like "#TwitterControl #wayzata08 test 123".  Thank you!  

Try #tweetcontrol instead of #twittercontrol 

 

#thingspeak also works. 

 

Let us know if that helps. 

April 8, 2017
1:55 pm
Avatar
wayzata08
New Member
Members
Forum Posts: 3
Member Since:
April 8, 2017
sp_UserOfflineSmall Offline

Hans said

Try #tweetcontrol instead of #twittercontrol 

 

#thingspeak also works. 

 

Let us know if that helps.   

Hi, Thanks for getting back so quickly!  I tried the following combos and the channel still shows no updates:

#tweetcontrol wayzata08 Test 2

#tweetcontrol #wayzat08 Test 2

#thingspeak wayzat08 Test 2

I also set the channel to "Make Public" and made sure that the "Show Status" box was selected.

April 8, 2017
4:11 pm
Avatar
Hans
Natick, MA

Admin
Forum Posts: 396
Member Since:
January 18, 2011
sp_UserOfflineSmall Offline

Okay let's try a few things. The quotes around your API key are not needed. Make sure POST is selected in the ThingHTTP settings.

April 8, 2017
4:54 pm
Avatar
wayzata08
New Member
Members
Forum Posts: 3
Member Since:
April 8, 2017
sp_UserOfflineSmall Offline

Hans said
Okay let's try a few things. The quotes around your API key are not needed. Make sure POST is selected in the ThingHTTP settings.  

Looks like that did it!  It was the quotes around the API key that seem to have caused the issue.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
19 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 261

Vinod: 196

piajola: 85

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

Newest Members:

celinabw2, FitoSprayscroma, LunnonGor, lancevl16, bernicenk60, veronicadq18

Administrators: Hans: 387, lee: 457