Use WeMos D1 Mini and DS18B20 Sensor Monitor Temperature on Home Assistant

Connect WeMos D1 Mini (ESP-8266) and DS18B20 Temperature Sensor.

ESP8266 WeMos D1 Mini DS18B20

Configure Home Assistant with ESPHome Add-on.

esphome:
  name: esp8266_wemos_d1_mini
  platform: ESP8266
  board: d1_mini

wifi:
  ssid: "your_ssid"
  password: "your_password"
  fast_connect: true
  manual_ip:
    static_ip: 192.168.1.32
    gateway: 192.168.1.1
    subnet: 255.255.255.0
    dns1: 192.168.1.1

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

# DS18B20 Temperature Sensor
dallas:
  - pin: D5
  
sensor:
  - platform: dallas
    address: 0x15000006F3A18128
    name: "WeMos D1 Mini Temperature"