More metadata fields to channel | Feature Requests | Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

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

Topic RSS
More metadata fields to channel
June 28, 2014
8:51 am
DodBasim
Member
Forum Posts: 12
Member Since:
June 25, 2014
Offline

I wish i had the ability to add more fields to a channel. Something similar to the Description.
Those fields should be visible in the API call (https://thingspeak.com/channels/channelID/feed.json)
but may not be visible in public/private channel pages.

You are great!

June 29, 2014
1:04 pm
lee
Admin
Forum Posts: 276
Member Since:
March 14, 2011
Offline

Hi,

Does the "status" field cover what you're looking for? Here's an example:
https://api.thingspeak.com/channels/1417/status.json?results=30&days=5

lee

June 29, 2014
8:01 pm
DodBasim
Member
Forum Posts: 12
Member Since:
June 25, 2014
Offline

No, look at "custom_property" in the channels response below

channel: {
id: 1
name: "RPi"
description: "This is a very cool sensor"
custom_property: "Any Text/JSON/XML"
latitude: "34.016331"
longitude: "-118.191111"
field1: "CPU"
created_at: "2014-06-24T05:21:38Z"
updated_at: "2014-06-29T23:59:45Z"
elevation: "40"
last_entry_id: 1158
}

The idea is to give more info about the sensor/channel when calling with API

June 30, 2014
1:06 pm
lee
Admin
Forum Posts: 276
Member Since:
March 14, 2011
Offline

Hi,

We just added a new Channel property for you, called "metadata". You can set it on the Channel settings page, and it can store an unlimited amount of JSON/XML or any other data. If you want to include the metadata when getting the Channel feeds, just add "metadata=true". Please see https://thingspeak.com/docs/channels#get_feed for further documentation.

lee

July 1, 2014
4:59 am
DodBasim
Member
Forum Posts: 12
Member Since:
June 25, 2014
Offline

Thank you very much for doing this.
Once again, you showed how flexible and responsive you are.

Keep up the good work
Smile

July 1, 2014
4:21 pm
DodBasim
Member
Forum Posts: 12
Member Since:
June 25, 2014
Offline

One more thing…
Do you think you will be able to add the option to update this field via HTTP POST call?

One more thing 2…
Any plans to add a global Status field to the channel that will be accessible via HTTP POST/GET?

Thanks again…

July 2, 2014
11:46 am
lee
Admin
Forum Posts: 276
Member Since:
March 14, 2011
Offline

Hi,

We added the ability to update a Channel via the API: https://thingspeak.com/docs/channels#update .

Please use the newly added "metadata" field for status requests. For example, you can store JSON metadata info as
{ "status": "online", "otherinfo", "etc." }
and then parse out the status from the response.

lee

July 3, 2014
4:22 am
DodBasim
Member
Forum Posts: 12
Member Since:
June 25, 2014
Offline

works like a charm

Forum Timezone: America/New_York

Most Users Ever Online: 42

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

vespapierre: 57

turgo: 52

chrisjmears: 43

JChristensen: 30

CorBee: 29

gerald: 20

Member Stats:

Guest Posters: 0

Members: 3775

Moderators: 0

Admins: 3

Forum Stats:

Groups: 4

Forums: 15

Topics: 360

Posts: 1328

Newest Members: pinsull, 4WSKzP, aryaslammallo, sleepel, AndresHurtado, rsfwatermeter

Administrators: Hans (189), lee (276), akinsgre (9)