# Ds18b20 Node-red-piervin-sensor-wired not work on rpi zero wh with node red 1.02

**URL:** <https://discourse.nodered.org/t/ds18b20-node-red-piervin-sensor-wired-not-work-on-rpi-zero-wh-with-node-red-1-02/17241>\
**Category:** General\
**Created:** [28 October 2019 17:17 UTC](https://discourse.nodered.org/t/ds18b20-node-red-piervin-sensor-wired-not-work-on-rpi-zero-wh-with-node-red-1-02/17241 "2019-10-28T17:17:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![devifast](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@devifast](https://discourse.nodered.org/u/devifast)\
**Post date:** [28 October 2019 17:17 UTC](https://discourse.nodered.org/t/ds18b20-node-red-piervin-sensor-wired-not-work-on-rpi-zero-wh-with-node-red-1-02/17241/1 "2019-10-28T17:17:17Z")

</div>

ds18b20 node-red-piervin-sensor-wired not work on rpi zero wh with raspbian stretch lite and node red 1.02 after update from node red 1.0.On rpi3b+ its work. I change many sensors and 1-wire pin but no effect.  
I show sensor id on dashboard but not temperature.  
please help me  
Sorry for my bad english!

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [28 October 2019 17:29 UTC](https://discourse.nodered.org/t/ds18b20-node-red-piervin-sensor-wired-not-work-on-rpi-zero-wh-with-node-red-1-02/17241/2 "2019-10-28T17:29:53Z")

</div>

This is a forum, where other people post answers to help you.

Posting your email address publicly isn’t advised.

> [@devifast](#):
>
> node-red-piervin-sensor-wired

Have you followed the instructions in the readme?

---

<div class="post-metadata">

**Author:** ![devifast](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@devifast](https://discourse.nodered.org/u/devifast)\
**Post date:** [28 October 2019 17:34 UTC](https://discourse.nodered.org/t/ds18b20-node-red-piervin-sensor-wired-not-work-on-rpi-zero-wh-with-node-red-1-02/17241/3 "2019-10-28T17:34:00Z")

</div>

I've tried all the nodes I've worked with so far, but it only shows me the sensor number.  
On RPI3B+ no problems with same configuration of software.

---

<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:** [28 October 2019 17:37 UTC](https://discourse.nodered.org/t/ds18b20-node-red-piervin-sensor-wired-not-work-on-rpi-zero-wh-with-node-red-1-02/17241/4 "2019-10-28T17:37:04Z")

</div>

Set a flow up as shown in the node's readme and show us what you get in the debug node.

---

<div class="post-metadata">

**Author:** ![devifast](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@devifast](https://discourse.nodered.org/u/devifast)\
**Post date:** [28 October 2019 18:06 UTC](https://discourse.nodered.org/t/ds18b20-node-red-piervin-sensor-wired-not-work-on-rpi-zero-wh-with-node-red-1-02/17241/6 "2019-10-28T18:06:55Z")

</div>

My RPI's in the office, I'll be able to say tomorrow.  
Thank you very much for your reply in such a short time.

---

<div class="post-metadata">

**Author:** ![devifast](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@devifast](https://discourse.nodered.org/u/devifast)\
**Post date:** [29 October 2019 10:28 UTC](https://discourse.nodered.org/t/ds18b20-node-red-piervin-sensor-wired-not-work-on-rpi-zero-wh-with-node-red-1-02/17241/7 "2019-10-29T10:28:46Z")

</div>

![Screenshot%20(3)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/0/0e915e59efea7e8faf20a14f895640e18121979c.png) ![Screenshot%20(4)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/a/ab2d3b456fb07a262259121e8b123edf5979d8d6.png) !

---

<div class="post-metadata">

**Author:** ![kuema](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kuema/32/6542_2.png) [@kuema](https://discourse.nodered.org/u/kuema)\
**Post date:** [29 October 2019 10:34 UTC](https://discourse.nodered.org/t/ds18b20-node-red-piervin-sensor-wired-not-work-on-rpi-zero-wh-with-node-red-1-02/17241/8 "2019-10-29T10:34:22Z")

</div>

Your node output contains an object with `id` and `temperature`. You need to add a change node to get the temperature. Set `msg.payload` to `msg.payload.temperature`, that should do the trick.

---

<div class="post-metadata">

**Author:** ![devifast](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@devifast](https://discourse.nodered.org/u/devifast)\
**Post date:** [29 October 2019 14:13 UTC](https://discourse.nodered.org/t/ds18b20-node-red-piervin-sensor-wired-not-work-on-rpi-zero-wh-with-node-red-1-02/17241/9 "2019-10-29T14:13:07Z")

</div>

Thanks.

 ![Screenshot%20(6)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/2d6baa4837a0f89c5aa5741faf130898d94b50fd.png) ![Screenshot%20(7)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/c/c045fcdc15c27c6a2136347b176dfc08dd3bcc33.png)

---

<div class="post-metadata">

**Author:** ![devifast](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@devifast](https://discourse.nodered.org/u/devifast)\
**Post date:** [22 February 2022 15:12 UTC](https://discourse.nodered.org/t/ds18b20-node-red-piervin-sensor-wired-not-work-on-rpi-zero-wh-with-node-red-1-02/17241/10 "2022-02-22T15:12:42Z")

</div>

Hi, how i do this in function node?  
This is my function code.

```auto
msg.payload = Number(msg.payload);
msg.payload = Number(msg.payload.toFixed(0));
msg.topic = "pool_temp"
return msg;

```

I cannot change msg.payload to msg.payload.temperature.  
I want just to avoid change node. Sorry for bad english.  
Thanks.
