With port 1 or 125 it's the same for the downlink
For the uplink with
msg.payload : string[12]
"EQoAEwBVIAU="
and with a node64 i receive this :
06/03/2024 15:40:40noeud: debug 122 v3/pilotage-chauffages@ttn/devices/eui-70b3d5e75e0162f9/up : msg.payload : buffer[8]
[ 17, 10, 0, 19, 0, 85, 32, 5 ]
In fact, to put it simply, I'm looking to translate Base64 into text
like that : "Ym9uam91cg==" = "Bonjour" with a nodered
bpi2008:
to put it simply, I'm looking to translate Base64 into text
like that : "Ym9uam91cg==" = "Bonjour" with a nodered
A base64 node does that
Or in a function node:
msg.payload = Buffer.from(msg.payload, 'base64').toString()
return msg
e.g:
Unfortunately, as i have said already, that data is NOT a string
Ok i understand Steven. Many thanks for all.