FlowFuse dashboard-2 examples

I do a lot better with an example, and i can't find example flows using dashboard-2. I have a json object with analog values and wish to use a gauge. Any suggestions?

2 Likes

Hi @bjvt - welcome to the forums.

Just to check, when you're saying "json object with analog values", do you mean that your msg.payload looks something like:

{
    "value": 5
}

If so, UI Gauge will display whatever value is passed to it in msg.payload, so could place a "change" node directly before the Gauge that sets msg.payload to equal msg.payload.value, and then wire the output of the change node into your gauge

thank you. I kept trying to send the key:value and all it needs is the value.