ThingSpeakWrite() limit only 33% more in Home version than free, should that be?

5 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2019-9-12
"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.

请先登录,再进行评论。

采纳的回答

Christopher Stapels
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.

更多回答(1 个)

Vinod
Vinod 2019-9-11
编辑:Steven Lord 2019-9-12
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.]

社区

更多回答在  ThingSpeak Community

类别

Help CenterFile Exchange 中查找有关 Prepare and Analyze Data 的更多信息

产品


版本

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by