Updating Thingspeak channel | Arduino | Forum


Please consider registering

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
Updating Thingspeak channel
No permission to create posts
April 17, 2012
6:53 pm
New Member
Forum Posts: 1
Member Since:
April 17, 2012
sp_UserOfflineSmall Offline

I am using the cheerlights application to do a simliar project, although once the command is recieved, It will post back to the channel with an update.


So when the Machine Command: Green the post back to Channel "The light are now Green"


I created a post statement although I can't get it to run within the loop. Any ideas on how to make this work. 


         String tsData;

         tsData = "field1=thankyou&status=The lights are now Green"; 
         client.print("POST /update HTTP/1.1n");
         client.print("Host: api.thingspeak.comn");
         client.print("Connection: closen");
         client.print("X-THINGSPEAKAPIKEY: "+writeAPIKey+"n");
         client.print("Content-Type: application/x-www-form-urlencodedn");
         client.print("Content-Length: ");
Forum Timezone: America/New_York

Most Users Ever Online: 114

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

terranceqh2, DianeEmids, Alanawaype, uqovitay, ufijifode, manish01

Administrators: Hans: 387, lee: 457