ThingSpeakWrite() limit only 33% more in Home version than free, should that be?
1 次查看(过去 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
2019-9-12
Ah, this appears to refer to https://thingspeak.com/prices/thingspeak_home
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
2019-9-12
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
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
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!