ThingHTTP key replacement | ThingSpeak API | 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
ThingHTTP key replacement
No permission to create posts
September 3, 2019
10:02 am
Avatar
doutlook
New Member
Members
Forum Posts: 4
Member Since:
June 10, 2019
sp_UserOfflineSmall Offline

I have a ThingHTTP setup to send data once a day to a Slack Channel. August 14th data sent properly but August 15th the key didn't get replaced.

Matlab code
thingSpeakWriteURL="https://api.thingspeak.com/apps/thinghttp/send_request"
api_key="xxxxxxxxxxxxxx"
response = webwrite(thingSpeakWriteURL,'api_key', api_key,'cycle', sumCycle, 'gallons', Total_Gallons)

sumCycle and Total_Gallons show up in the output when I run the Matlab script. The script sums up yesterdays activity and post the summary to the Slack channel.

The Body in the ThingHTTP is: Sump Pump Channel 106771 Yesterday's Cycles %%cycle%% Gallons %%gallons%%

I don't think I changed anything.

Looking for ideas on how to debug this.

SlackImage.JPGImage Enlarger

sp_PlupAttachments Attachments
September 4, 2019
1:50 pm
Avatar
cstapels
Moderator
Members


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

This is being investigated and a fix should be available tomorrow.

September 6, 2019
9:50 am
Avatar
doutlook
New Member
Members
Forum Posts: 4
Member Since:
June 10, 2019
sp_UserOfflineSmall Offline

Working now, thanks for the fix.

September 6, 2019
2:15 pm
Avatar
cstapels
Moderator
Members


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

Appreciate the confirmation. I think we need a 'like' button here.

FYI, MATLAB Answers is now the preferred location for online help regarding ThingSpeak topics.

https://www.mathworks.com/matlabcentral/answers/?product_base_code%5B%5D=ThingSpeak&sort=asked+desc

Forum Timezone: America/New_York

Most Users Ever Online: 166

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

Hema, askask, Rakwireless, budiardi basuki, oliver009, shelby1234

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457