# Fastest OneWire (ds18b20) update rate on Raspberry Pi

**URL:** <https://discourse.nodered.org/t/fastest-onewire-ds18b20-update-rate-on-raspberry-pi/16520>\
**Category:** General\
**Created:** [9 October 2019 21:20 UTC](https://discourse.nodered.org/t/fastest-onewire-ds18b20-update-rate-on-raspberry-pi/16520 "2019-10-09T21:20:21Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [13 October 2019 06:28 UTC](https://discourse.nodered.org/t/fastest-onewire-ds18b20-update-rate-on-raspberry-pi/16520/19 "2019-10-13T06:28:34Z")

</div>

A bit OT but I just have to say, I really like 1-wire. So reliable, so stable, set & forget...just works, been running since years now  
In my home automation I use this little thing since years, see below. It sits high up on our chimney and measures the ambient light. I use various averaged readings in my algorithms in NR to control

- awnings & shutters
- calculating +/- offsets relative sunset/sunrise for indoor lighting, all our facade and outdoor lighting around the house

I know, I could also have used a z-wave motion sensor with built-in light sensor, but hey, who want's to climb the roof just to change batteries now and then?

> **[Buy Light Sensor Analogue \[Version 1.2\] (light\_12) for 27,9 € at en.m.nu](https://en.m.nu/measuring-instruments/light-sensor-analogue-version-12)**
>
> Light Sensor Analogue \[Version 1.2\] (light\_12) for 27,9 € - The light sensor is built around the DS2450S and accommodates 2 analogue light sensors. Technical data: Should power supply with + 5v DC. Power consumption with 2 light sensors: approx. 3mA...

---

_[View the full topic](https://discourse.nodered.org/t/fastest-onewire-ds18b20-update-rate-on-raspberry-pi/16520)._
