Thingspeak - no reading data error code 0
3 views (last 30 days)
Show older comments
Hi,
I've just tried to upload the example sketch ReadField with an Arduino R4, updating the library with WifiS3.h rather than Wifi.h. The network connection is OK.
Unfortunately, I get an error code 0 in the Serial Monitor :
"Problem reading channel. HTTP error code 0"
I d'ont konw what is wrong here and how to fix it. I've read it could be result to the update rate, but the delay of the example seemes to be sufficient (15s).
5 Comments
Christopher Stapels
on 11 Sep 2024
Im sorry, I misread your post, I thought you were writing, not reading. In that case it definitely has nothing to do with the update rate. I would consider trying a different network. Also try using the read command in your browser (also on the api keys tab of your channel;)
Answers (1)
Vinod
on 24 Sep 2024
3 Comments
Vinod
on 23 Dec 2024
Edited: Vinod
on 24 Dec 2024
The issue lies deep in the implementation of the Arduino R4's WiFiS3 library, which is used to create the client that is passed into the ThingSpeak library. See the issue I have reported to the maintainers of the repo.
Christopher Stapels
on 30 Dec 2024
Hope they get to that soon. Thanks for digging into the issue @Vinod
Communities
More Answers in the ThingSpeak Community
See Also
Categories
Find more on Write Data to Channel in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!