# Problem Using a Button with DS18B20 Node

**URL:** <https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674>\
**Category:** General\
**Created:** [7 July 2020 18:02 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674 "2020-07-07T18:02:18Z")\
**Posts on this page:** 16\
**Page:** 2

<div class="post-metadata">

**Author:** ![oncdastan](https://avatars.discourse-cdn.com/v4/letter/o/34f0e0/32.png) [@oncdastan](https://discourse.nodered.org/u/oncdastan)\
**Post date:** [8 July 2020 15:36 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674/22 "2020-07-08T15:36:13Z")

</div>

![2020-07-08-183433_1920x1080_scrot](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/3/53a9d631b0e4ea9f7d9ec2c995dc1990ec514687.png)

---

<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:** [8 July 2020 15:40 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674/23 "2020-07-08T15:40:19Z")

</div>

What sort of Pi is it?  
Are you running the browser on the pi? If so does it make any difference if you shut down the browse and any other GUI apps you have open?

---

<div class="post-metadata">

**Author:** ![oncdastan](https://avatars.discourse-cdn.com/v4/letter/o/34f0e0/32.png) [@oncdastan](https://discourse.nodered.org/u/oncdastan)\
**Post date:** [8 July 2020 15:41 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674/24 "2020-07-08T15:41:26Z")

</div>

Raspberry Pi 4 B+. I don't have any other GUI apps. I still haven't downloaded Chrome either.

---

<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:** [8 July 2020 15:56 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674/25 "2020-07-08T15:56:00Z")

</div>

OK, should be ok on a 4. In that case I think you are right, the node is doing something silly. As I said I use owserver and the owfs node and don't have any such problems. Whether one of the other 1-wire nodes is better than the one you have tried I don't know. Possibly worth trying them. It seems that one is a dead loss.

---

<div class="post-metadata">

**Author:** ![oncdastan](https://avatars.discourse-cdn.com/v4/letter/o/34f0e0/32.png) [@oncdastan](https://discourse.nodered.org/u/oncdastan)\
**Post date:** [8 July 2020 15:57 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674/26 "2020-07-08T15:57:46Z")

</div>

In the node options, it has an Array checkbox. Maybe receiving them as a single array could help it?

Edit: Didn't work. Still the same.

---

<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:** [8 July 2020 16:05 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674/27 "2020-07-08T16:05:01Z")

</div>

Not surprised, ditch it and go another way.

---

<div class="post-metadata">

**Author:** ![oncdastan](https://avatars.discourse-cdn.com/v4/letter/o/34f0e0/32.png) [@oncdastan](https://discourse.nodered.org/u/oncdastan)\
**Post date:** [8 July 2020 16:11 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674/28 "2020-07-08T16:11:44Z")

</div>

Can I do it your way without internet connection? You mentioned a server.

---

<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:** [8 July 2020 16:22 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674/29 "2020-07-08T16:22:32Z")

</div>

You don't need internet access, owserver is a bit of software you run on the pi. There is a significant learning curve though. I would try the other ds18b20 nodes first. Or maybe start a new thread asking for advice on the best DS18B20 node to use. Refer there to this thread saying you have problems with this one.

---

<div class="post-metadata">

**Author:** ![oncdastan](https://avatars.discourse-cdn.com/v4/letter/o/34f0e0/32.png) [@oncdastan](https://discourse.nodered.org/u/oncdastan)\
**Post date:** [8 July 2020 16:24 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674/30 "2020-07-08T16:24:31Z")

</div>

Thanks. I'll do that.

Are there any software or other browsers that you'd recommend me to use for the user interface part?

---

<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:** [8 July 2020 16:43 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674/31 "2020-07-08T16:43:46Z")

</div>

Is there a problem with UI s/w?

---

<div class="post-metadata">

**Author:** ![oncdastan](https://avatars.discourse-cdn.com/v4/letter/o/34f0e0/32.png) [@oncdastan](https://discourse.nodered.org/u/oncdastan)\
**Post date:** [8 July 2020 16:50 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674/32 "2020-07-08T16:50:57Z")

</div>

Not really. Just wanted to ask since you asked if I had any other software for that.

---

<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:** [8 July 2020 16:57 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674/33 "2020-07-08T16:57:37Z")

</div>

Do you mean which browser to use or what?

---

<div class="post-metadata">

**Author:** ![oncdastan](https://avatars.discourse-cdn.com/v4/letter/o/34f0e0/32.png) [@oncdastan](https://discourse.nodered.org/u/oncdastan)\
**Post date:** [8 July 2020 17:08 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674/34 "2020-07-08T17:08:01Z")

</div>

Yeah, or a software, if there is any.

---

<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:** [8 July 2020 20:09 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674/35 "2020-07-08T20:09:05Z")

</div>

I haven't any experience of GUI s/w on the PI, all mine are headless servers running Raspbian Lite. I do all the node-red work with the browser on the PC.  
You do realise that your problems are nothing to do with the GUI or the display or the Switch don't you? It is the fact that the sensor node is hogging the processor for seconds at a time, so when you click the switch, node red doesn't even know you have done it till the sensor node has completed.

---

<div class="post-metadata">

**Author:** ![oncdastan](https://avatars.discourse-cdn.com/v4/letter/o/34f0e0/32.png) [@oncdastan](https://discourse.nodered.org/u/oncdastan)\
**Post date:** [10 July 2020 15:15 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674/36 "2020-07-10T15:15:27Z")

</div>

I switched to this one:

> **[node-red-contrib-sensor-ds18b20](https://flows.nodered.org/node/node-red-contrib-sensor-ds18b20)**
>
> Node-RED node to get temperature in centigrades from DS18B20 sensors

It greatly reduced the delay for the switch.

---

<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:** [24 July 2020 15:15 UTC](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674/37 "2020-07-24T15:15:29Z")

</div>

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

[Previous page](https://discourse.nodered.org/t/problem-using-a-button-with-ds18b20-node/29674.md?page=1)
