Akriss
(kris)
July 17, 2024, 2:36pm
102
Yes, and still working well. Even after the One Wire dallas upgrade.
#Old way, wrong now
#dallas:
# - pin: D6
# update_interval: 10s
one_wire:
- platform: gpio
pin: D6
sensor:
- platform: dallas_temp
address: 0xB30069E200001928
name: "Stepper box temp"
update_interval: 10s
- platform: dallas_temp
address: 0xDD01142FDF00C728
name: "Temperature East outside"
update_interval: 10s
- platform: dallas_temp
address: 0xE00316554741FF28
name: "Boiler in temperature near"
update_interval: 10s
- platform: dallas_temp
address: 0x7B04165130D5FF28
name: "Boiler out temperature near"
update_interval: 10s
- platform: dallas_temp
address: 0x5E02131A7D65AA28
name: "Boiler out temperature far"
update_interval: 10s
- platform: dallas_temp
address: 0x4902131A6393AA28
name: "Boiler in temperature far"
update_interval: 10s
Logs:
[10:32:19][I][app:100]: ESPHome version 2024.6.6 compiled on Jul 4 2024, 16:53:04
....
[10:32:19][C][logger:189]: Hardware UART: UART0
[10:32:19][C][gpio.one_wire:020]: GPIO 1-wire bus:
[10:32:19][C][gpio.one_wire:021]: Pin: GPIO12
[10:32:19][C][gpio.one_wire:080]: Found devices:
[10:32:19][C][gpio.one_wire:082]: 0x5e02131a7d65aa28 (DS18B20)
[10:32:19][C][gpio.one_wire:082]: 0x4902131a6393aa28 (DS18B20)
[10:32:19][C][gpio.one_wire:082]: 0xb30069e200001928 (DS18B20)
[10:32:19][C][gpio.one_wire:082]: 0xdd01142fdf00c728 (DS18B20)
[10:32:19][C][gpio.one_wire:082]: 0xe00316554741ff28 (DS18B20)
[10:32:19][C][gpio.one_wire:082]: 0x7b04165130d5ff28 (DS18B20)
[10:32:19][D][dallas.temp.sensor:054]: 'Temperature East outside': Got Temperature=28.0°C
[10:32:19][D][sensor:093]: 'Temperature East outside': Sending state 28.00000 °C with 1 decimals of accuracy
Hope itâs of help.
Curious which sensors youâre usingâŠ
Akriss
(kris)
August 10, 2024, 1:47pm
104
5 x Waterproof encased DS18b20 sensors. And one regular in the component box.
That gizmo was assembled 2-3 years ago, so I can not remember where I bought them.
Titou43
January 29, 2025, 9:36pm
105
Hello
I have same problems of this posts with an Esp32âŠ
please look at here :
opened 08:33AM - 02 Jan 25 UTC
### The problem
Hello
I use Est-Poe-32 (with power by POE) and so the ethe⊠rnet ....
I am trying to connect many DS18B20 Dallas but impossible to have the Dallas DS18B20 online under 2 bus. It may be function but after a time (many hour, or a little day or one or many days the DS18B20 became NA and into the frontend and so into Home Assistant I have no value of temperature
I am not understanding where is the error/ the problem
The PCB is this :
https://shop.everythingsmart.io/products/est-poe-32-esp32-poe-development-board?srsltid=AfmBOorDnQ8CrK2taEHMfAglvfjhtK9l9N0qKI5YyhH7vDp29_ESWgHm
A solution I have found is to cut the power of the PCB (powered by POE) and reput power for to have the values of the temperature....but it function only for a time ....
Here a log when all function (when it not function, it appears into a line a message under Pin GPIOx "not devices found"
```
[09:11:58][I][app:100]: ESPHome version 2024.12.2 compiled on Dec 31 2024, 11:57:46
[09:11:58][C][logger:185]: Logger:
[09:11:58][C][logger:186]: Level: DEBUG
[09:11:58][C][logger:188]: Log Baud Rate: 115200
[09:11:58][C][logger:189]: Hardware UART: UART0
[09:11:58][C][gpio.one_wire:020]: GPIO 1-wire bus:
[09:11:58][C][gpio.one_wire:021]: Pin: GPIO13
[09:11:58][C][gpio.one_wire:080]: Found devices:
[09:11:58][C][gpio.one_wire:082]: 0xd03cfc0457a9b028 (DS18B20)
[09:11:58][C][gpio.one_wire:082]: 0x243cbd0457a54b28 (DS18B20)
[09:11:58][C][gpio.one_wire:082]: 0xb03c940457a26b28 (DS18B20)
[09:11:58][C][gpio.one_wire:020]: GPIO 1-wire bus:
[09:11:58][C][gpio.one_wire:021]: Pin: GPIO14
[09:11:58][C][gpio.one_wire:080]: Found devices:
[09:11:58][C][gpio.one_wire:082]: 0xce3c6404577d3028 (DS18B20)
[09:11:58][C][gpio.one_wire:082]: 0xe03ca9045790ba28 (DS18B20)
[09:11:58][C][gpio.one_wire:082]: 0x523cba045700c528 (DS18B20)
[09:11:58][C][dallas.temp.sensor:029]: Dallas Temperature Sensor:
[09:11:58][C][dallas.temp.sensor:034]: Address: 0xe03ca9045790ba28 (DS18B20)
[09:11:58][C][dallas.temp.sensor:035]: Resolution: 12 bits
[09:11:58][C][dallas.temp.sensor:036]: Update Interval: 120.0s
[09:11:58][C][dallas.temp.sensor:029]: Dallas Temperature Sensor:
[09:11:58][C][dallas.temp.sensor:034]: Address: 0xce3c6404577d3028 (DS18B20)
[09:11:58][C][dallas.temp.sensor:035]: Resolution: 12 bits
[09:11:58][C][dallas.temp.sensor:036]: Update Interval: 120.0s
[09:11:58][C][dallas.temp.sensor:029]: Dallas Temperature Sensor:
[09:11:58][C][dallas.temp.sensor:034]: Address: 0x523cba045700c528 (DS18B20)
[09:11:58][C][dallas.temp.sensor:035]: Resolution: 12 bits
[09:11:58][C][dallas.temp.sensor:036]: Update Interval: 120.0s
[09:11:58][C][dallas.temp.sensor:029]: Dallas Temperature Sensor:
[09:11:58][C][dallas.temp.sensor:034]: Address: 0x243cbd0457a54b28 (DS18B20)
[09:11:58][C][dallas.temp.sensor:035]: Resolution: 12 bits
[09:11:58][C][dallas.temp.sensor:036]: Update Interval: 120.0s
[09:11:58][C][dallas.temp.sensor:029]: Dallas Temperature Sensor:
[09:11:58][C][dallas.temp.sensor:034]: Address: 0xb03c940457a26b28 (DS18B20)
[09:11:58][C][dallas.temp.sensor:035]: Resolution: 12 bits
[09:11:58][C][dallas.temp.sensor:036]: Update Interval: 120.0s
[09:11:58][C][dallas.temp.sensor:029]: Dallas Temperature Sensor:
[09:11:58][C][dallas.temp.sensor:034]: Address: 0xd03cfc0457a9b028 (DS18B20)
[09:11:58][C][dallas.temp.sensor:035]: Resolution: 12 bits
[09:11:58][C][dallas.temp.sensor:036]: Update Interval: 120.0s
[09:11:58][C][ethernet:326]: Ethernet:
[09:11:58][C][ethernet:515]: IP Address: 192.168.1.112
[09:11:58][C][ethernet:516]: Hostname: 'surveillance-temperatures'
[09:11:58][C][ethernet:517]: Subnet: 255.255.255.0
[09:11:58][C][ethernet:518]: Gateway: 192.168.1.1
[09:11:58][C][ethernet:523]: DNS1: 0.0.0.0
[09:11:58][C][ethernet:524]: DNS2: 0.0.0.0
[09:11:58][C][ethernet:536]: MAC Address: 64:B7:08:70:53:14
[09:11:58][C][ethernet:537]: Is Full Duplex: YES
[09:11:58][C][ethernet:538]: Link Speed: 100
[09:11:58][C][ethernet:345]: Power Pin: 12
[09:11:58][C][ethernet:347]: MDC Pin: 23
[09:11:58][C][ethernet:348]: MDIO Pin: 18
[09:11:58][C][ethernet:349]: PHY addr: 0
[09:11:58][C][ethernet:351]: Type: LAN8720
[09:11:58][C][web_server:153]: Web Server:
[09:11:58][C][web_server:154]: Address: 192.168.1.112:80
[09:11:58][C][mdns:116]: mDNS:
[09:11:58][C][mdns:117]: Hostname: surveillance-temperatures
[09:11:58][C][esphome.ota:073]: Over-The-Air updates:
[09:11:58][C][esphome.ota:074]: Address: 192.168.1.112:3232
[09:11:58][C][esphome.ota:075]: Version: 2
[09:11:58][C][esphome.ota:078]: Password configured
[09:11:58][C][safe_mode:018]: Safe Mode:
[09:11:58][C][safe_mode:019]: Boot considered successful after 60 seconds
[09:11:58][C][safe_mode:021]: Invoke after 10 boot attempts
[09:11:58][C][safe_mode:022]: Remain in safe mode for 300 seconds
[09:11:58][C][api:140]: API Server:
[09:11:58][C][api:141]: Address: 192.168.1.112:6053
[09:11:58][C][api:143]: Using noise encryption: YES
```
I share my YAML here....
For the wiring :
All the DS18B20 are connected at the same positive (+5v) and same ground (GND) from the PCB (Est-Poe-32)
The signal of 3 x DS18B20 are connected in the GPIO13 via a resistor 4,7 kohm between the power (5v) and the signal
The signal of the other 3 x DS18B20 are connected in the GPIO14 via a resistor 4,7 kohm between the power (5v) and the signal
### Which version of ESPHome has the issue?
2024.12.2
### What type of installation are you using?
Home Assistant Add-on
### Which version of Home Assistant has the issue?
2024.1.5
### What platform are you using?
ESP32
### Board
Est-Po-32
### Component causing the issue
One Wire
### YAML Config
```yaml
esphome:
name: "surveillance-temperatures"
friendly_name: Surveillances des températures
esp32:
board: esp32dev
framework:
type: esp-idf
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "HIDDEN FOR FORUM="
ota:
- platform: esphome
password: "HIDDEN FOR FORUM"
# wifi: #WiFi cannot be active at the same time as Ethernet, but useful to keep as a fallback
# ssid: !secret wifi_ssid
# password: !secret wifi_password
# # Enable fallback hotspot (captive portal) in case wifi connection fails
# ap:
# ssid: "Est-Poe-32 Fallback Hotspot"
# password: "HIDDEN FOR FORUM"
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
phy_addr: 0
power_pin: GPIO12
manual_ip:
# Set this to the IP of the ESP
static_ip: HIDDEN FOR FORUM
# Set this to the IP address of the router. Often ends with .1
gateway: HIDDEN FOR FORUM
# The subnet of the network. 255.255.255.0 works for most home networks.
subnet: HIDDEN FOR FORUM
# DS18B20 Suivi des Temperatures Sensor
one_wire:
- platform: gpio
pin: GPIO13 # entrée pour les sondes Chauffage
id: bus1_garage
- platform: gpio
pin: GPIO14 # entrée pour les sondes Cellier
id: bus2_cellier
sensor:
- platform: dallas_temp
one_wire_id: bus2_cellier
address: 0xe03ca9045790ba28
name: "temperature 1 Cellier"
update_interval: 120s
- platform: dallas_temp
one_wire_id: bus2_cellier
address: 0xce3c6404577d3028
name: "temperature 2 Réfrigérateur"
update_interval: 120s
- platform: dallas_temp
one_wire_id: bus2_cellier
address: 0x523cba045700c528
name: "temperature 3 Congélateur"
update_interval: 120s
- platform: dallas_temp
one_wire_id: bus1_garage
address: 0x243cbd0457a54b28
name: "temperature 5 Radiateurs"
update_interval: 120s
- platform: dallas_temp
one_wire_id: bus1_garage
address: 0xb03c940457a26b28
name: "temperature 6 Plancher départ"
update_interval: 120s
- platform: dallas_temp
one_wire_id: bus1_garage
address: 0xd03cfc0457a9b028
name: "temperature 7 Plancher retour"
update_interval: 120s
web_server:
port: 80
```
### Anything in the logs that might be useful for us?
_No response_
### Additional information
_No response_
gedger
(Gedger)
March 15, 2025, 4:13pm
106
Frustratingly after updating to the latest version of ESPHome I am now once again seeing these errors. Foolishly I didnât make a note of the version it was working against but I was using
source:
type: git
url: https://github.com/ssieb/esphome
ref: ds
components:
- dallas
refresh: 1min
Which no longer exists so didnât have any option. Arg, sometimes I hate ESPHome and the Dallas sensors.
I had the same issue starting on March 3rd.
After trying to find an issued with the hardware, I tried downgrading to the last version before the failure, which was 2025.2.1
An it worked. Itâs now running ad before.
gedger
(Gedger)
April 3, 2025, 11:18am
108
For info the Devs have now fixed the issues in the development version but Iâm not sure what release this fix will be inâŠ
Iâve got 6 cheap DS18B20 sensors, with an esp32. After reading posts suggesting that one_wire may not work well with some esp32 models, I ended up creating 6 one_wire busses. It all worked well, apart from the relatively frequent scratchpad checksum errors. Once I fitted a 2kΩ pullip resistor (I didnât have 4.7kΩ) between each data pin and 3.3V - almost all of the errors resolved. I had assumed the internal pull-up would be adequate but it wasnât.
sensor:
- platform: dallas_temp
one_wire_id: x5
name: ***whatever, I'm using 6 of these***
update_interval: 10s
filters:
- filter_out: NaN
one_wire:
- platform: gpio
pin: GPIO32
id: ***whatever x6**
jkosharek
(Joe Kosharek)
April 17, 2025, 12:08pm
111
@James.a.simpson are you doing them each on their own GPIO Pin?
erapade
(Erapade)
April 20, 2025, 2:05pm
112
As I understand, the internal pullup is not document but are said to be around 30 to 50 kohm. There are claims that it shall work with the internal but I would recommend to always us an external pullup
yup. Each on itâs own pin
1 Like
Still the same error here, running esp32 with two ds18b20