Realtek RTL8710BN / WR2 flash question (SP22)

I have Teckin SP22 sockets with Realtek RTL8710BN/WR2. This is my yaml:

substitutions:
  devicename: presa-sp22-a-1
  friendly_name: Presa frigo
  device_description: Presa frigo

esphome:
  name: ${devicename}
  comment: ${device_description}

rtl87xx:
  board: wr3

# Logging su seriale
logger:

# Integrazione Home Assistant API
api:
  encryption:
    key: "6fTqN6+bAJtLZh1rY8uWIKulxPKCyGikXnH+9dzEpGI="

# Aggiornamenti OTA futuri via ESPHome
ota:
  - platform: esphome
    password: "fb1450bcaff67b1a3f97d224d1281f72"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  ap:
    ssid: "Presa-Sp22-A-1 Fallback Hotspot"
    password: "yx6typ4CHsvv"

captive_portal:

# Server Web integrato sulla porta 80
web_server:
  port: 80

# Gestione LED di stato
light:
  - platform: status_led
    name: ${friendly_name} Red LED
    pin: 
      number: D9
      inverted: true
    internal: true

output:
  - id: blue_led
    platform: gpio
    pin:
      number: D7
      inverted: true

# Pulsante Fisico
binary_sensor:
  - platform: gpio
    pin:
      number: D10
    id: sp22_button
    name: ${friendly_name} Button
    on_press:
      - switch.toggle: relay
    internal: true

# Relè Principale
switch:
  - platform: gpio
    pin: D3
    id: relay
    name: ${friendly_name} Switch
    restore_mode: RESTORE_DEFAULT_ON
    on_turn_on:
      - output.turn_on: blue_led
    on_turn_off:
      - output.turn_off: blue_led

# Sensore di Consumo Energetico (HLW8012 / BL0937)
sensor:
  - platform: hlw8012
    model: BL0937
    sel_pin:
      number: D2
      inverted: true
    cf_pin: D4
    cf1_pin: D8
    current:
      name: ${friendly_name} Current
    voltage:
      name: ${friendly_name} Voltage
    power:
      name: ${friendly_name} Power
    voltage_divider: 1719
    update_interval: 5s

  - platform: wifi_signal
    name: ${friendly_name} - WiFi Signal
    update_interval: 60s

  - platform: uptime
    name: ${friendly_name} - Uptime
    icon: mdi:clock-outline
    update_interval: 60s

button:
  - platform: restart
    name: ${friendly_name} Restart

I need to compile the firmware and download the uf2 or bin (OTA1 or OTA2) formats. But then how do I flash it? I can’t use the Esphome installation because it tells me the chip is not in download mode but is instead in download mode. I can use ltchiptool to upload the bin (OTA1) file without any problems, but then it doesn’t seem to work. What should I do?

Did you see this previously?

Everything I have seen says the chip you are using is not supported (for what you want to do). But it seems that data might be somewhat old.

This does appear to not be easy. This is why I now choose my hardware carefully. I bought some devices expecting them to be easy and they ended up not being easy, because I was the first person to try and use them with other firmware. That is always a challenge.