Hans on IoT

ThingSpeak, MATLAB, and the Internet of Things

ThingSpeak Data Channels – Now With More Metadata

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]

|
  • print
  • send email

评论

要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。