Uploaded data is not appearing in Imported data function
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Emilio Rubio Garcia
am 23 Jan. 2020
Beantwortet: Emilio Rubio Garcia
am 24 Jan. 2020
Hi,
There is some kind of problem in one of my channels (Weather Station). Data is not showing in downloaded data file although channel is reflecting that there are already some records. I've recently changed POST procedure by GET in software, but it is not still showing data.
Should I change anything else in code for data to appear?
Thank you very much in advance for your support.
Regards.
Emilio Rubio.
0 Kommentare
Akzeptierte Antwort
Christopher Stapels
am 23 Jan. 2020
Are you using the data export on the web site, or an HTTP call? If so, can you show the format of your HTTP call? ( you dont need to share the api keys, just the format)
0 Kommentare
Weitere Antworten (4)
Christopher Stapels
am 24 Jan. 2020
Bearbeitet: Christopher Stapels
am 24 Jan. 2020
I've found it easier to do a POST for update requests, since there is more control.
I would recomend using the ThingSpeak Library for Arduino and ESP8266. It will greatly simplify the communication with the ThingSpeak server. There are many examples built into the library for reading and writing. The proximity sensor shows some ways to read and write with the library.
If you must write the request out by yourself, there is code in the moisture monitor example of a POST request.
0 Kommentare
Emilio Rubio Garcia
am 24 Jan. 2020
1 Kommentar
Christopher Stapels
am 24 Jan. 2020
I'd also recomend trying it in the browser first. You can copy the text from the API keys tab right to a browser to make sure that works.
If you use the moisture code instead of the ThingSpeak arduino library, be careful to copy things pretty closely, the POST requires extra carriage returns and headers.
Communitys
Weitere Antworten in ThingSpeak Community
Siehe auch
Kategorien
Mehr zu Read Data from Channel finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!