Update data with Date and Time | ThingSpeak API | Forum

The ThingSpeak community site has been upgraded to a new site. This site is currently in read-only mode. You can ask questions or post and read discussions on the new site.

Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Update data with Date and Time
No permission to create posts
January 28, 2013
5:30 pm
New Member
Forum Posts: 2
Member Since:
January 28, 2013
sp_UserOfflineSmall Offline

Just new (2 weeks) and had a look and tested the API.
Everything seems to work as documented.

However how can an application (microcontroller) update missing data if a crash has happend (on the microcontroller) but the data is available on the microcontroller side?
I can upload CSV (history) data myself and that works, but looking at the API and parameters there are no parameters/datafields for date and time.
I hope this is possible via the Updating a Channel “Get” method.


I hope the problem is clear.

January 30, 2013
11:24 am
New Member
Forum Posts: 3
Member Since:
September 21, 2012
sp_UserOfflineSmall Offline



You can specify a timestamp with a query parameter like

created_at=2013-01-12T12:14:03Z  this works for me and the opensource api, honestly i don't know if i have patched that in or if it works out of the box...


Is your username a description of your project? Could you share some details?



January 31, 2013
3:06 pm
New Member
Forum Posts: 2
Member Since:
January 28, 2013
sp_UserOfflineSmall Offline

Michael thanks for the info.

I will try this weekend and see if it works.


Why is this parameter not mentioned in the API?


username is indeed a description of the project.

First step is to upload every parameter that my inverter can measure. At the moment nothing is logged in any way. Next step will be to combine the info of an inverter with logging with this one an create the total picture.


WORKS!! (more or less)

adding the "created_at=2013-02-05T21:49:00+01:00" adds points at a time but in this example local time is 21:49 and the timezone is Amsterdam (+1) the points get added at  22:49:00 which i don't want.

I'm trying to avoid summer/winter time problems (gaps + doubles in time) but i'm not sure how to do this.

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
34 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

Advantagetreeexperts, laundrydaddyuk, techhhelp5, ken, tran, huldacormier

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457