Getting a timestamp of last entry | ThingSpeak API | Forum

Avatar

Please consider registering
Guest

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
Getting a timestamp of last entry
No permission to create posts
November 9, 2019
8:43 pm
Avatar
trappinoutdahbando
New Member
Members
Forum Posts: 1
Member Since:
November 9, 2019
sp_UserOfflineSmall Offline

Hi all,

Basically I was wondering if there is a version of the './last' API call that would allow me to post a timestamp of the devices last entry.

What id really like to do is be able to have a "Last Seen: " feature on a webpage.

Has anybody here done something like this? Id be very grateful if someone could point me in the right direction or the right docs, Thank You

November 11, 2019
2:59 pm
Avatar
Vinod

MathWorks
Members
Forum Posts: 339
Member Since:
May 1, 2016
sp_UserOfflineSmall Offline

Does the following endpoint not suffice?

https://api.thingspeak.com/channels/CHANNEL_ID/feeds/last.json?API_KEY=CHANNEL_READ_API_KEY_HERE

It gives you the last time the device sent data to ThingSpeak.

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
21 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:

qkpham, SANGAMNATH B, swatiiot, kalyanigaware16@gmail.com, Romi, Drakan01

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457