Hi, I'm new here and it's my first experience with Node-Red.
What I'd like to do is to show the current temperature or windspeed data of the DWD weather node (https://flows.nodered.org/node/node-red-contrib-dwd-local-weather) at the red node dashboard. The weather node is already configured if i select the debug button I can see an object which shows the temperature, windspeed etc. of the configured weather station. But how can I further process these data?
To extract a particular value you should be able to use the "dot" notation (in a function node) as the example below.
For example, to get the temperature - which is named 'tempc' put this code in a function node.
msg.payload = msg.payload.tempc;
Then you can process the resulting value in whatever way you want.
Hope that works for you.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.