How to decoding data from payload to string , its for show sensor informacion

#1

please helpme to show informacion of a sensor please on node-red

i have troubles converting from data base64 to string it is my test 1

0 Likes

#2

Hi,

please share some details of what you have got and what you have tried. Without that we won’t be able to help.

If you search for base64 on flows.nodered.org you’ll find some nodes that can help with any such conversion - for example https://flows.nodered.org/node/node-red-node-base64

0 Likes

#3

hi knolleary
my problem is that my node-re recived sensor dato on base64, and i want to see them on decimal, only can watch base64 values

0 Likes

#4


i dont know howit works

0 Likes

#5

i tried to use an example js but it doesnt works

0 Likes

#6

If you don’t share any details of what you’ve tried, we can’t help. Just saying it doesn’t work without sharing anything means we can’t see what you are doing.

Share an example piece of data you have and what you expect it to convert to.

0 Likes

#7

i am really novato on this plattaform but i have tried use
https://groups.google.com/forum/#!msg/node-red/TOelMxZgP5g/AbSE4L8QAwAJ

0 Likes

#8

A link to another thread from two years ago doesn’t really tell us what your flow looks like or any details.

Sorry, until you share any details of what you’ve actually tried or what your data/messages look like, I won’t be able to help.

0 Likes

#9

Feed the data you have into a debug node and paste the resulting debug output here. Without that we don’t know exactly what you are trying to deal with.

0 Likes