Hi everyone,
is it possible to access Metadata in a decoder (Payload Formats)?
I want to put RSSI of received payload into my JSON which I send to my HTTP destination.
Thanks
Hi everyone,
is it possible to access Metadata in a decoder (Payload Formats)?
I want to put RSSI of received payload into my JSON which I send to my HTTP destination.
Thanks
No, this is not possible.
You’ll need the MQTT Data API (or one of the SDKs to expose that, but beware that many are deprecated, so see their GitHub repositories first), or some integration that happens to forward those details, such as the HTTP integration. These will also include the decoded application payload (not all integrations do that), and the raw payload (Base64 encoded), so one could also choose to do the decoding in one’s application rather than in a Payload Format decoder function.
(Note that the Storage integration does not store the metadata either.)