Has anyone had an issue with data stopped importing. Nothing has changed via code or thingspeak. I changed the API key just to verify it wasn't that and it shows the entries but does not show the data. Even if I pull the CSV file it shows all the entries but no data in the fields.
Like I stated before it was working just fine and then it stopped. Any suggestions I would greatly appreciate it!
thanks for the reply. I am not sure really how to use the GET feature. It is on all channels. I can see this under the serial monitor
server is at 192.168.2.90
Connecting to ThingSpeak...
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Status: 200 OK
Access-Control-Allow-Methods: GET, POST, PUT, OPTIONS, DELETE, PATCH
Access-Control-Allow-Headers: origin, content-type, X-Requested-With
Cache-Control: max-age=0, private, must-revalidate
Set-Cookie: request_method=POST; path=/
X-Powered-By: Phusion Passenger 4.0.57
Date: Mon, 10 Oct 2016 00:05:26 GMT
Server: nginx/1.9.3 + Phusion Passenger 4.0.57
Then under things speak it says 4372 Entries with no data..
I am really trying to learn the code side. I understand the basics but the string concept that I was using confuses me. That is why I haven't touched it since I got it running. If you have any ideas I am willing to listen. Thanks in advance.
1) Login to your ThingSpeak account and set up a new public channel. Copy the write API key for the channel.
2) In a web browser go to:
That should post a value to your ThingSpeak channel. See the graph and confirm that you are able to see the newly posted value. Remember that you can only do that once every 15 seconds. If you see a number greater than zero, this is how many points are in that channel. If you get a 0, then the data didn't post.
If this works from your web browser, then we can confirm you can update ThingSpeak from your network.
Since you mentioned you are getting started, you may want to look at this tutorial. Can you confirm the examples in the ThingSpeak library work for you?
If that does, then can you post your Arduino sketch code, replacing any API keys with placeholders.
The below did work as you stated. However, I got it to work. Not sure why this matters but it was originally on the Mega and I changed it to the UNO and it stopped working but when I changed it back to the MEGA it started working again. Not sure why it matters, when I choose the correct board before compiling? I am using the same pins?
I'm glad you got it working again.
That's a pretty big change from running the code on an Arduino Mega to an Arduino Uno. Remember that an Arduino Mega has a lot more memory than an Arduino Uno.
It is possible that your Uno is running out of memory or for some other reason unable to assemble the necessary information for the HTTP request correctly. This can depend on many factors including, the memory footprint of your compiled code, the amount of memory on the Arduino, etc.
Most Users Ever Online: 114
Currently Browsing this Page:
Guest Posters: 1
Administrators: Hans, lee