Passing a hex string to a payload decoder in Node-RED

This may help?

And indeed, when using Node-RED already, I’d not use the payload formats in TTN Console anymore.

Aside, note that a LoRaWAN application payload is really an array/buffer/list of bytes, so: values from 0 to 255. Hexadecimal is just one (of the many) human-readable representations of that.

Aside: your decoder does not support negative temperatures. See the post I quoted from above for a fix.