Last updated
Last updated
is a key:value
set of data applied to every device using the same template. Unlike Datastreams, this data stays mostly unchanged, however, if you need to read/write it, here is how to do it:
The device can request the value of its own metadata from the cloud using the key (name) of Metadata.
Double-check that you have a Metadata field with a correct name configured in the Device Template.
First, you need to send a request to Blynk.Cloud
Then, parse the data stored in InternalPinMETA
, which a system pin to store metadata values.
The device can update the value of the metadata using the metadata key (name).
For example, if your device stores Serial Number and Device Model internally, you can write these values to corresponding metadata fields.
Set and receive metadata values