Skip to content

Issue flashing from Blackymas to NSPanel-Easy via OTA (Authentication invalid) & Unknown Action Error & Nextion disconnected #16472

Description

@Boy17000

The problem

Describe the bug

I am trying to migrate my Sonoff NSPanel (EU version) from the original Blackymas HA Blueprint config over to the new NSPanel-Easy framework, following Mark Watt Tech's tutorial.

However, I am experiencing two main issues:

  1. When trying to flash the new ESPHome configuration wireless (OTA), the compilation succeeds, but the upload fails with an authentication error: ERROR Error auth result: Error: Authentication invalid. Is the password correct?.
  2. In Home Assistant, the automation using the NSPanel Easy Configuration blueprint (v2026.5.5) throws an error stating it uses an unknown action: esphome.nspanel_component_text_list.

ESPHome Dashboard Status

  • Nextion display status: Disconnected
  • Version Blueprint: Unknown

Steps to reproduce

  1. Change the packages block in ESPHome YAML from Blackymas/NSPanel_HA_Blueprint to edwardtfn/NSPanel-Easy (using nspanel_esphome.yaml).
  2. Click Install -> Wirelessly in the ESPHome Dashboard.
  3. The compilation succeeds, but the wireless upload gets rejected by the panel due to authentication.

ESPHome Logs (Compile & Upload snippet)

======================== [SUCCESS] Took 307.18 seconds ========================
INFO Successfully compiled program.
INFO Connecting to 192.168.1.77 port 3232...
INFO Connected to 192.168.1.77
INFO Uploading /data/build/nspanel/.pioenvs/nspanel/firmware.bin (1082864 bytes)
ERROR Error auth result: Error: Authentication invalid. Is the password correct?
WARNING Failed to upload to ['nspanel.local']

### Which version of ESPHome has the issue?

 2026041

### What type of installation are you using?

Home Assistant Add-on

### What platform are you using?

ESP32

### Component causing the issue

OTA update component on the ESP32

### YAML Config

