Python function return variable

Many thanks to all for the help:
Just for finish my test i would like to display the value in a dasboard ui
so i have done:
image

the problem is that in the ui i get
image
How i can get the value that i see in the debug??
image

that came from the node.send(msg) from the python script
Thanks

In the text node change value format to {{msg.payload.my_counter}}

as described in the node documentation...

Sorry guys i use the wrong object i have used the text input instead of the sample text
Thanks

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.