I'm using a great node to connect a universal robot to node red.
The connection works finde and I'm getting Json Data from the robot.
I would like to pick certain values from this json object and display them on a dashboard.
Can anyone tell me how to proceed and extract certain values for example position actual (see foto below) and display them on a dashboard?
There’s a great page in the docs that will explain how to use the debug panel to find the right path to any data item.
Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.
Thank you so much for your answers!
If I want to use for example a gauge or graph to display the values can I use these nodes directly or do I need a change node or something to set the message payload to the value using the path?
You can use the gauge node directly, you can choose which property you wish to display.
eg in the value format field {{msg.payload.jointData[0].positionActual}}
or if you want to round the dispay {{msg.payload.jointData[0].positionActual | number:3}}
This is all in the help text, use the book icon in the side panel.
In the graph node you would move your value to msg.payload using a change or function or template node. you would also set a msg.topic.
sorry for my late reply.
I want to thank all of you for the very useful comments and your input.
I was able to extract the data and visualize it on the dashboard.