How to make a thermostat with ESP8266 ESP-01S 5V and BS18B20?

You will need a relay module (ESP01-S+Relay) and a BS18B20 temperature probe, as well as a 4.7k resistor, cables, and a 5V power supply.

How to do it?

  1. At the very beginning, upload the Tasmota to the ESP-01S and connect to your WIFI network. It is best to immediately assign a static IP address to the device.

  2. Then you need to solder the DS18B20 sensor pins to the base as shown in colors in the photo. A-red (+3.3V), B-yellow signal, C-black ground.
    DS18x20 temperature sensor - Tasmota

  3. Insert the WIFI module into the socket

  4. Connect the power supply

  5. Configure the module

  6. Configure MQTT

  7. Open the console and set:
    rule1 ON DS18B20#temperature<26 DO Power1 1 ENDON ON DS18B20#temperature>27 DO Power1 0 ENDON
    rule1 on
    This video will be helpful:
    https://www.youtube.com/watch?v=jrKwxNhI6D8
    All components can be purchased on aliexpress.

This is what it looks like after assembly:

What “tape” is this?

And what “cradle”?

Hi - this appears to be for Tasmota - not ESPHome. Have you posted to the wrong forums???

translator error - already fixed :slight_smile:

That’s true. I’m new here, please forgive my novice oversight.
Nevertheless, the idea of making a thermostat from such simple elements will also be useful in this section.