Specifying timestamp while sending value ? | ThingSpeak API | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





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

Register Lost password?
sp_Feed sp_TopicIcon
Specifying timestamp while sending value ?
Avatar
sirloon
New Member
Forum Posts: 3
sp_UserOfflineSmall Offline
1
July 17, 2011 - 9:55 am
sp_Permalink sp_Print

Hi guys,

 

I'm trying to experiment ThingSpeak in order to plug several "things" to send data. The problem I can see by now is it doesn't seem to be possible to actually specify the "created_at" field in GET/POST requests sent to record value. I can't expect my things to alway be online and send their data as the events occur.

 

So is there a way to force value's timestamp while sending data ?

 

Thanks

Seb

Avatar
Hans
Natick, MA

Forum Posts: 376
sp_UserOfflineSmall Offline
2
July 17, 2011 - 9:58 pm
sp_Permalink sp_Print

We are checking on this.

Avatar
lee

Forum Posts: 457
sp_UserOfflineSmall Offline
3
July 18, 2011 - 12:21 am
sp_Permalink sp_Print
Avatar
sirloon
New Member
Forum Posts: 3
sp_UserOfflineSmall Offline
4
July 18, 2011 - 12:31 am
sp_Permalink sp_Print

OK, great it works, thanks ! I remember having tried this but got no value recorded... Well I must have mistaken something, thanks anyway.

 

Cheers,

Seb

Avatar
rodri
Italy

Silver
Forum Posts: 16
sp_UserOfflineSmall Offline
5
February 18, 2016 - 7:19 am
sp_Permalink sp_Print

Hi Lee, what does T and Z mean?
&created_at=2011-07-18T01:02:03Z
Best,
Rodri

Avatar
Hans
Natick, MA

Forum Posts: 376
sp_UserOfflineSmall Offline
6
February 18, 2016 - 8:53 am
sp_Permalink sp_Print

Hi... The T just separates the date from the time.

Z is the UTC time zone.

Avatar
massa
New Member
Forum Posts: 1
sp_UserOfflineSmall Offline
7
March 18, 2017 - 10:54 pm
sp_Permalink sp_Print

How to send 2 or more values for the same field and each value with timestamp?

Avatar
rw950431

Forum Posts: 222
sp_UserOfflineSmall Offline
8
March 19, 2017 - 5:17 am
sp_Permalink sp_Print

As far as I know its not possible to assign different timestamps to fields in the same update- the created_at value is assumed to apply to all values you send in a single update.

 

You could, if you really wanted to, set a timestamp value as another field (thingspeak fields dont have to be only numbers) but you would have to devise your own processing and graphing routines.

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online:
24 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 222

Vinod: 120

vespapierre: 63

piajola: 60

chrisjmears: 54

turgo: 54

Newest Members:

tbdltee

FreddXINN

Hay

Sintra Air

TonoRocker

renaberman

Forum Stats:

Groups: 4

Forums: 17

Topics: 1106

Posts: 3941

 

Member Stats:

Guest Posters: 1

Members: 5235

Moderators: 0

Admins: 2

Administrators: Hans, lee