# Wrong value in serial

**URL:** <https://discourse.nodered.org/t/wrong-value-in-serial/3946>\
**Category:** General\
**Created:** [13 October 2018 01:46 UTC](https://discourse.nodered.org/t/wrong-value-in-serial/3946 "2018-10-13T01:46:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![karthhic](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/karthhic/32/3111_2.png) [@karthhic](https://discourse.nodered.org/u/karthhic)\
**Post date:** [13 October 2018 01:46 UTC](https://discourse.nodered.org/t/wrong-value-in-serial/3946/1 "2018-10-13T01:46:21Z")

</div>

![debug1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/7/787e24815ba66d278c44325d8ff9f3cb72d32cdc.png)  
my esp8266 reads the temperature sensor and print the output in serial.  
In arduino serial monitor the output is correct, but in node red its showing -127 all the time.

Thank you in advance,

Karthhic

---

<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:** [13 October 2018 08:39 UTC](https://discourse.nodered.org/t/wrong-value-in-serial/3946/2 "2018-10-13T08:39:48Z")

</div>

Show us what the node red log shows when you restart node red (the node-red-log command will show the log). Also show us how you have got the serial node configured (either a screenshot or export the node and paste here).

Are you running the serial monitor on the same machine that node-red is running on?

What OS are you running under.

Do you see a message in the debug node at the times you expect?

---

<div class="post-metadata">

**Author:** ![karthhic](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/karthhic/32/3111_2.png) [@karthhic](https://discourse.nodered.org/u/karthhic)\
**Post date:** [13 October 2018 09:56 UTC](https://discourse.nodered.org/t/wrong-value-in-serial/3946/3 "2018-10-13T09:56:36Z")

</div>

![debug2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/4/400b28fd1eca528025d70b7101d07bd0df547f97.png)

I am using Windows 10 the node-red is running in the same laptop.

an ESP8266 is sending serial messages to this computer connected using USB.

For the time being i created a webserver in the ESP8266 responding the temperature and node red is GET ing it using http request.

13 Oct 12:31:47 - [info] Started flows  
13 Oct 12:31:47 - [info] [sqlitedb:efd90b5c.51cee] opened C:\Users\User1\Documents\temperature.db ok  
13 Oct 12:31:47 - [info] serial port COM3 opened at 115200 baud 8N1  
13 Oct 12:32:47 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:33:47 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:34:47 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:35:47 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:36:47 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:37:47 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:38:47 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:39:47 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:40:47 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:41:47 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:42:47 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:43:47 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:44:47 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:45:47 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:46:47 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:46:58 - [error] serial port COM3 closed unexpectedly === \> I plugged out the cable.  
13 Oct 12:47:13 - [info] serial port COM3 opened at 115200 baud 8N1 === \> Connected back again.  
13 Oct 12:47:22 - [info] Stopping flows  
13 Oct 12:47:22 - [info] serial port COM3 closed === \> removed the block.  
13 Oct 12:47:22 - [info] Stopped flows  
13 Oct 12:47:22 - [info] Starting flows  
13 Oct 12:47:22 - [info] Started flows  
13 Oct 12:47:22 - [info] [sqlitedb:efd90b5c.51cee] opened C:\Users\User1\Documents\temperature.db ok  
13 Oct 12:48:23 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:49:22 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:50:22 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:51:22 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:52:22 - [warn] [http response:96389476.eddb5] No response object  
13 Oct 12:53:22 - [warn] [http response:96389476.eddb5] No response object

---

<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:** [13 October 2018 10:23 UTC](https://discourse.nodered.org/t/wrong-value-in-serial/3946/4 "2018-10-13T10:23:01Z")

</div>

Sorry I don't know about serial on Windows, hopefully someone else can help.

---

<div class="post-metadata">

**Author:** ![karthhic](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/karthhic/32/3111_2.png) [@karthhic](https://discourse.nodered.org/u/karthhic)\
**Post date:** [13 October 2018 10:50 UTC](https://discourse.nodered.org/t/wrong-value-in-serial/3946/5 "2018-10-13T10:50:11Z")

</div>

Hi,

I played with serial a lot in both windows and linux.

its giving the minimum value of the sensor.

i am using web server now.

[https://karthhic.github.io/Project1/myroom.html](https://karthhic.github.io/Project1/myroom.html)

Here is the output. I made it work in other way.
