Flashing 2 Relay Board With ESPHome

Has anyone flashed this board with ESPHome?

Yes I have it works fine. You need to use UART to control the relays. Search in here there’s a few posts detailing it.

This is excerpt from one of mine:

logger:
  baud_rate: 0
api:
ota:
uart:
  baud_rate: 115200
  tx_pin: GPIO1
  rx_pin: GPIO3

binary_sensor:
  - platform: status
    name: "PC Remote ESP Status"

switch:
  - platform: template
    id: relay1
    turn_on_action:
      - uart.write: [0xA0, 0x01, 0x01, 0xA2]
    turn_off_action:
      - uart.write: [0xA0, 0x01, 0x00, 0xA1]
    
  - platform: template
    id: relay2
    turn_on_action:
      - uart.write: [0xA0, 0x02, 0x01, 0xA3]
    turn_off_action:
      - uart.write: [0xA0, 0x02, 0x00, 0xA2]

Yep. Look at this project by Frenck! https://frenck.dev/diy-smart-doorbell-for-just-2-dollar/