#17825·esphome

Crash: [E][esp8266:171]: *** CRASH DETECTED ON PREVIOUS BOOT ***

Author: lishan89ucCreated Jul 23, 2026Updated Sep 28, 2026

The problem

I don't know what is causing the crash. This is a SLWF-01pro Air conditioner Wi-Fi module. This device is crashing with no interaction from user

(Crash detected in the Device Builder log viewer.)

  • Platform: ESP8266
  • Installation: Home Assistant Add-on
  • ESPHome 2026.7.2 (compiled)
  • 2026.7.2 (running)
  • Board: esp12e

Decoded backtrace: 0x40253c86: pm_send_nullfunc 0x40253aa0: pm_keep_active_enable 0x40259d89: ets_timer_handler_isr 0x40259dce: ets_timer_handler_isr 0x40225716: loop_task(ETSEventTag*) at core_esp8266_main.cpp 0x40105989: call_user_start_local 0x4010598f: call_user_start_local 0x4010000d: call_user_start 0x401000ab: app_entry_redefinable 0x4024a0c4: cont_ret at cont.S.o 0x4024a075: cont_continue at cont.S.o 0x401057f5: lmacTxFrame 0x401053da: lmacMSDUAged 0x40104d29: lmacRecycleMPDU 0x4021e950: esp8266::MDNSImplementation::MDNSResponder::stcMDNSSendParameter::addDomainCacheItem(void const*, bool, unsigned short) 0x401012b8: malloc 0x402253f7: operator new(unsigned int)

Which version of ESPHome has the issue?

2026.7.2

What type of installation are you using?

Home Assistant Add-on

What platform are you using?

ESP8266

Component causing the issue

api

YAML Config

yaml
substitutions:
  name: sunroom-ac
  friendly_name: sunroom-ac
  wifi_ap_ssid: <removed>
  wifi_ap_password: <removed>
  visual_min_temperature: 17 °C
  visual_max_temperature: 30 °C
  visual_temperature_step: 0.5 °C
esphome:
  name: sunroom-ac
  friendly_name: sunroom-ac
  name_add_mac_suffix: false
  project:
    name: SMLIGHT.SLWF-01Pro
    version: '2.4'
  min_version: 2026.7.2
  build_path: build/sunroom-ac
  platformio_options: {}
  build_flags: []
  environment_variables: {}
  includes: []
  includes_c: []
  libraries: []
  merge_warnings: true
  debug_scheduler: false
  areas: []
  devices: []
esp8266:
  board: esp12e
  framework:
    version: 3.1.2
    source: ~3.30102.0
    platform_version: platformio/[email protected]
  restore_from_flash: false
  early_pin_init: true
  board_flash_mode: dout
  enable_full_printf: false
wifi:
  min_auth_mode: WPA2
  post_connect_roaming: false
  ap:
    ssid: <removed>
    password: <removed>
    ap_timeout: 90s
  domain: .local
  reboot_timeout: 15min
  power_save_mode: NONE
  fast_connect:
    enabled: false
    storage: rtc
  output_power: 20.0
  passive_scan: false
  enable_on_boot: true
  networks:
    - ssid: !secret 'wifi_ssid'
      password: !secret 'wifi_password'
      priority: 0
  use_address: sunroom-ac.local
captive_portal:
  compression: gzip
logger:
  baud_rate: 0
  tx_buffer_size: 512
  deassert_rts_dtr: false
  hardware_uart: UART0
  level: DEBUG
  logs: {}
  runtime_tag_levels: false
  esp8266_store_log_strings_in_flash: true
api:
  port: 6053
  reboot_timeout: 15min
  batch_delay: 100ms
  custom_services: false
  homeassistant_services: false
  homeassistant_states: false
  listen_backlog: 1
  max_connections: 4
  max_send_queue: 4
ota:
  - platform: web_server
  - platform: esphome
    version: 2
    port: 8266
    allow_partition_access: false
uart:
  - tx_pin:
      number: 12
      mode:
        output: true
        input: false
        open_drain: false
        pullup: false
        pulldown: false
        analog: false
      inverted: false
    rx_pin:
      number: 14
      mode:
        input: true
        output: false
        open_drain: false
        pullup: false
        pulldown: false
        analog: false
      inverted: false
    baud_rate: 9600
    rx_buffer_size: 256
    stop_bits: 1
    data_bits: 8
    parity: NONE
button:
  - platform: factory_reset
    id: factory_reset_btn
    name: Factory reset
    disabled_by_default: false
    icon: mdi:restart-alert
    entity_category: config
    device_class: restart
  - platform: template
    name: sunroom-ac Display Toggle
    id: midea_display_toggle
    icon: mdi:theme-light-dark
    on_press:
      - then:
          - midea_ac.display_toggle: {}
    disabled_by_default: false
  - platform: template
    name: sunroom-ac Swing Step
    id: midea_swing_step
    icon: mdi:tailwind
    on_press:
      - then:
          - midea_ac.swing_step: {}
    disabled_by_default: false
