Comments on: ThingSpeak Data Channels – Now With More Metadata https://blogs.mathworks.com/iot/2014/07/11/thingspeak-data-channels-now-with-more-metadata/?s_tid=feedtopost Hans Scharler is an Internet of Things pioneer. He writes about IoT and ThingSpeak IoT platform features. Thu, 08 Mar 2018 20:16:38 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: Hans Scharler https://blogs.mathworks.com/iot/2014/07/11/thingspeak-data-channels-now-with-more-metadata/#comment-202564 Thu, 08 Mar 2018 20:16:38 +0000 https://blogs.mathworks.com/iot/?p=1269#comment-202564 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 https://blogs.mathworks.com/iot/2014/07/11/thingspeak-data-channels-now-with-more-metadata/#comment-202562 Thu, 08 Mar 2018 19:17:45 +0000 https://blogs.mathworks.com/iot/?p=1269#comment-202562 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 https://blogs.mathworks.com/iot/2014/07/11/thingspeak-data-channels-now-with-more-metadata/#comment-202560 Thu, 08 Mar 2018 19:14:00 +0000 https://blogs.mathworks.com/iot/?p=1269#comment-202560 I see an example of how to update this ‘Metadata’ field.
Could you provide a complementary example of how to
“read back” this value?

]]>