timeout on thingSpeakRead, no data read
Hello,
since some time a script is not working anymore, it is timing out. I could track down the problem to thingSpeakRead. I am reading some data to be visualized by this:
[loc_comp, timeStamps] = thingSpeakRead(readChannelID, ‘Field’, fieldID1, ‘ReadKey’, readAPIKey, DateRange=[(datetime – days(1)), datetime]);
It was working this way approx. until April and then I ignored it first. Now I’d like to use that visualization again but can’t it get it to work. If I replace the channel read by some fixed test data everything else is running as before. Just the channel read is not working …
channel id, field number and read key have not changed…
Any ideas? The Timeout=xx parameter did not help as well …
Thanks,
Jürgen
Edit:
i also tried e.g.
[loc_comp, timeStamps] = thingSpeakRead(123456, Fields=[6], ReadKey=’MySecretKey’, NumPoints=15, Timeout=60);
with the same timeout error appearing ..Hello,
since some time a script is not working anymore, it is timing out. I could track down the problem to thingSpeakRead. I am reading some data to be visualized by this:
[loc_comp, timeStamps] = thingSpeakRead(readChannelID, ‘Field’, fieldID1, ‘ReadKey’, readAPIKey, DateRange=[(datetime – days(1)), datetime]);
It was working this way approx. until April and then I ignored it first. Now I’d like to use that visualization again but can’t it get it to work. If I replace the channel read by some fixed test data everything else is running as before. Just the channel read is not working …
channel id, field number and read key have not changed…
Any ideas? The Timeout=xx parameter did not help as well …
Thanks,
Jürgen
Edit:
i also tried e.g.
[loc_comp, timeStamps] = thingSpeakRead(123456, Fields=[6], ReadKey=’MySecretKey’, NumPoints=15, Timeout=60);
with the same timeout error appearing .. Hello,
since some time a script is not working anymore, it is timing out. I could track down the problem to thingSpeakRead. I am reading some data to be visualized by this:
[loc_comp, timeStamps] = thingSpeakRead(readChannelID, ‘Field’, fieldID1, ‘ReadKey’, readAPIKey, DateRange=[(datetime – days(1)), datetime]);
It was working this way approx. until April and then I ignored it first. Now I’d like to use that visualization again but can’t it get it to work. If I replace the channel read by some fixed test data everything else is running as before. Just the channel read is not working …
channel id, field number and read key have not changed…
Any ideas? The Timeout=xx parameter did not help as well …
Thanks,
Jürgen
Edit:
i also tried e.g.
[loc_comp, timeStamps] = thingSpeakRead(123456, Fields=[6], ReadKey=’MySecretKey’, NumPoints=15, Timeout=60);
with the same timeout error appearing .. thingspeak, thingspeakread, timeout MATLAB Answers — New Questions