# Onewire sensors: read all out

**URL:** <https://discourse.nodered.org/t/onewire-sensors-read-all-out/48440>\
**Category:** General\
**Created:** [15 July 2021 07:03 UTC](https://discourse.nodered.org/t/onewire-sensors-read-all-out/48440 "2021-07-15T07:03:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![binderth](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/binderth/32/35124_2.png) [@binderth](https://discourse.nodered.org/u/binderth)\
**Post date:** [15 July 2021 07:03 UTC](https://discourse.nodered.org/t/onewire-sensors-read-all-out/48440/1 "2021-07-15T07:03:27Z")

</div>

I'd like to read out all my onewire sensors at once, but only get one?

```auto
[{"id":"d6d27eeb.c278a8","type":"inject","z":"97b191db.235b1","d":true,"name":"Temps","props":[],"repeat":"6","crontab":"","once":true,"onceDelay":0.1,"topic":"","x":400,"y":200,"wires":[["11c1a21e.e71a3e"]]},{"id":"11c1a21e.e71a3e","type":"owfs","z":"97b191db.235b1","name":"1-wire","uncached":false,"mode":"read","host":"192.168.78.10","port":4304,"paths":["28.282DE9050000/temperature","28.34A2E9050000/temperature","28.7A3BEB050000/temperature","28.EEA8E9050000/temperature","28.5901EB050000/temperature","28.DD2BE9050000/temperature","28.D3DBEA050000/temperature","26.E1CD92010000/temperature"],"x":650,"y":200,"wires":[["229dbc37.39ee5c"]]},{"id":"229dbc37.39ee5c","type":"debug","z":"97b191db.235b1","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":880,"y":200,"wires":[]}]

```

This leads to multiple read-outs from the last sensor:

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/d/6d6981b90ccb72fc8c9718e0ed2bbbaf11acddf9.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:** [15 July 2021 08:19 UTC](https://discourse.nodered.org/t/onewire-sensors-read-all-out/48440/2 "2021-07-15T08:19:34Z")

</div>

Since your flow requires the sensors on your network, this is all we see... so no idea how to even begin...

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/e/ee388f371185df657c0905c2a53055f643f81236.png)

---

<div class="post-metadata">

**Author:** ![binderth](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/binderth/32/35124_2.png) [@binderth](https://discourse.nodered.org/u/binderth)\
**Post date:** [15 July 2021 08:26 UTC](https://discourse.nodered.org/t/onewire-sensors-read-all-out/48440/3 "2021-07-15T08:26:27Z")

</div>

Sorry, I guess, you have to have onewire setup and running for this, yes!

because, I can check all onewire-endpoints right here:

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/8/88c3737f02360edce94124349b3bd51da4b14599.png)

And I expected to have the selected nodes to be given out as individual msg.topics/msg.payloads, but as it seems, they're read out and only the last one gets spit out...?  
but perhaps I did something wrong, that's why I'm asking.

---

<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:** [15 July 2021 08:29 UTC](https://discourse.nodered.org/t/onewire-sensors-read-all-out/48440/4 "2021-07-15T08:29:53Z")

</div>

As this is a node specific issue, perhaps best to check the contribs git-hub page... I found a similar issue there...

> <https://github.com/njh/node-red-contrib-owfs/issues/24>
>
> When I choose, for example, 3 different temperatur-probes in node-properties in …the table I get only the measurement of one probe, but this 3 times. 
> It's always the last choosen probe in the table.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [15 July 2021 08:34 UTC](https://discourse.nodered.org/t/onewire-sensors-read-all-out/48440/5 "2021-07-15T08:34:16Z")

</div>

When your node returns data, stick a `debug` node (set to show COMPLETE MESSAGE) and paste that.

Not a screen shot!

This **may** help people understand what is going on.

---

<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:** [15 July 2021 08:49 UTC](https://discourse.nodered.org/t/onewire-sensors-read-all-out/48440/6 "2021-07-15T08:49:13Z")

</div>

Also see my post in [your other thread](https://discourse.nodered.org/t/adding-a-delay-to-injections/48439/9). It is best not to start two closely related threads at the same time, it just causes confusion.

---

<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:** [13 September 2021 08:49 UTC](https://discourse.nodered.org/t/onewire-sensors-read-all-out/48440/7 "2021-09-13T08:49:41Z")

</div>

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