How do i write a function to obtain these objects

How do i write a function to be able to read and display these specific readings?

That looks like a JSON string, so start by feeding it through a JSON node to convert it to a javascript object. Then there is a great page in the docs (Working with messages : Node-RED) 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 - works like a dream

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