Hans on IoT

ThingSpeak, MATLAB, and the Internet of Things

ThingSpeak Data Channels – Now With More Metadata 3

Posted by Hans Scharler,

ThingSpeak user [DodBasim]  requested an additional field inside of the ThingSpeak Data Channel. We named this new field “metadata”. This field works like the “status” field, but allows you to post any type of extra data along with your ThingSpeak Data Channel. An example would be to use the “metadata” field to store a JSON object that you want to parse with your application.

POST https://api.thingspeak.com/update
     api_key=XXXXXXXXXXXXXXXX
     field1=73
     metadata={"officeTemp":73}

The full ThingSpeak Channels API is available on ThingSpeak Docs.

[via ThingSpeak Forums]

19 views (last 30 days)  | |

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.