climate:
  - platform: midea
    name: sunroom-ac
    id: midea_climate
    period: 1s
    timeout: 2s
    num_attempts: 3
    autoconf: true
    beeper: true
    visual:
      min_temperature: 17.0
      max_temperature: 30.0
      temperature_step:
        target_temperature: 0.5
        current_temperature: 0.5
    supported_modes:
      - FAN_ONLY
      - HEAT_COOL
      - COOL
      - HEAT
      - DRY
    custom_fan_modes:
      - SILENT
      - TURBO
    supported_presets:
      - ECO
      - BOOST
      - SLEEP
    custom_presets:
      - FREEZE_PROTECTION
    supported_swing_modes:
      - VERTICAL
      - HORIZONTAL
      - BOTH
    outdoor_temperature:
      name: sunroom-ac Outdoor Temperature
      disabled_by_default: false
      force_update: false
      unit_of_measurement: °C
      icon: mdi:thermometer
      accuracy_decimals: 0
      device_class: temperature
      state_class: measurement
    disabled_by_default: false
switch:
  - platform: template
    name: sunroom-ac Beeper
    id: midea_beeper
    icon: mdi:volume-source
    restore_mode: RESTORE_DEFAULT_OFF
    optimistic: true
    turn_on_action:
      then:
        - midea_ac.beeper_on: {}
    turn_off_action:
      then:
        - midea_ac.beeper_off: {}
    disabled_by_default: false
    assumed_state: false
sensor:
  - platform: wifi_signal
    name: sunroom-ac Wi-Fi Signal
    update_interval: 60s
    disabled_by_default: false
    force_update: false
    unit_of_measurement: dBm
    accuracy_decimals: 0
    device_class: signal_strength
    state_class: measurement
    entity_category: diagnostic
script:
  - id: on_button_click
    then:
      - midea_ac.power_toggle: {}
    mode: single
    parameters: {}
web_server:
  port: 80
  local: true
  version: 2
  enable_private_network_access: false
  include_internal: false
  log: true
  compression: gzip
  css_url: ''
  js_url: https://oi.esphome.io/v2/www.js

Anything in the logs that might be useful for us?

txt
INFO ESPHome 2026.7.2
INFO Loaded validated config cache for sunroom-ac.yaml, skipping validation.
INFO Starting log output from 192.168.0.180 using esphome API
INFO Successfully resolved sunroom-ac @ 192.168.0.180 in 0.000s
INFO Successfully connected to sunroom-ac @ 192.168.0.180 in 0.015s
INFO Successful handshake with sunroom-ac @ 192.168.0.180 in 0.022s
[E][esp8266:171]: *** CRASH DETECTED ON PREVIOUS BOOT ***
[E][esp8266:186]:   Reason: Soft WDT - Level1Int (exccause=4)
[E][esp8266:191]:   PC: 0x40253C86
WARNING Decoded 0x40253c86: pm_send_nullfunc
[E][esp8266:196]:   BT0: 0x40253AA0
WARNING Decoded 0x40253aa0: pm_keep_active_enable
[E][esp8266:196]:   BT1: 0x40259D89
WARNING Decoded 0x40259d89: ets_timer_handler_isr
[E][esp8266:196]:   BT2: 0x40259DCE
WARNING Decoded 0x40259dce: ets_timer_handler_isr
[E][esp8266:196]:   BT3: 0x40225716
WARNING Decoded 0x40225716: loop_task(ETSEventTag*) at core_esp8266_main.cpp
[E][esp8266:196]:   BT4: 0x40105989
WARNING Decoded 0x40105989: call_user_start_local
[E][esp8266:196]:   BT5: 0x4010598F
WARNING Decoded 0x4010598f: call_user_start_local
[E][esp8266:196]:   BT6: 0x4010000D
WARNING Decoded 0x4010000d: call_user_start
[E][esp8266:196]:   BT7: 0x401000AB
WARNING Decoded 0x401000ab: app_entry_redefinable
[E][esp8266:196]:   BT8: 0x4024A0C4
WARNING Decoded 0x4024a0c4: cont_ret at cont.S.o
[E][esp8266:196]:   BT9: 0x4024A075
WARNING Decoded 0x4024a075: cont_continue at cont.S.o
[E][esp8266:196]:   BT10: 0x401057F5
WARNING Decoded 0x401057f5: lmacTxFrame
[E][esp8266:196]:   BT11: 0x401053DA
WARNING Decoded 0x401053da: lmacMSDUAged
[E][esp8266:196]:   BT12: 0x40104D29
WARNING Decoded 0x40104d29: lmacRecycleMPDU
[E][esp8266:196]:   BT13: 0x4021E950
WARNING Decoded 0x4021e950: esp8266::MDNSImplementation::MDNSResponder::stcMDNSSendParameter::addDomainCacheItem(void const*, bool, unsigned short)
[E][esp8266:196]:   BT14: 0x401012B8
WARNING Decoded 0x401012b8: malloc
[E][esp8266:196]:   BT15: 0x402253F7
WARNING Decoded 0x402253f7: operator new(unsigned int)

Additional information

(Truncated to fit; full report available on request.)