Get number of a Mqtt return

Hello,
I get the following value from an MQTT server via # from which I want to transfer the temperature in Celsius to a msg.payload and then display it later.
How do I get the value?

This is the return of the Mqtt request in the debug Window:

fbtemp/status/temperature:0 : msg.payload : Object
{ id: 0, tC: 26.6, tF: 79.9 }

Thanks for help

In a change node
set msg. payload
to msg. payload.tC

But you may not need to move it to payload, all depends where you want to display it.

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