Temp & Humidity value problem

I'm pretty new to node red however I've managed to get a few flows working but I'm stumped with this particular problem.
Basically I've got two nodes from a DHT11 sensor, one for humidity and the other for temp, I need to run both values through a function node. I have done this however my combined output alternates between one of the values showing as undefined and the other showing the correct value. I can post the flow or the contents of the function node if it helps. Any help would be highly appreciated.

There is an example of how to join messages here Create a single message from separate streams of messages : Node-RED
or another example here

Thank you for the reply, using the join node did the trick.
The flow is now working perfectly, thank you so much

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