in fact I receive this message in hexa : 6c61743a2034382e31302c206c6f6e673a202d312e3739
I transform it in string : lat: 48.10, long: -1.79
and this is this message that I want to store in Influxdb
but I've an error message to convert it in the good format
[{"id":"57ceba4f.ff52b4","type":"function","z":"a1fb6147.ca4bd8","name":"to string","func":"msg.payload = Buffer.from(msg.payload, 'hex').toString();\nreturn msg;","outputs":1,"noerr":0,"x":800,"y":400,"wires":[["420fa9f9.c2ff58"]]},{"id":"bb8e3a5e.acfa78","type":"inject","z":"a1fb6147.ca4bd8","name":"","topic":"","payload":"6c61743a2034382e31302c206c6f6e673a202d312e3739","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":630,"y":400,"wires":[["57ceba4f.ff52b4"]]},{"id":"74595e3b.21e598","type":"debug","z":"a1fb6147.ca4bd8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":1150,"y":400,"wires":[]},{"id":"420fa9f9.c2ff58","type":"json","z":"a1fb6147.ca4bd8","name":"","property":"payload","action":"","pretty":true,"x":950,"y":400,"wires":[["74595e3b.21e598"]]}]
an idea for help