# How to fix data from sensor?

**URL:** <https://discourse.nodered.org/t/how-to-fix-data-from-sensor/48106>\
**Category:** General\
**Created:** [7 July 2021 02:56 UTC](https://discourse.nodered.org/t/how-to-fix-data-from-sensor/48106 "2021-07-07T02:56:44Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![PNWw](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@PNWw](https://discourse.nodered.org/u/PNWw)\
**Post date:** [7 July 2021 02:56 UTC](https://discourse.nodered.org/t/how-to-fix-data-from-sensor/48106/1 "2021-07-07T02:56:44Z")

</div>

Hi,  
I received data from sensor. but I don't know type of data  
how can I do.

 ![Screenshot (301)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/d/adca1985f8371c9cdf8465a86eb71dd6e6700877.png)

---

<div class="post-metadata">

**Author:** ![Gunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gunner/32/43582_2.png) [@Gunner](https://discourse.nodered.org/u/Gunner)\
**Post date:** [7 July 2021 05:09 UTC](https://discourse.nodered.org/t/how-to-fix-data-from-sensor/48106/2 "2021-07-07T05:09:56Z")

</div>

Hello and Welcome to the forum.

> [@PNWw](#):
>
> but I don't know type of data

And we don't know type of sensor, or why it is coming in on a TCP node, or how that node, or the function one, is setup...

Please supply details about your issue so someone can better assist.

Thank you.

---

<div class="post-metadata">

**Author:** ![PNWw](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@PNWw](https://discourse.nodered.org/u/PNWw)\
**Post date:** [7 July 2021 06:32 UTC](https://discourse.nodered.org/t/how-to-fix-data-from-sensor/48106/3 "2021-07-07T06:32:01Z")

</div>

This is thickness sensor it used interface for data output Ethernet (TCP/IP) and transmission type is server/TCP.  
I want it to show the thickness value. But I don't understand what kind of data it is.  
please recommend me, Thank you.

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [7 July 2021 06:44 UTC](https://discourse.nodered.org/t/how-to-fix-data-from-sensor/48106/4 "2021-07-07T06:44:50Z")

</div>

You will have to find the datasheet for that specific sensor and read what data format it uses. Without that information it's going to be nearly impossible for anybody to help you with this.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [7 July 2021 06:57 UTC](https://discourse.nodered.org/t/how-to-fix-data-from-sensor/48106/5 "2021-07-07T06:57:44Z")

</div>

> [@PNWw](#):
>
> is thickness sensor

The Manufacturer / part number?

You are not helping us to help you.

---

<div class="post-metadata">

**Author:** ![PNWw](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@PNWw](https://discourse.nodered.org/u/PNWw)\
**Post date:** [7 July 2021 07:11 UTC](https://discourse.nodered.org/t/how-to-fix-data-from-sensor/48106/6 "2021-07-07T07:11:54Z")

</div>

I'm sorry  
This Thickness sensor of Micro epsilon  
[thicknessSENSOR (micro-epsilon.com)](https://www.micro-epsilon.com/download/manuals/man--thicknessSENSOR--en.pdf)  
I want to study but I don't understand.

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [7 July 2021 07:15 UTC](https://discourse.nodered.org/t/how-to-fix-data-from-sensor/48106/7 "2021-07-07T07:15:50Z")

</div>

OK, so you have the data sheet, you need to read it and try to work out how to decode the information.

Once you have tried if you still can't get it to work you can come back and explain clearly what you tried and how it didn't work and we might be able to help you fix it.

---

<div class="post-metadata">

**Author:** ![PNWw](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@PNWw](https://discourse.nodered.org/u/PNWw)\
**Post date:** [7 July 2021 07:47 UTC](https://discourse.nodered.org/t/how-to-fix-data-from-sensor/48106/8 "2021-07-07T07:47:50Z")

</div>

Yes' I have tried to read it and what I know about this is using ethernet protocol, whereas sensor is Server/TCP If I use its software I can see that it shows normal numeric values.  
I'm trying to track by using the red node instead of its software to show the values, but what I don't understand is what kind of data does it display, or what should I do so that it can display the values that match the values shown in its software.

Thank you

---

<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:** [7 July 2021 07:52 UTC](https://discourse.nodered.org/t/how-to-fix-data-from-sensor/48106/9 "2021-07-07T07:52:56Z")

</div>

Hi @PNWw

unfortunately I don't think anyone here will have a one-line answer that solves this for you.

The data sheet describes the data format it uses in a lot of detail. The task in hand is to spend some time using the data sheet to start picking apart the bytes the sensor is sending. That isn't something we can easily do for you.

I suspect the [node-red-contrib-buffer-parser (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-buffer-parser) node will be able to help - but you still need to translate the information from the data sheet about the data format into a configuration for that node.

---

<div class="post-metadata">

**Author:** ![PNWw](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@PNWw](https://discourse.nodered.org/u/PNWw)\
**Post date:** [7 July 2021 07:58 UTC](https://discourse.nodered.org/t/how-to-fix-data-from-sensor/48106/10 "2021-07-07T07:58:14Z")

</div>

Thank you.  
I will try to follow the instructions.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [5 September 2021 07:59 UTC](https://discourse.nodered.org/t/how-to-fix-data-from-sensor/48106/11 "2021-09-05T07:59:11Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
