Flow variable on dashboard

#1

Hi guys!
Is there a way to show the content of a flow variable into a ui_text?
I mean, without using a function to write that variable into a msg!
I've tried to put flow.variable_name instead of msg.payload in the "Value format" field, but without success.
Any tips?
Thanks
cheers

0 Likes

#2

No - (but you can use a change node rather than a function node)

0 Likes

#3

Thanks man!

0 Likes

#4

As example:

[{"id":"5ce744f4.05771c","type":"inject","z":"75be3680.18cac8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":160,"y":500,"wires":[["7f878fd1.03e9"]]},{"id":"7f878fd1.03e9","type":"change","z":"75be3680.18cac8","name":"writte variable","rules":[{"t":"set","p":"test","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":320,"y":500,"wires":[["65994049.d81b"]]},{"id":"65994049.d81b","type":"change","z":"75be3680.18cac8","name":"","rules":[{"t":"move","p":"test","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":500,"y":500,"wires":[["52bba212.7cb5dc","5af1aca5.ed9b74"]]},{"id":"52bba212.7cb5dc","type":"ui_text_input","z":"75be3680.18cac8","name":"","label":"variable test","group":"ac2c8e97.2a413","order":0,"width":0,"height":0,"passthru":true,"mode":"text","delay":300,"topic":"","x":710,"y":500,"wires":[[]]},{"id":"5af1aca5.ed9b74","type":"debug","z":"75be3680.18cac8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":710,"y":460,"wires":[]},{"id":"ac2c8e97.2a413","type":"ui_group","z":"","name":"test","tab":"d92ab4b4.55f5c8","order":3,"disp":true,"width":"7","collapse":true},{"id":"d92ab4b4.55f5c8","type":"ui_tab","z":"","name":"test","icon":"fa-television","order":2}]
0 Likes