Insert field value into thinghttp URL | ThingSpeak Apps | 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
Insert field value into thinghttp URL
No permission to create posts
February 4, 2017
1:14 am
New Member
Forum Posts: 1
Member Since:
February 4, 2017
sp_UserOfflineSmall Offline

Hi,  I am hoping someone can help me.  

I have an ESP8266 running ESPBasic.  It has a Thingspeak send function and it works like a charm to get data from the IOT device to my channel/field.   I want to send this data (using time control) as part of a https:// URL which has the format

Using GET i can successfully send the &value=111 to as a manual entry so i know the URL works.

How can i replace the &value=xxx  so that it contains the actual field value of my channel ?  

I tried to replace the manual value with %%channel_1234_field_1%% but this doesnt work.

I would appreciate any suggestions

best regards


February 4, 2017
6:23 pm

Forum Posts: 210
Member Since:
May 1, 2016
sp_UserOfflineSmall Offline

You can do this:

1) Write a MATLAB Analysis App that uses thingSpeakRead to read from the channel

2) Use the webwrite function to write data to zipato

3) Schedule the MATLAB analysis app to be run by your TimeControl

February 5, 2017
6:53 am

Forum Posts: 269
Member Since:
January 30, 2014
sp_UserOfflineSmall Offline

There is some evidence to suggest that variable substitution doesn't occur in GET requests (where the values are passed in the URL).  Is it possible for you to use the POST format instead?  Otherwise Vinod's solution looks good if you can find your way around the Matlab syntax.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online: samdavies
18 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:

Lakshmanaprakash S B, bettetj60, ronnievw3, bessiesj18, Pavan kumar, Williampup

Administrators: Hans: 387, lee: 457