Thingspeak App not updating | ThingSpeak Apps | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
Thingspeak App not updating
Avatar
MTBHuw
New Member
Forum Posts: 2
sp_UserOfflineSmall Offline
1
November 27, 2017 - 1:05 pm
sp_Permalink sp_Print

Hi, I'm very new to Thingspeak but I've got a distance sensor working with an Arduino Uno / Ethernet W5100 card and it is sending distance data nicely to a Channel on Thingspeak. I want to create a Thingspeak App that will read this data and convert it to a volume, after defining some tank measurements. I think I've managed to create this as it returns a volume when I run the app but it only gives me this one reading on the app output, and Channel graph. It doesn't update. Is there an obvious reason for this?

Avatar
cstapels

Gold
Forum Posts: 96
sp_UserOfflineSmall Offline
2
November 27, 2017 - 1:53 pm
sp_Permalink sp_Print

You can use a time control to schedule your code to run at regular intervals.  If the output of the code is written to a channel, the regular ThingSpeak plot for your channel field data will be updated as often as the time control runs.  Have a look at the second part of the Getting Started tutorial, analyze your data.  The part at the bottom talks about scheduling your code.  Let us know if that is the result you are looking for. Welcome to ThingSpeak!

Avatar
MTBHuw
New Member
Forum Posts: 2
sp_UserOfflineSmall Offline
3
November 27, 2017 - 2:44 pm
sp_Permalink sp_Print

That's perfect thankyou. I think it works, It has returned a few 5 minute interval readings to the channel now. I feel a bit (very) stupid as I saw the option for scheduling but glossed over it, as I assumed the channel would run at the same frequency of readings as the one I'm reading off. Thanks for the help.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

donj51

trilee

Bfletche

stuartWAI

shivmkatiyar

AidanThing

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee