Product Visualization on Asset Map

Hello everyone, I’m a new member here.

I am interested in the device displayed in the asset map widget then I go to the product visualization in the image below to set it up.

I want to ask for the format for the product field in the red box. my bucket name is “flow_monitoring_bucket” and the data I want to retrieve is for example “flowrate”. I have tried the format {{flow_monitoring_bucket.flowrate}} but the result is “null” in the asset map. Please help.

I use an MQTT device and send it to a databucket in JSON format

Thanks and regards

Hello @christosunbilly

Welcome to Thinger :slight_smile:

You need to prepend bucket to your product bucket id like so: {{bucket.flow_monitoring_bucket.ts}}.

Hi @jaimebs

Thanks for your response.

I try {{bucket.flow_monitoring_bucket.flowrate}} but still didn’t works. Device display in asset map is ‘null’.

Does this issue occur because my data in data buckets comes from MQTT device and the data format is string? If so, can I convert the data format that already strored in data buckets?

Thank you.

HI @christosunbilly

From the picture of the bucket it seems that it’s missing the device tag, which its necessary for the data to be available for the product and therefore asset map.

You need to create a bucket in the product with the source Device Topic, on the first message received the product will create the bucket and insert the data. Here is some more info: Buckets | Thinger.io Documentation

Let me know if you have any questions

1 Like

Hi @jaimebs

It works.

Thank you.

1 Like