Problems connecting Sonoff NSPanels (SocketAPIError)

Hi everyone,

I’m desperately trying to get two NSPanels flashed with Tasmota to the ESPHome, following the instructions from Sairons Repo.
The devices are Tasmota-flashed, ESPHome is installed in HA (Core-Version 2024.7.4), MQTT running, the devices are created in ESPHome and also equipped with a minimalist configuration via USB-serial-adapter. The panels are then (wirelessly) correctly recognized as online by ESPHome and can also be updated by OTA. Up to the point where I expand the configuration to include the “external components”, “mqtt” and “api” sections relevant to ESPHome. I have already tried the various releases from the Sairon repo, as well as “dev” as ref, all with the same result. After successfully transferring the configuration, ESPHome tries to start the log output, but fails to connect to the devices due to a Socket API error. Research here in the forum brought me to two topics, one of them problems with a jumper on another ESP board (not applicable for me) and problems with the network/mDNS. In my case, however, everything runs within a WLAN SSID without subnets or vLANs. I have nevertheless tried static IP in the configuration, but without changing the problem. I can therefore almost rule out network problems.

========================= [SUCCESS] Took 67.67 seconds =========================
INFO Successfully compiled program.
INFO Connecting to 192.168.178.119
INFO Uploading /data/build/test3/.pioenvs/test3/firmware.bin (1382160 bytes)
Uploading: [============================================================] 100% Done...

INFO Upload took 14.19 seconds, waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from 192.168.178.119 using esphome API
WARNING Can't connect to ESPHome API for test3 @ 192.168.178.119: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='192.168.178.119', port=6053))]: [Errno 111] Connect call failed ('192.168.178.119', 6053) (SocketAPIError)
INFO Trying to connect to test3 @ 192.168.178.119 in the background

Here also my config:

esphome:
  name: test3
  friendly_name: test3

esp32:
  board: esp32dev
  framework:
    type: arduino

mqtt:
  broker: 192.168.178.116
  username: MY_MQTT_USER
  password: MY_MQTT_PW

uart:
  - id: tf_uart
    tx_pin: 16
    rx_pin: 17
    baud_rate: 115200

#####

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "MY-API-PW"

nspanel_lovelace:
  id: nspanel

external_components:
  - source:
      type: git
      url: https://github.com/sairon/esphome-nspanel-lovelace-ui
      ref: v0.3.0
    components: [nspanel_lovelace]

ota:
  - platform: esphome
    password: "ef7a31bee1da0d662b665230f746b1b6"

wifi:
  ssid: "FRITZ!Box 7491"
  password: "MY_WIFI_PW"
  manual_ip:
    static_ip: 192.168.178.119
    gateway: 192.168.178.1
    subnet: 255.255.255.0

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Test2 Fallback Hotspot"
    password: "aeeU9CwP8XYT"

captive_portal:

Do you have any idea what could be going on here?