Comments on ThingSpeak Data Channels – Now With More Metadata Hans Scharler is an Internet of Things pioneer. He writes about IoT and ThingSpeak IoT platform features. 2018-03-08T20:16:38Z https://blogs.mathworks.com/iot/2014/07/11/thingspeak-data-channels-now-with-more-metadata/feed/atom/ WordPress By: Hans Scharler Hans Scharler https://blogs.mathworks.com/iot/?p=1269#comment-202564 2018-03-08T20:16:38Z 2018-03-08T20:16:38Z In reply to x x.

We do not support the reading of the metadata setting from the thingSpeakRead function, but you can use webread.

indoorChannelData = webread(strcat(‘https://api.thingspeak.com/channels/’, …
num2str(indoorChannelID), …
‘/feeds.json?metadata=true&api_key=’, …
indoorChannelReadKey));

]]>
By: x x x x https://blogs.mathworks.com/iot/?p=1269#comment-202562 2018-03-08T19:17:45Z 2018-03-08T19:17:45Z I tired :
[result, timestamp, chInfo] = thingSpeakRead (channel_id, ‘ReadKey’, readKey, ‘Metadata’, true)
and it returned error:
‘Metadata’ is not a recognized parameter.

]]>
By: x x x x https://blogs.mathworks.com/iot/?p=1269#comment-202560 2018-03-08T19:14:00Z 2018-03-08T19:14:00Z I see an example of how to update this ‘Metadata’ field.
Could you provide a complementary example of how to
“read back” this value?

]]>