WT32 ETH01 ESPHome + 1Wire multichannel DS18B20

I have actually my house’s „smart” system based on ESP8266. It can communicate only wifi. I would like to change it to cable. I’ve ordered this:

On this board I need 7 pins for 1wire(DS18B20) and 2pins for I2C.

I’ve tested it pin to pin. It works!

1. Connect your USB->TTL Flasher with your WT32-ETH01 (yes, RX and TX is crossed!!!)

USB->TTL //// WT32-ETH01
GND ------> GND
TX ------> RX0 (not RXD)
RX ------> TX0 (not RXD)
5V ------> 5V

Then only on the WT32-ETH01:
Connect the Pin “IO0” (next to RX0) and “GND” (next to IO0) together.

Example ESPHome yaml:

esphome:
  name: lanesp32
  platform: ESP32
  board: esp-wrover-kit

ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO0_IN
  phy_addr: 1
  power_pin: GPIO16


# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

i2c:
  sda: GPIO33
  scl: GPIO32
  scan: True
  id: bus_a  
  
dallas:
 - id: "dallas_hub_1"
   pin: GPIO15
   update_interval: 120s
sensor:
 - platform: dallas
   address: 0xBE0316A279608C28
   name: "Test temperature"
   id: temperature_test
   dallas_id: dallas_hub_1
   force_update: true
   filters:
   - median:
      window_size: 9
      send_every: 1
      send_first_at: 1
PINDS18B20Description
IO15OKStrapping PIN
IO14OK
IO12OK
IO4OK
IO2OK
IO5(RXD2)OK
IO17(TXD2)OK
IO32(CFG)OKSCL ok
IO33(485_EN)OKSDA ok

Sources:

https://community.home-assistant.io/t/how-i-installed-esphome-on-the-wt32-eth01/359027

https://github.com/ldijkman/WT32-ETH01-LAN-8720-RJ45-/blob/main/WT32_ETH01_V2.schematic.pdf

»