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

**URL:** https://discourse.nodered.org/t/how-to-decoding-data-from-payload-to-string-its-for-show-sensor-informacion/897
**Category:** General
**Created:** [18 June 2018 21:02 UTC](https://discourse.nodered.org/t/how-to-decoding-data-from-payload-to-string-its-for-show-sensor-informacion/897 "2018-06-18T21:02:52Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![martin\_utzac1](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@martin\_utzac1](https://discourse.nodered.org/u/martin_utzac1)
#### Post date: [18 June 2018 21:02 UTC](https://discourse.nodered.org/t/how-to-decoding-data-from-payload-to-string-its-for-show-sensor-informacion/897/1 "2018-06-18T21:02:52Z")

</div>

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

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [18 June 2018 21:18 UTC](https://discourse.nodered.org/t/how-to-decoding-data-from-payload-to-string-its-for-show-sensor-informacion/897/2 "2018-06-18T21:18:22Z")

</div>

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](http://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](https://flows.nodered.org/node/node-red-node-base64)

---

<div class="post-metadata">

### Author: ![martin\_utzac1](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@martin\_utzac1](https://discourse.nodered.org/u/martin_utzac1)
#### Post date: [18 June 2018 21:22 UTC](https://discourse.nodered.org/t/how-to-decoding-data-from-payload-to-string-its-for-show-sensor-informacion/897/3 "2018-06-18T21:22:49Z")

</div>

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

---

<div class="post-metadata">

### Author: ![martin\_utzac1](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@martin\_utzac1](https://discourse.nodered.org/u/martin_utzac1)
#### Post date: [18 June 2018 21:23 UTC](https://discourse.nodered.org/t/how-to-decoding-data-from-payload-to-string-its-for-show-sensor-informacion/897/4 "2018-06-18T21:23:43Z")

</div>

> **[node-red-node-base64](https://flows.nodered.org/node/node-red-node-base64)**
>
> A Node-RED node to pack and unpack objects to base64 format

  
i dont know howit works

---

<div class="post-metadata">

### Author: ![martin\_utzac1](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@martin\_utzac1](https://discourse.nodered.org/u/martin_utzac1)
#### Post date: [18 June 2018 21:25 UTC](https://discourse.nodered.org/t/how-to-decoding-data-from-payload-to-string-its-for-show-sensor-informacion/897/5 "2018-06-18T21:25:07Z")

</div>

i tried to use an example js but it doesnt works

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [18 June 2018 21:26 UTC](https://discourse.nodered.org/t/how-to-decoding-data-from-payload-to-string-its-for-show-sensor-informacion/897/6 "2018-06-18T21:26:10Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![martin\_utzac1](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@martin\_utzac1](https://discourse.nodered.org/u/martin_utzac1)
#### Post date: [18 June 2018 21:30 UTC](https://discourse.nodered.org/t/how-to-decoding-data-from-payload-to-string-its-for-show-sensor-informacion/897/7 "2018-06-18T21:30:09Z")

</div>

> [@knolleary](#):
>
> 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.

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

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [18 June 2018 21:33 UTC](https://discourse.nodered.org/t/how-to-decoding-data-from-payload-to-string-its-for-show-sensor-informacion/897/8 "2018-06-18T21:33:23Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [19 June 2018 07:02 UTC](https://discourse.nodered.org/t/how-to-decoding-data-from-payload-to-string-its-for-show-sensor-informacion/897/9 "2018-06-19T07:02:15Z")

</div>

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.
