# Convert HEX to useful values?

**URL:** <https://discourse.nodered.org/t/convert-hex-to-useful-values/58620>\
**Category:** General\
**Created:** [18 February 2022 19:19 UTC](https://discourse.nodered.org/t/convert-hex-to-useful-values/58620 "2022-02-18T19:19:37Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Gawan](https://avatars.discourse-cdn.com/v4/letter/g/e9c0ed/32.png) [@Gawan](https://discourse.nodered.org/u/Gawan)\
**Post date:** [18 February 2022 19:39 UTC](https://discourse.nodered.org/t/convert-hex-to-useful-values/58620/4 "2022-02-18T19:39:39Z")

</div>

Ok, now I get decimal or integer values ... they do not mean anything but ok, first step done 🙂

The serial input looks like this:

24 24 57 0F 0E 24 01 00 E6 00 81 00 84 5B 27  
24 24 57 0F 0E 24 01 00 E4 00 81 00 84 5B 25  
24 24 57 0F 0E 24 01 00 E1 00 83 00 84 5B 24  
24 24 56 2D 0C FD 0D 04 0D 04 0D 02 0D 03 0D 04 0D 06 0D 01 0D 08 0D 02 0D 05 0C FE 0D 06 0C FB 0D 0F 0C FC 76 FE D5 02 63 14 0E 00 95  
24 24 58 28 01 E4 00 01 00 03 00 03 00 03 00 02 00 03 00 00 00 00 00 01 00 01 00 01 00 00 00 05 00 02 00 03 00 03 00 CC  
24 24 57 0F 0E 24 01 00 E4 00 83 00 84 5B 27

How do I tell my nodes to act differently if 242457 shows up or 242458 shows up .... do I have to use two different serial nodes ?

---

_[View the full topic](https://discourse.nodered.org/t/convert-hex-to-useful-values/58620)._