```yaml
substitutions:
  # Settings - Editable values
  device_name: "nspanel"
  friendly_name: "Your panel's friendly name"
  wifi_ssid: !secret wifi_ssid
  wifi_password: !secret wifi_password
  nextion_update_url: "http://homeassistant.local:8123/local/nspanel_eu.tft"  # Optional
  boot_sound: false
  # Add-on configuration (if needed)
  ## Upload TFT
  upload_tft_automatically: true
  ## Climate add-on
  # heater_relay: "1"  # Possible values: "1" or "2"

# Customization area
##### My customization - Start #####
##### My customization - End #####

# Core and optional configurations
packages:
  remote_package:
    url: https://github.com/edwardtfn/NSPanel-Easy
    ref: main
    refresh: 300s
    files:
      - nspanel_esphome.yaml # Basic package
      # Optional advanced and add-on configurations
      # - esphome/nspanel_esphome_addon_climate_cool.yaml
      - esphome/nspanel_esphome_addon_climate_heat.yaml
      # - esphome/nspanel_esphome_addon_climate_dual.yaml
      # - esphome/nspanel_esphome_addon_cover.yaml
      # - esphome/nspanel_esphome_addon_display_light.yaml  # Show the display as a light in Home Assistant

Anything in the logs that might be useful for us?

INFO ESPHome 2026.4.5
INFO Reading configuration /config/esphome/nspanel.yaml...
INFO Detected timezone 'Europe/Amsterdam'
INFO Generating C++ source...
INFO Compiling app... Build path: /data/build/nspanel
Processing nspanel (board: esp32dev; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32/releases/download/55.03.38-1/platform-espressif32.zip)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - contrib-piohome @ 3.4.4 
 - framework-espidf @ 3.50504.0 (5.5.4) 
 - tool-cmake @ 4.0.3 
 - tool-esp-rom-elfs @ 2024.10.11 
 - tool-esptoolpy @ 5.2.0 
 - tool-ninja @ 1.13.1 
 - tool-scons @ 4.40801.0 (4.8.1) 
 - tool-xtensa-esp-elf-gdb @ 16.3.0+20250913 
 - toolchain-xtensa-esp-elf @ 14.2.0+20260121
Using Python 3.12.10 environment at: /root/.platformio/penv/.espidf-5.5.4
Reading CMake configuration...
Generating assembly for certificate bundle...
No dependencies
Compiling .pioenvs/nspanel/src/esphome/components/adc/adc_sensor_common.cpp.o
Compiling .pioenvs/nspanel/src/esphome/components/adc/adc_sensor_esp32.cpp.o
Compiling .pioenvs/nspanel/src/esphome/components/api/api_buffer.cpp.o
Compiling .pioenvs/nspanel/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/nspanel/src/esphome/components/api/api_frame_helper.cpp.o
Compiling .pioenvs/nspanel/src/esphome/components/api/api_frame_helper_plaintext.cpp.o
Compiling .pioenvs/nspanel/src/esphome/components/api/api_overflow_buffer.cpp.o
Compiling .pioenvs/nspanel/src/esphome/components/api/api_pb2.cpp.o
Compiling .pioenvs/nspanel/src/esphome/components/api/api_pb2_service.cpp.o
Compiling .pioenvs/nspanel/src/esphome/components/api/api_server.cpp.o
Compiling .pioenvs/nspanel/src/esphome/components/api/list_entities.cpp.o
Compiling .pioenvs/nspanel/src/esphome/components/api/proto.cpp.o
Compiling .pioenvs/nspanel/src/esphome/components/api/subscribe_state.cpp.o
*** Deleted alot of the space taken up by Compiling/Archiving ***
Compiling .pioenvs/nspanel/bootloader/soc/esp32/rtc_io_periph.c.o
Compiling .pioenvs/nspanel/bootloader/soc/esp32/sdio_slave_periph.c.o
Compiling .pioenvs/nspanel/bootloader/soc/esp32/power_supply_periph.c.o
Archiving .pioenvs/nspanel/bootloader/esp-idf/soc/libsoc.a
Indexing .pioenvs/nspanel/bootloader/esp-idf/soc/libsoc.a
Compiling .pioenvs/nspanel/bootloader/spi_flash/spi_flash_wrap.c.o
Archiving .pioenvs/nspanel/bootloader/esp-idf/spi_flash/libspi_flash.a
Indexing .pioenvs/nspanel/bootloader/esp-idf/spi_flash/libspi_flash.a
Linking .pioenvs/nspanel/bootloader.elf
Building .pioenvs/nspanel/bootloader.bin
Creating ESP32 image...
Successfully created ESP32 image.
Generating partitions .pioenvs/nspanel/partitions.bin
Generating an empty partition .pioenvs/nspanel/ota_data_initial.bin
Linking .pioenvs/nspanel/firmware.elf
                            Memory Type Usage Summary                             
┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Memory Type/Section ┃ Used [bytes] ┃ Used [%] ┃ Remain [bytes] ┃ Total [bytes] ┃
┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ Flash Code          │       820420 │          │                │               │
│    .text            │       820420 │          │                │               │
│ Flash Data          │       161088 │          │                │               │
│    .rodata          │       160832 │          │                │               │
│    .appdesc         │          256 │          │                │               │
│ IRAM                │        84423 │    64.41 │          46649 │        131072 │
│    .text            │        83395 │    63.63 │                │               │
│    .vectors         │         1028 │     0.78 │                │               │
│ DRAM                │        57232 │    31.67 │         123504 │        180736 │
│    .bss             │        40296 │     22.3 │                │               │
│    .data            │        16784 │     9.29 │                │               │
│    .noinit          │          152 │     0.08 │                │               │
└─────────────────────┴──────────────┴──────────┴────────────────┴───────────────┘
Total image size: 1082715 bytes (.bin may be padded larger)
Note: The reported total sizes may be smaller than those in the technical reference manual due to reserved memory and application configuration. The total flash size available for the application is not included by default, as it cannot be reliably determined due to the presence of other data like the bootloader, partition table, and application partition size.
RAM:   [==        ]  17.5% (used 57232 bytes from 327680 bytes)
Flash: [======    ]  59.0% (used 1082459 bytes from 1835008 bytes)
Building .pioenvs/nspanel/firmware.bin
Creating ESP32 image...
Successfully created ESP32 image.
Creating binary "firmware.factory.bin" with:
    Offset   | File
 -  0x1000   | bootloader.bin
 -  0x8000   | partitions.bin
 -  0x9000   | ota_data_initial.bin
 -  0x10000  | firmware.bin
Successfully created combined binary image.
sign_firmware([".pioenvs/nspanel/firmware.bin"], [".pioenvs/nspanel/firmware.elf"])
merge_factory_bin([".pioenvs/nspanel/firmware.bin"], [".pioenvs/nspanel/firmware.elf"])
Info: bootloader.bin not found - skipping
Info: partition-table.bin not found - skipping
Info: ota_data_initial.bin not found - skipping
Info: nspanel.bin not found - skipping
Using FLASH_EXTRA_IMAGES from PlatformIO environment
Merging binaries into /data/build/nspanel/.pioenvs/nspanel/firmware.factory.bin
Merging binaries with esptool
SHA digest in image updated.
Wrote 0x1185f0 bytes to file '/data/build/nspanel/.pioenvs/nspanel/firmware.factory.bin', ready to flash to offset 0x0.
Successfully created /data/build/nspanel/.pioenvs/nspanel/firmware.factory.bin
esp32_copy_ota_bin([".pioenvs/nspanel/firmware.bin"], [".pioenvs/nspanel/firmware.elf"])
Copied firmware to /data/build/nspanel/.pioenvs/nspanel/firmware.ota.bin
======================== [SUCCESS] Took 307.18 seconds ========================
Using Python 3.12.10 environment at: /root/.platformio/penv/.espidf-5.5.4
INFO Build Info: config_hash=0x17c8ec53 build_time_str=2026-05-16 02:46:51 +0200
INFO Successfully compiled program.
INFO Connecting to 192.168.1.77 port 3232...
INFO Connected to 192.168.1.77
INFO Uploading /data/build/nspanel/.pioenvs/nspanel/firmware.bin (1082864 bytes)
ERROR Error auth result: Error: Authentication invalid. Is the password correct?
WARNING Failed to upload to ['nspanel.local']

Additional information

Home assistant error in settings:
The automation "NSPanel configuration (Easy Configurationv2026.5.5)" (automation.nspanel_configuration_easy_configurationv2026_5_5) has an unknown action: esphome.nspanel_component_text_list.
This error prevents the automation from running correctly. Maybe this action is no longer available, or perhaps a typo caused it.

Diagnostic
Device Name: nspanel
Nextion display: Disconnected
Version Blueprint: Unknown
Version ESPHome: 2026041
Version TFT: 2026041

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions