Batch Data

Edward on 26 Dec 2023 (Edited on 26 Dec 2023)
Latest activity Reply by Christopher Stapels on 28 Dec 2023

I am sending data to Thingspeak chanels from an ESP8266. I am saving data on the ESP memory which is collected at 5 minute intervals . I have created a trigger function which sends the data on demand in batches from the memory, which means there could be varying number of Data points from say 10 to 50.However I have notice recently whilst my code tells me the data points have been transmitted not all get recorded in thingspeak, are there restrictions which cause this problem and if so what is the solution please?
Christopher Stapels
Christopher Stapels on 28 Dec 2023
You cannot write two entries with the same timestamp to the channel, and there are limitations on the number of points in each update and for the frequency of bulk posts. See the Bulk JSON write page for more information.
If you are still stuck, have a look at the examples like this one for ESP8266. Please let us know how it goes.
Edward
4
Posts
8
Replies

Tags