Convert my easyESP to ESPHome and need some help

I have 2 nocemcu’s with easyesp that I want to convert to esphome.
But I need a little help :slight_smile: below the configuration options I have in easyesp.
I have concerns about the type of switch and the syntax. But maybe it’s supereasy for other members?
the proces of compiling uploading and flashing I already know, but making a correct file with the settings below Im not sure of.

first one:
is a water meter, with temp/hum sensor and switches to control my fan speed.

pulse counter
GPIO-0 (d3)
debouce time 900mSec
counter Delta

name: ESP_tempHum
GPIO-10 D12

switch input
internal pullup
normal switch
GPIO-12 Fanspeed2  D6
GPIO-13	Fanspeed1  D7
GPIO-14 Fanspeed4  D5
GPIO-15 Fanspeed3  D8

second one:
2 DS18b20 temp sensors attached to my CV and an dht11 temp sensor for the room

name: RetourleidingCV
port: 28-ff-59-d7-43-16-3-d8

name: warmwaterCV
GPIO-0  D3
port: 28-ff-ea-2-6d-14-3-a8

dht11  D0

All of those components have clear example configs in their documentation:

For your switch input (switches are outputs in esphome and HA):

For your DS18b20 sensors

I would also recommend these sensors to keep an eye on your esp devices:

thanks for your advice.
The DHT examples are clear. But I had troubles with the dallas.
I have added status binary sensor and wifi strength :slight_smile:

this is my code:
in the esphome page it says online with a green bullet :slight_smile:
but when configuring it say wron password. and when checken the logs it displays:

INFO Connecting to (
WARNING Initial connection failed. The ESP might not be connected to WiFi yet (Error connecting to [Errno 113] No route to host). Re-Trying in 2 seconds

But I do not see what’s wrong. Is it possible that espeasy can work with the pins I have chosen but esphome not?

  name: esp_boven
  platform: ESP8266
  board: nodemcuv2

  ssid: "hidden"
  password: "hidden"

# Enable logging
  level: DEBUG

# Enable Home Assistant API
  password: 'hidden'
  password: 'hidden'

  - pin: D3 
  - platform: dht
    pin: GPIO16
      name: "waskamer Temperature"
      name: "waskamer Humidity"
    update_interval: 60s

  - platform: dallas
    address: 0xA803146D02EAFF28
    name: "Temperature CV_retour"
  - platform: dallas
    address: 0xD8031643D759FF28 
    name: "Temperature CV_warmwater"

  - platform: wifi_signal
    name: "WiFi Signal esp_boven"
    update_interval: 60s

  - platform: status
    name: "esp_boven Status"


Do you have the correct board type?
Do you have the correct SSID and wifi password?
Have you mapped the mac address to the static IP address in your router (if the address in not in the DHCP range)?
Is the static IP address you are trying to use free or is another device using it?

It took a while but it was booting in the end. and it is still working! wonderfull! thanks for your help.

You could try fast_connect. See the docs here, and note the disadvantage too.