ThingSpeakWrite() limit only 33% more in Home version than free, should that be?
2 views (last 30 days)
Show older comments
MR Smith
on 11 Sep 2019
Commented: MR Smith
on 18 Sep 2019
The following code runs up to jj=500 in the Free version, and up to jj=700 in the Home version.
[ed: Free version and Home version of ThingSpeak channel]
But the account counters don't show any daily usage yet.
Thanks for help understanding where the input 4 entry data from a battery analyzer totals 4 columns x 27036 entries. But jj can't be anywhere near that! Thanks, Mark @W4CHL
% Send data to Grinspector test channel via thingSpeakWrite()
% 09-09 Student version limited, set jj = Max_records ~500,
% 09-10 Home version also limited, but to same jj = ~700 ! Should be larger!?
tspchid = 861393; jj = 700;
tStamps = datetime("2019-08-30") + seconds(gt_data(1:jj,1));
gt_timetable = timetable(tStamps, gt_data(1:jj,2), gt_data(1:jj,3), gt_data(1:jj,4));
thingSpeakWrite(tspchid,gt_timetable,'WriteKey','write-key');
Output for jj > 700:
>> gt_7t_plot_thspk
gt_fn =
"7tCurrieLiFe1-7tCurrieLiFe1.csv"
input file is 7tCurrieLiFe1-7tCurrieLiFe1.csv
Time to read the dataset: 0.28 sec
Time to parse the dataset: 0.0005 sec
Time to loop by row over the dataset: 0.99 sec
Time to plot the dataset: 0.12 sec
Error using gt_7t_plot_thspk (line 125)
URL is incorrectly formed, or the requested feature is not supported in this version of ThingSpeak.
6 Comments
Walter Roberson
on 12 Sep 2019
Ah, this appears to refer to https://thingspeak.com/prices/thingspeak_home
Walter Roberson
on 12 Sep 2019
"The code snippet is mine for importing battery charge/discharge data to analyze and share at our upcoming Light EV Tech course."
That is not Personal Use, so a Home license is not appropriate.
Accepted Answer
Christopher Stapels
on 12 Sep 2019
A side note: "URL is incorrectly formed,..." generally comes from writing non unique timestamps to a ThingSpeak channel. You cannot have two entries that have the same timestamp.
More Answers (1)
Vinod
on 11 Sep 2019
Edited: Steven Lord
on 12 Sep 2019
There are multiple levels of counters on https://thingspeak.com/account. The table shows the number of messages remaining and is accurate to within the last 10 minutes as it is kept track of by a process that runs every 5 minutes. The daily usage is only calculated once a day, so you really have to wait until the time rolls over to the next day (UTC time) for the daily charts to show it. Likewise, monthly charts are produced after the end of the month.
How frequently are you writing a block of data using thingSpeakWrite, and how many rows are in each block of data?
If you describe your application in more detail, I may be able to give you suggestions on thing to try for efficient utilization of ThingSpeak and MATLAB analysis on ThingSpeak.
[SL: removed period from link.]
Communities
More Answers in the ThingSpeak Community
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!