Closed bedson87 closed 1 year ago
I will try to reproduce the issue by flashing your YAML (with single core mode enabled) to an generic ESP32 board. I haven't updated my Yeelights to 2022.12 yet.
Thank you! I tried to flash v2022.12 by uart but unfortunately also bootloop.
Did you use 2022.12 or 2022.12.1? I cannot reproduce the issue on a generic ESP32.
If you are able to reproduce the issue could you use esphome logs your-yeelight.yaml
to monitor the boot loop? The ESPHome command line tool is able to decode the stack trace above on the fly. I would like to know the decoded defails of
Backtrace:0x40082036:0x3ffc1e800x40088399:0x3ffc1ea0 0x4008e3e6:0x3ffc1ec0 0x400ecfdb:0x3ffc1f30 0x40141324:0x3ffc1f70 0x401413e9:0x3ffc1fa0 0x40120d56:0x3ffc1fc0 0x401214c9:0x3ffc1fe0 0x4011fdac:0x3ffc2000 0x4008fd61:0x3ffc2020
I tried 2022.12. ESP the one that was in the lamp (maybe the Chinese put something weird in there ). I will test v2022.12.1 when I have some time to disassemble the lamp ;-) I haven't tried to log via eshome cli - I'll try.
I tried to install via OTA 2022.12.1 - bootloop (uart logs). I launched a separate eshome instance in docker and connected via UART with lamp - eshome cli logs also attached.
[13:11:26][D][esp-idf:000]:
[13:11:26]
[13:11:26][D][esp-idf:000]: I (847) wifi_init: rx ba win: 6
[13:11:26]
[13:11:26][D][esp-idf:000]: I (856) wifi_init: tcpip mbox: 32
[13:11:26]
[13:11:26][D][esp-idf:000]: I (857) wifi_init: udp mbox: 6
[13:11:26]
[13:11:26][D][esp-idf:000]: I (867) wifi_init: tcp mbox: 6
[13:11:26]
[13:11:26][D][esp-idf:000]: I (867) wifi_init: tcp tx win: 5744
[13:11:26]
[13:11:26][D][esp-idf:000]: I (877) wifi_init: tcp rx win: 5744
[13:11:26]
[13:11:26][D][esp-idf:000]: I (887) wifi_init: tcp mss: 1440
[13:11:26]
[13:11:26][D][esp-idf:000]: I (897) wifi_init: WiFi IRAM OP enabled
[13:11:26]
[13:11:26][D][esp-idf:000]: I (898) wifi_init: WiFi RX IRAM OP enabled
[13:11:26]
[13:11:26][D][esp-idf:000]: I (909) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
[13:11:26]
[13:11:26][D][esp-idf:000]: W (918) phy_init: failed to load RF calibration dat
[13:11:26]abort() was called at PC 0x400ecfdb on core 0
[13:11:26]
[13:11:26]
[13:11:26]Backtrace:0x40082036:0x3ffc1e900x40088399:0x3ffc1eb0 0x4008e3e6:0x3ffc1ed0 0x400ecfdb:0x3ffc1f40 0x40141324:0x3ffc1f80 0x401413e9:0x3ffc1fb0 0x40120d56:0x3ffc1fd0 0x401214c9:0x3ffc1ff0 0x4011fdac:0x3ffc2010 0x4008fd61:0x3ffc2030
WARNING Found stack trace! Trying to decode it
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
[13:11:26]
[13:11:26]
[13:11:26]
[13:11:26]
[13:11:26]ELF file SHA256: 67087a46284a5974
[13:11:26]
[13:11:26]Rebooting...
[13:11:26]ets Jun 8 2016 00:22:57
[13:11:26]
[13:11:26]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[13:11:26]configsip: 0, SPIWP:0xee
[13:11:26]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[13:11:26]mode:DIO, clock div:2
[13:11:26]load:0x3fff0018,len:4
[13:11:26]load:0x3fff001c,len:1044
[13:11:26]load:0x40078000,len:8896
[13:11:26]load:0x40080400,len:5828
[13:11:26]entry 0x400806ac
[13:11:27]I (308) cpu_start: Pro cpu up.
[13:11:27]I (308) cpu_start: Single core mode
[13:11:27]I (316) cpu_start: Pro cpu start user code
[13:11:27]I (316) cpu_start: cpu freq: 160000000
[13:11:27]I (316) cpu_start: Application information:
[13:11:27]I (321) cpu_start: Project name: kuchnia-yeelight-ceiling
[13:11:27]I (327) cpu_start: App version: 2022.12.1
[13:11:27]I (332) cpu_start: Compile time: Dec 18 2022 13:39:57
[13:11:27]I (338) cpu_start: ELF file SHA256: 67087a46284a5974...
[13:11:27]I (344) cpu_start: ESP-IDF: 4.4.2
[13:11:27]I (349) heap_init: Initializing. RAM available for dynamic allocation:
[13:11:27]I (356) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
[13:11:27]I (362) heap_init: At 3FFB7300 len 00028D00 (163 KiB): DRAM
[13:11:27]I (369) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
[13:11:27]I (375) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
[13:11:27]I (381) heap_init: At 40093754 len 0000C8AC (50 KiB): IRAM
[13:11:27]I (387) heap_init: At 3FF80000 len 00002000 (8 KiB): RTCRAM
[13:11:27]I (395) spi_flash: detected chip: generic
[13:11:27]I (399) spi_flash: flash io: dio[I][logger:258]: Log initialized
[13:11:27][C][ota:469]: There have been 2 suspected unsuccessful boot attempts.
[13:11:27][D][esp32.preferences:113]: Saving 1 preferences to flash...
[13:11:27][D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[13:11:27][I][app:029]: Running through setup()...
[13:11:27][D][ledc.output:041]: Calculating resolution bit-depth for frequency 4882.000000
[13:11:27][D][ledc.output:046]: Resolution calculated as 14
[13:11:27][D][ledc.output:041]: Calculating resolution bit-depth for frequency 4882.000000
[13:11:27][D][ledc.output:046]: Resolution calculated as 14
[13:11:27][D][ledc.output:041]: Calculating resolution bit-depth for frequency 19531.000000
[13:11:27][D][ledc.output:046]: Resolution calculated as 12
[13:11:27][C][light:036]: Setting up light 'kuchnia-yeelight-ceiling-nightlight'...
[13:11:27][D][light:035]: 'kuchnia-yeelight-ceiling-nightlight' Setting:
[13:11:27][D][light:040]: Color mode:
[13:11:27][D][light:050]: Brightness: 70%
[13:11:27][C][light:036]: Setting up light 'kuchnia-yeelight-ceiling'...
[13:11:27][D][light:348]: 'kuchnia-yeelight-ceiling' - Setting cold/warm white channels using white/color temperature values.
[13:11:27][D][light:035]: 'kuchnia-yeelight-ceiling' Setting:
[13:11:27][D][light:040]: Color mode: Cold/warm white
[13:11:27][D][light:050]: Brightness: 100%
[13:11:27][D][light:065]: Color temperature: 153.8 mireds
[13:11:27][D][light:070]: Cold white: 100%, warm white: 0%
[13:11:27][C][adc:044]: Setting up ADC 'kuchnia-yeelight-ceiling adc1'...
[13:11:27][D][esp-idf:000]: I (752) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
[13:11:27]
[13:11:27][C][adc:083]: ADC 'kuchnia-yeelight-ceiling adc1' setup finished!
[13:11:27][C][adc:044]: Setting up ADC 'kuchnia-yeelight-ceiling adc2'...
[13:11:27][D][esp-idf:000]: I (772) gpio: GPIO[32]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
[13:11:27]
[13:11:27][C][adc:083]: ADC 'kuchnia-yeelight-ceiling adc2' setup finished!
[13:11:27][C][wifi:037]: Setting up WiFi...
[13:11:27][C][wifi:038]: Local MAC: 5C:E5:0C:29:24:A9
[13:11:27][D][esp-idf:000]: I (807) wifi:
[13:11:27][D][esp-idf:000]: wifi driver task: 3ffc20d0, prio:23, stack:6656, core=0
[13:11:27][D][esp-idf:000]:
[13:11:27]
[13:11:27][D][esp-idf:000]: I (816) wifi:
[13:11:27][D][esp-idf:000]: wifi firmware version: eeaa27d
[13:11:27][D][esp-idf:000]:
[13:11:27]
[13:11:27][D][esp-idf:000]: I (834) wifi:
[13:11:27][D][esp-idf:000]: wifi certification version: v7.0
[13:11:27][D][esp-idf:000]:
[13:11:27]
[13:11:27][D][esp-idf:000]: I (844) wifi:
[13:11:27][D][esp-idf:000]: config NVS flash: enabled
[13:11:27][D][esp-idf:000]:
[13:11:27]
[13:11:27][D][esp-idf:000]: I (854) wifi:
[13:11:27][D][esp-idf:000]: config nano formating: disabled
[13:11:27][D][esp-idf:000]:
[13:11:27]
[13:11:27][D][esp-idf:000]: I (865) wifi:
[13:11:27][D][esp-idf:000]: Init data frame dynamic rx buffer num: 32
[13:11:27][D][esp-idf:000]:
[13:11:27]
[13:11:27][D][esp-idf:000]: I (875) wifi:
[13:11:27][D][esp-idf:000]: Init management frame dynamic rx buffer num: 32
[13:11:27][D][esp-idf:000]:
[13:11:27]
[13:11:27][D][esp-idf:000]: I (895) wifi:
[13:11:27][D][esp-idf:000]: Init management short buffer num: 32
[13:11:27][D][esp-idf:000]:
[13:11:27]
[13:11:27][D][esp-idf:000]: I (906) wifi:
[13:11:27][D][esp-idf:000]: Init dynamic tx buffer num: 32
[13:11:27][D][esp-idf:000]:
[13:11:27]
[13:11:27][D][esp-idf:000]: I (916) wifi:
[13:11:27][D][esp-idf:000]: Init static rx buffer size: 1600
[13:11:27][D][esp-idf:000]:
[13:11:27]
[13:11:27][D][esp-idf:000]: I (926) wifi:
[13:11:27][D][esp-idf:000]: Init static rx buffer num: 10
[13:11:27][D][esp-idf:000]:
[13:11:27]
[13:11:27][D][esp-idf:000]: I (936) wifi:
[13:11:27][D][esp-idf:000]: Init dynamic rx buffer num: 32
[13:11:27][D][esp-idf:000]:
[13:11:27]
[13:11:27][D][esp-idf:000]: I (947) wifi_init: rx ba win: 6
[13:11:27]
[13:11:27][D][esp-idf:000]: I (957) wifi_init: tcpip mbox: 32
[13:11:27]
[13:11:27][D][esp-idf:000]: I (957) wifi_init: udp mbox: 6
[13:11:27]
[13:11:27][D][esp-idf:000]: I (967) wifi_init: tcp mbox: 6
[13:11:27]
[13:11:27][D][esp-idf:000]: I (967) wifi_init: tcp tx win: 5744
[13:11:27]
[13:11:27][D][esp-idf:000]: I (977) wifi_init: tcp rx win: 5744
[13:11:27]
[13:11:27][D][esp-idf:000]: I (987) wifi_init: tcp mss: 1440
[13:11:27]
[13:11:27][D][esp-idf:000]: I (988) wifi_init: WiFi IRAM OP enabled
[13:11:27]
[13:11:27][D][esp-idf:000]: I (998) wifi_init: WiFi RX IRAM OP enabled
[13:11:27]
[13:11:27][D][esp-idf:000]: I (1009) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
[13:11:27]
[13:11:27][D][esp-idf:000]: W (1018) phy_init: failed to load RF calibration data (0x1102), fall
[13:11:27]abort() was called at PC 0x400ecfdb on core 0
[13:11:27]
[13:11:27]
[13:11:27]Backtrace:0x40082036:0x3ffc1e900x40088399:0x3ffc1eb0 0x4008e3e6:0x3ffc1ed0 0x400ecfdb:0x3ffc1f40 0x40141324:0x3ffc1f80 0x401413e9:0x3ffc1fb0 0x40120d56:0x3ffc1fd0 0x401214c9:0x3ffc1ff0 0x4011fdac:0x3ffc2010 0x4008fd61:0x3ffc2030
WARNING Found stack trace! Trying to decode it
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
[13:11:27]
[13:11:27]
[13:11:27]
[13:11:27]
[13:11:27]ELF file SHA256: 67087a46284a5974
[13:11:27]
[13:11:27]Rebooting...
[13:11:27]ets Jun 8 2016 00:22:57
[13:11:27]
[13:11:27]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[13:11:27]configsip: 0, SPIWP:0xee
[13:11:27]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[13:11:27]mode:DIO, clock div:2
[13:11:27]load:0x3fff0018,len:4
[13:11:27]load:0x3fff001c,len:1044
[13:11:27]load:0x40078000,len:8896
[13:11:27]load:0x40080400,len:5828
[13:11:27]entry 0x400806ac
[13:11:28]I (308) cpu_start: Pro cpu up.
[13:11:28]I (308) cpu_start: Single core mode
[13:11:28]I (316) cpu_start: Pro cpu start user code
[13:11:28]I (316) cpu_start: cpu freq: 160000000
[13:11:28]I (316) cpu_start: Application information:
[13:11:28]I (321) cpu_start: Project name: kuchnia-yeelight-ceiling
[13:11:28]I (327) cpu_start: App version: 2022.12.1
[13:11:28]I (332) cpu_start: Compile time: Dec 18 2022 13:39:57
[13:11:28]I (338) cpu_start: ELF file SHA256: 67087a46284a5974...
[13:11:28]I (344) cpu_start: ESP-IDF: 4.4.2
[13:11:28]I (349) heap_init: Initializing. RAM available for dynamic allocation:
[13:11:28]I (356) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
[13:11:28]I (363) heap_init: At 3FFB7300 len 00028D00 (163 KiB): DRAM
[13:11:28]I (369) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
[13:11:28]I (375) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
[13:11:28]I (381) heap_init: At 40093754 len 0000C8AC (50 KiB): IRAM
[13:11:28]I (388) heap_init: At 3FF80000 len 00002000 (8 KiB): RTCRAM
[13:11:28]I (395) spi_flash: detected chip: generic
[13:11:28]I (399) spi_flash: flash io: dio[I][logger:258]: Log initialized
[13:11:28][C][ota:469]: There have been 3 suspected unsuccessful boot attempts.
[13:11:28][D][esp32.preferences:113]: Saving 1 preferences to flash...
[13:11:28][D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[13:11:28][I][app:029]: Running through setup()...
[13:11:28][D][ledc.output:041]: Calculating resolution bit-depth for frequency 4882.000000
[13:11:28][D][ledc.output:046]: Resolution calculated as 14
[13:11:28][D][ledc.output:041]: Calculating resolution bit-depth for frequency 4882.000000
[13:11:28][D][ledc.output:046]: Resolution calculated as 14
[13:11:28][D][ledc.output:041]: Calculating resolution bit-depth for frequency 19531.000000
[13:11:28][D][ledc.output:046]: Resolution calculated as 12
[13:11:28][C][light:036]: Setting up light 'kuchnia-yeelight-ceiling-nightlight'...
[13:11:28][D][light:035]: 'kuchnia-yeelight-ceiling-nightlight' Setting:
[13:11:28][D][light:040]: Color mode:
[13:11:28][D][light:050]: Brightness: 70%
[13:11:28][C][light:036]: Setting up light 'kuchnia-yeelight-ceiling'...
[13:11:28][D][light:348]: 'kuchnia-yeelight-ceiling' - Setting cold/warm white channels using white/color temperature values.
[13:11:28][D][light:035]: 'kuchnia-yeelight-ceiling' Setting:
[13:11:28][D][light:040]: Color mode: Cold/warm white
[13:11:28][D][light:050]: Brightness: 100%
[13:11:28][D][light:065]: Color temperature: 153.8 mireds
[13:11:28][D][light:070]: Cold white: 100%, warm white: 0%
[13:11:28][C][adc:044]: Setting up ADC 'kuchnia-yeelight-ceiling adc1'...
[13:11:28][D][esp-idf:000]: I (652) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
[13:11:28]
[13:11:28][C][adc:083]: ADC 'kuchnia-yeelight-ceiling adc1' setup finished!
[13:11:28][C][adc:044]: Setting up ADC 'kuchnia-yeelight-ceiling adc2'...
[13:11:28][D][esp-idf:000]: I (672) gpio: GPIO[32]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
[13:11:28]
[13:11:28][C][adc:083]: ADC 'kuchnia-yeelight-ceiling adc2' setup finished!
[13:11:28][C][wifi:037]: Setting up WiFi...
[13:11:28][C][wifi:038]: Local MAC: 5C:E5:0C:29:24:A9
[13:11:28][D][esp-idf:000]: I (707) wifi:
[13:11:28][D][esp-idf:000]: wifi driver task: 3ffc20d0, prio:23, stack:6656, core=0
[13:11:28][D][esp-idf:000]:
[13:11:28]
[13:11:28][D][esp-idf:000]: I (716) wifi:
[13:11:28][D][esp-idf:000]: wifi firmware version: eeaa27d
[13:11:28][D][esp-idf:000]:
[13:11:28]
[13:11:28][D][esp-idf:000]: I (733) wifi:
[13:11:28][D][esp-idf:000]: wifi certification version: v7.0
[13:11:28][D][esp-idf:000]:
[13:11:28]
[13:11:28][D][esp-idf:000]: I (744) wifi:
[13:11:28][D][esp-idf:000]: config NVS flash: enabled
[13:11:28][D][esp-idf:000]:
[13:11:28]
[13:11:28][D][esp-idf:000]: I (754) wifi:
[13:11:28][D][esp-idf:000]: config nano formating: disabled
[13:11:28][D][esp-idf:000]:
[13:11:28]
[13:11:28][D][esp-idf:000]: I (765) wifi:
[13:11:28][D][esp-idf:000]: Init data frame dynamic rx buffer num: 32
[13:11:28][D][esp-idf:000]:
[13:11:28]
[13:11:28][D][esp-idf:000]: I (785) wifi:
[13:11:28][D][esp-idf:000]: Init management frame dynamic rx buffer num: 32
[13:11:28][D][esp-idf:000]:
[13:11:28]
[13:11:28][D][esp-idf:000]: I (795) wifi:
[13:11:28][D][esp-idf:000]: Init management short buffer num: 32
[13:11:28][D][esp-idf:000]:
[13:11:28]
[13:11:28][D][esp-idf:000]: I (805) wifi:
[13:11:28][D][esp-idf:000]: Init dynamic tx buffer num: 32
[13:11:28][D][esp-idf:000]:
[13:11:28]
[13:11:28][D][esp-idf:000]: I (816) wifi:
[13:11:28][D][esp-idf:000]: Init static rx buffer size: 1600
[13:11:28][D][esp-idf:000]:
[13:11:28]
[13:11:28][D][esp-idf:000]: I (826) wifi:
[13:11:28][D][esp-idf:000]: Init static rx buffer num: 10
[13:11:28][D][esp-idf:000]:
[13:11:28]
[13:11:28][D][esp-idf:000]: I (836) wifi:
[13:11:28][D][esp-idf:000]: Init dynamic rx buffer num: 32
[13:11:28][D][esp-idf:000]:
[13:11:28]
[13:11:28][D][esp-idf:000]: I (847) wifi_init: rx ba win: 6
[13:11:28]
[13:11:28][D][esp-idf:000]: I (856) wifi_init: tcpip mbox: 32
[13:11:28]
[13:11:28][D][esp-idf:000]: I (857) wifi_init: udp mbox: 6
[13:11:28]
[13:11:28][D][esp-idf:000]: I (867) wifi_init: tcp mbox: 6
[13:11:28]
[13:11:28][D][esp-idf:000]: I (867) wifi_init: tcp tx win: 5744
[13:11:28]
[13:11:28][D][esp-idf:000]: I (877) wifi_init: tcp rx win: 5744
[13:11:28]
[13:11:28][D][esp-idf:000]: I (887) wifi_init: tcp mss: 1440
[13:11:28]
[13:11:28][D][esp-idf:000]: I (897) wifi_init: WiFi IRAM OP enabled
[13:11:28]
[13:11:28][D][esp-idf:000]: I (897) wifi_init: WiFi RX IRAM OP enabled
[13:11:28]
[13:11:28][D][esp-idf:000]: I (909) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
[13:11:28]
[13:11:28][D][esp-idf:000]: W (918) phy_init: failed to load RF calibration dat
[13:11:28]abort() was called at PC 0x400ecfdb on core 0
[13:11:28]
[13:11:28]
[13:11:28]Backtrace:0x40082036:0x3ffc1e900x40088399:0x3ffc1eb0 0x4008e3e6:0x3ffc1ed0 0x400ecfdb:0x3ffc1f40 0x40141324:0x3ffc1f80 0x401413e9:0x3ffc1fb0 0x40120d56:0x3ffc1fd0 0x401214c9:0x3ffc1ff0 0x4011fdac:0x3ffc2010 0x4008fd61:0x3ffc2030
WARNING Found stack trace! Trying to decode it
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
[13:11:28]
[13:11:28]
[13:11:28]
[13:11:28]
[13:11:28]ELF file SHA256: 67087a46284a5974
[13:11:28]
[13:11:28]Rebooting...
[13:11:28]ets Jun 8 2016 00:22:57
[13:11:28]
[13:11:28]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[13:11:28]configsip: 0, SPIWP:0xee
[13:11:28]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[13:11:28]mode:DIO, clock div:2
[13:11:28]load:0x3fff0018,len:4
[13:11:28]load:0x3fff001c,len:1044
[13:11:28]load:0x40078000,len:8896
[13:11:28]load:0x40080400,len:5828
[13:11:28]entry 0x400806ac
[13:11:28]I (308) cpu_start: Pro cpu up.
[13:11:28]I (308) cpu_start: Single core mode
[13:11:28]I (316) cpu_start: Pro cpu start user code
[13:11:28]I (316) cpu_start: cpu freq: 160000000
[13:11:28]I (316) cpu_start: Application information:
[13:11:28]I (321) cpu_start: Project name: kuchnia-yeelight-ceiling
[13:11:28]I (327) cpu_start: App version: 2022.12.1
[13:11:28]I (332) cpu_start: Compile time: Dec 18 2022 13:39:57
[13:11:28]I (338) cpu_start: ELF file SHA256: 67087a46284a5974...
[13:11:28]I (344) cpu_start: ESP-IDF: 4.4.2
[13:11:28]I (349) heap_init: Initializing. RAM available for dynamic allocation:
[13:11:28]I (356) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
[13:11:28]I (363) heap_init: At 3FFB7300 len 00028D00 (163 KiB): DRAM
[13:11:28]I (369) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
[13:11:28]I (375) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
[13:11:28]I (381) heap_init: At 40093754 len 0000C8AC (50 KiB): IRAM
[13:11:28]I (388) heap_init: At 3FF80000 len 00002000 (8 KiB): RTCRAM
[13:11:28]I (395) spi_flash: detected chip: generic
[13:11:28]I (399) spi_flash: flash io: dio[I][logger:258]: Log initialized
[13:11:28][C][ota:469]: There have been 4 suspected unsuccessful boot attempts.
[13:11:29][D][esp32.preferences:113]: Saving 1 preferences to flash...
[13:11:29][D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[13:11:29][I][app:029]: Running through setup()...
[13:11:29][D][ledc.output:041]: Calculating resolution bit-depth for frequency 4882.000000
[13:11:29][D][ledc.output:046]: Resolution calculated as 14
[13:11:29][D][ledc.output:041]: Calculating resolution bit-depth for frequency 4882.000000
[13:11:29][D][ledc.output:046]: Resolution calculated as 14
[13:11:29][D][ledc.output:041]: Calculating resolution bit-depth for frequency 19531.000000
[13:11:29][D][ledc.output:046]: Resolution calculated as 12
[13:11:29][C][light:036]: Setting up light 'kuchnia-yeelight-ceiling-nightlight'...
[13:11:29][D][light:035]: 'kuchnia-yeelight-ceiling-nightlight' Setting:
[13:11:29][D][light:040]: Color mode:
[13:11:29][D][light:050]: Brightness: 70%
[13:11:29][C][light:036]: Setting up light 'kuchnia-yeelight-ceiling'...
[13:11:29][D][light:348]: 'kuchnia-yeelight-ceiling' - Setting cold/warm white channels using white/color temperature values.
[13:11:29][D][light:035]: 'kuchnia-yeelight-ceiling' Setting:
[13:11:29][D][light:040]: Color mode: Cold/warm white
[13:11:29][D][light:050]: Brightness: 100%
[13:11:29][D][light:065]: Color temperature: 153.8 mireds
[13:11:29][D][light:070]: Cold white: 100%, warm white: 0%
[13:11:29][C][adc:044]: Setting up ADC 'kuchnia-yeelight-ceiling adc1'...
[13:11:29][D][esp-idf:000]: I (652) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
[13:11:29]
[13:11:29][C][adc:083]: ADC 'kuchnia-yeelight-ceiling adc1' setup finished!
[13:11:29][C][adc:044]: Setting up ADC 'kuchnia-yeelight-ceiling adc2'...
[13:11:29][D][esp-idf:000]: I (672) gpio: GPIO[32]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
[13:11:29]
[13:11:29][C][adc:083]: ADC 'kuchnia-yeelight-ceiling adc2' setup finished!
[13:11:29][C][wifi:037]: Setting up WiFi...
[13:11:29][C][wifi:038]: Local MAC: 5C:E5:0C:29:24:A9
[13:11:29][D][esp-idf:000]: I (707) wifi:
[13:11:29][D][esp-idf:000]: wifi driver task: 3ffc20d0, prio:23, stack:6656, core=0
[13:11:29][D][esp-idf:000]:
[13:11:29]
[13:11:29][D][esp-idf:000]: I (716) wifi:
[13:11:29][D][esp-idf:000]: wifi firmware version: eeaa27d
[13:11:29][D][esp-idf:000]:
[13:11:29]
[13:11:29][D][esp-idf:000]: I (733) wifi:
[13:11:29][D][esp-idf:000]: wifi certification version: v7.0
[13:11:29][D][esp-idf:000]:
[13:11:29]
[13:11:29][D][esp-idf:000]: I (744) wifi:
[13:11:29][D][esp-idf:000]: config NVS flash: enabled
[13:11:29][D][esp-idf:000]:
[13:11:29]
[13:11:29][D][esp-idf:000]: I (754) wifi:
[13:11:29][D][esp-idf:000]: config nano formating: disabled
[13:11:29][D][esp-idf:000]:
[13:11:29]
[13:11:29][D][esp-idf:000]: I (765) wifi:
[13:11:29][D][esp-idf:000]: Init data frame dynamic rx buffer num: 32
[13:11:29][D][esp-idf:000]:
[13:11:29]
[13:11:29][D][esp-idf:000]: I (785) wifi:
[13:11:29][D][esp-idf:000]: Init management frame dynamic rx buffer num: 32
[13:11:29][D][esp-idf:000]:
[13:11:29]
[13:11:29][D][esp-idf:000]: I (795) wifi:
[13:11:29][D][esp-idf:000]: Init management short buffer num: 32
[13:11:29][D][esp-idf:000]:
[13:11:29]
[13:11:29][D][esp-idf:000]: I (805) wifi:
[13:11:29][D][esp-idf:000]: Init dynamic tx buffer num: 32
[13:11:29][D][esp-idf:000]:
[13:11:29]
[13:11:29][D][esp-idf:000]: I (816) wifi:
[13:11:29][D][esp-idf:000]: Init static rx buffer size: 1600
[13:11:29][D][esp-idf:000]:
[13:11:29]
[13:11:29][D][esp-idf:000]: I (826) wifi:
[13:11:29][D][esp-idf:000]: Init static rx buffer num: 10
[13:11:29][D][esp-idf:000]:
[13:11:29]
[13:11:29][D][esp-idf:000]: I (836) wifi:
[13:11:29][D][esp-idf:000]: Init dynamic rx buffer num: 32
[13:11:29][D][esp-idf:000]:
[13:11:29]
[13:11:29][D][esp-idf:000]: I (847) wifi_init: rx ba win: 6
[13:11:29]
[13:11:29][D][esp-idf:000]: I (856) wifi_init: tcpip mbox: 32
[13:11:29]
[13:11:29][D][esp-idf:000]: I (857) wifi_init: udp mbox: 6
[13:11:29]
[13:11:29][D][esp-idf:000]: I (867) wifi_init: tcp mbox: 6
[13:11:29]
[13:11:29][D][esp-idf:000]: I (867) wifi_init: tcp tx win: 5744
[13:11:29]
[13:11:29][D][esp-idf:000]: I (877) wifi_init: tcp rx win: 5744
[13:11:29]
[13:11:29][D][esp-idf:000]: I (887) wifi_init: tcp mss: 1440
[13:11:29]
[13:11:29][D][esp-idf:000]: I (897) wifi_init: WiFi IRAM OP enabled
[13:11:29]
[13:11:29][D][esp-idf:000]: I (897) wifi_init: WiFi RX IRAM OP enabled
[13:11:29]
[13:11:29][D][esp-idf:000]: I (909) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
[13:11:29]
[13:11:29][D][esp-idf:000]: W (918) phy_init: failed to load RF calibration dat
[13:11:29]abort() was called at PC 0x400ecfdb on core 0
[13:11:29]
[13:11:29]
[13:11:29]Backtrace:0x40082036:0x3ffc1e900x40088399:0x3ffc1eb0 0x4008e3e6:0x3ffc1ed0 0x400ecfdb:0x3ffc1f40 0x40141324:0x3ffc1f80 0x401413e9:0x3ffc1fb0 0x40120d56:0x3ffc1fd0 0x401214c9:0x3ffc1ff0 0x4011fdac:0x3ffc2010 0x4008fd61:0x3ffc2030
WARNING Found stack trace! Trying to decode it
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
[13:11:29]
[13:11:29]
[13:11:29]
[13:11:29]
[13:11:29]ELF file SHA256: 67087a46284a5974
[13:11:29]
[13:11:29]Rebooting...
[13:11:29]ets Jun 8 2016 00:22:57
[13:11:29]
[13:11:29]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[13:11:29]configsip: 0, SPIWP:0xee
[13:11:29]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[13:11:29]mode:DIO, clock div:2
[13:11:29]load:0x3fff0018,len:4
[13:11:29]load:0x3fff001c,len:1044
[13:11:29]load:0x40078000,len:8896
[13:11:29]load:0x40080400,len:5828
[13:11:29]entry 0x400806ac
[13:11:29]I (308) cpu_start: Pro cpu up.
[13:11:29]I (308) cpu_start: Single core mode
[13:11:29]I (316) cpu_start: Pro cpu start user code
[13:11:29]I (316) cpu_start: cpu freq: 160000000
[13:11:29]I (316) cpu_start: Application information:
[13:11:29]I (321) cpu_start: Project name: kuchnia-yeelight-ceiling
[13:11:29]I (327) cpu_start: App version: 2022.12.1
[13:11:29]I (332) cpu_start: Compile time: Dec 18 2022 13:39:57
[13:11:29]I (338) cpu_start: ELF file SHA256: 67087a46284a5974...
[13:11:29]I (344) cpu_start: ESP-IDF: 4.4.2
[13:11:29]I (349) heap_init: Initializing. RAM available for dynamic allocation:
[13:11:29]I (356) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
[13:11:29]I (363) heap_init: At 3FFB7300 len 00028D00 (163 KiB): DRAM
[13:11:29]I (369) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
[13:11:29]I (375) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
[13:11:29]I (381) heap_init: At 40093754 len 0000C8AC (50 KiB): IRAM
[13:11:29]I (388) heap_init: At 3FF80000 len 00002000 (8 KiB): RTCRAM
[13:11:29]I (395) spi_flash: detected chip: generic
[13:11:29]I (399) spi_flash: flash io: dio[I][logger:258]: Log initialized
[13:11:29][C][ota:469]: There have been 5 suspected unsuccessful boot attempts.
[13:11:29][D][esp32.preferences:113]: Saving 1 preferences to flash...
[13:11:29][D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[13:11:29][I][app:029]: Running through setup()...
[13:11:29][D][ledc.output:041]: Calculating resolution bit-depth for frequency 4882.000000
[13:11:29][D][ledc.output:046]: Resolution calculated as 14
[13:11:29][D][ledc.output:041]: Calculating resolution bit-depth for frequency 4882.000000
[13:11:29][D][ledc.output:046]: Resolution calculated as 14
[13:11:29][D][ledc.output:041]: Calculating resolution bit-depth for frequency 19531.000000
[13:11:29][D][ledc.output:046]: Resolution calculated as 12
[13:11:29][C][light:036]: Setting up light 'kuchnia-yeelight-ceiling-nightlight'...
[13:11:29][D][light:035]: 'kuchnia-yeelight-ceiling-nightlight' Setting:
[13:11:29][D][light:040]: Color mode:
[13:11:29][D][light:050]: Brightness: 70%
[13:11:29][C][light:036]: Setting up light 'kuchnia-yeelight-ceiling'...
[13:11:29][D][light:348]: 'kuchnia-yeelight-ceiling' - Setting cold/warm white channels using white/color temperature values.
[13:11:29][D][light:035]: 'kuchnia-yeelight-ceiling' Setting:
[13:11:29][D][light:040]: Color mode: Cold/warm white
[13:11:29][D][light:050]: Brightness: 100%
[13:11:29][D][light:065]: Color temperature: 153.8 mireds
[13:11:29][D][light:070]: Cold white: 100%, warm white: 0%
[13:11:29][C][adc:044]: Setting up ADC 'kuchnia-yeelight-ceiling adc1'...
[13:11:29][D][esp-idf:000]: I (652) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
[13:11:29]
[13:11:30][C][adc:083]: ADC 'kuchnia-yeelight-ceiling adc1' setup finished!
[13:11:30][C][adc:044]: Setting up ADC 'kuchnia-yeelight-ceiling adc2'...
[13:11:30][D][esp-idf:000]: I (672) gpio: GPIO[32]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
[13:11:30]
[13:11:30][C][adc:083]: ADC 'kuchnia-yeelight-ceiling adc2' setup finished!
[13:11:30][C][wifi:037]: Setting up WiFi...
[13:11:30][C][wifi:038]: Local MAC: 5C:E5:0C:29:24:A9
[13:11:30][D][esp-idf:000]: I (707) wifi:
[13:11:30][D][esp-idf:000]: wifi driver task: 3ffc20d0, prio:23, stack:6656, core=0
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (716) wifi:
[13:11:30][D][esp-idf:000]: wifi firmware version: eeaa27d
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (733) wifi:
[13:11:30][D][esp-idf:000]: wifi certification version: v7.0
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (744) wifi:
[13:11:30][D][esp-idf:000]: config NVS flash: enabled
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (754) wifi:
[13:11:30][D][esp-idf:000]: config nano formating: disabled
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (765) wifi:
[13:11:30][D][esp-idf:000]: Init data frame dynamic rx buffer num: 32
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (785) wifi:
[13:11:30][D][esp-idf:000]: Init management frame dynamic rx buffer num: 32
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (795) wifi:
[13:11:30][D][esp-idf:000]: Init management short buffer num: 32
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (805) wifi:
[13:11:30][D][esp-idf:000]: Init dynamic tx buffer num: 32
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (816) wifi:
[13:11:30][D][esp-idf:000]: Init static rx buffer size: 1600
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (826) wifi:
[13:11:30][D][esp-idf:000]: Init static rx buffer num: 10
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (836) wifi:
[13:11:30][D][esp-idf:000]: Init dynamic rx buffer num: 32
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (847) wifi_init: rx ba win: 6
[13:11:30]
[13:11:30][D][esp-idf:000]: I (856) wifi_init: tcpip mbox: 32
[13:11:30]
[13:11:30][D][esp-idf:000]: I (857) wifi_init: udp mbox: 6
[13:11:30]
[13:11:30][D][esp-idf:000]: I (867) wifi_init: tcp mbox: 6
[13:11:30]
[13:11:30][D][esp-idf:000]: I (867) wifi_init: tcp tx win: 5744
[13:11:30]
[13:11:30][D][esp-idf:000]: I (877) wifi_init: tcp rx win: 5744
[13:11:30]
[13:11:30][D][esp-idf:000]: I (887) wifi_init: tcp mss: 1440
[13:11:30]
[13:11:30][D][esp-idf:000]: I (897) wifi_init: WiFi IRAM OP enabled
[13:11:30]
[13:11:30][D][esp-idf:000]: I (897) wifi_init: WiFi RX IRAM OP enabled
[13:11:30]
[13:11:30][D][esp-idf:000]: I (909) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
[13:11:30]
[13:11:30][D][esp-idf:000]: W (918) phy_init: failed to load RF calibration dat
[13:11:30]abort() was called at PC 0x400ecfdb on core 0
[13:11:30]
[13:11:30]
[13:11:30]Backtrace:0x40082036:0x3ffc1e900x40088399:0x3ffc1eb0 0x4008e3e6:0x3ffc1ed0 0x400ecfdb:0x3ffc1f40 0x40141324:0x3ffc1f80 0x401413e9:0x3ffc1fb0 0x40120d56:0x3ffc1fd0 0x401214c9:0x3ffc1ff0 0x4011fdac:0x3ffc2010 0x4008fd61:0x3ffc2030
WARNING Found stack trace! Trying to decode it
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
[13:11:30]
[13:11:30]
[13:11:30]
[13:11:30]
[13:11:30]ELF file SHA256: 67087a46284a5974
[13:11:30]
[13:11:30]Rebooting...
[13:11:30]ets Jun 8 2016 00:22:57
[13:11:30]
[13:11:30]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[13:11:30]configsip: 0, SPIWP:0xee
[13:11:30]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[13:11:30]mode:DIO, clock div:2
[13:11:30]load:0x3fff0018,len:4
[13:11:30]load:0x3fff001c,len:1044
[13:11:30]load:0x40078000,len:8896
[13:11:30]load:0x40080400,len:5828
[13:11:30]entry 0x400806ac
[13:11:30]I (308) cpu_start: Pro cpu up.
[13:11:30]I (308) cpu_start: Single core mode
[13:11:30]I (316) cpu_start: Pro cpu start user code
[13:11:30]I (316) cpu_start: cpu freq: 160000000
[13:11:30]I (316) cpu_start: Application information:
[13:11:30]I (321) cpu_start: Project name: kuchnia-yeelight-ceiling
[13:11:30]I (327) cpu_start: App version: 2022.12.1
[13:11:30]I (332) cpu_start: Compile time: Dec 18 2022 13:39:57
[13:11:30]I (338) cpu_start: ELF file SHA256: 67087a46284a5974...
[13:11:30]I (344) cpu_start: ESP-IDF: 4.4.2
[13:11:30]I (349) heap_init: Initializing. RAM available for dynamic allocation:
[13:11:30]I (356) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
[13:11:30]I (363) heap_init: At 3FFB7300 len 00028D00 (163 KiB): DRAM
[13:11:30]I (369) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
[13:11:30]I (375) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
[13:11:30]I (381) heap_init: At 40093754 len 0000C8AC (50 KiB): IRAM
[13:11:30]I (388) heap_init: At 3FF80000 len 00002000 (8 KiB): RTCRAM
[13:11:30]I (395) spi_flash: detected chip: generic
[13:11:30]I (399) spi_flash: flash io: dio[I][logger:258]: Log initialized
[13:11:30][C][ota:469]: There have been 6 suspected unsuccessful boot attempts.
[13:11:30][D][esp32.preferences:113]: Saving 1 preferences to flash...
[13:11:30][D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[13:11:30][I][app:029]: Running through setup()...
[13:11:30][D][ledc.output:041]: Calculating resolution bit-depth for frequency 4882.000000
[13:11:30][D][ledc.output:046]: Resolution calculated as 14
[13:11:30][D][ledc.output:041]: Calculating resolution bit-depth for frequency 4882.000000
[13:11:30][D][ledc.output:046]: Resolution calculated as 14
[13:11:30][D][ledc.output:041]: Calculating resolution bit-depth for frequency 19531.000000
[13:11:30][D][ledc.output:046]: Resolution calculated as 12
[13:11:30][C][light:036]: Setting up light 'kuchnia-yeelight-ceiling-nightlight'...
[13:11:30][D][light:035]: 'kuchnia-yeelight-ceiling-nightlight' Setting:
[13:11:30][D][light:040]: Color mode:
[13:11:30][D][light:050]: Brightness: 70%
[13:11:30][C][light:036]: Setting up light 'kuchnia-yeelight-ceiling'...
[13:11:30][D][light:348]: 'kuchnia-yeelight-ceiling' - Setting cold/warm white channels using white/color temperature values.
[13:11:30][D][light:035]: 'kuchnia-yeelight-ceiling' Setting:
[13:11:30][D][light:040]: Color mode: Cold/warm white
[13:11:30][D][light:050]: Brightness: 100%
[13:11:30][D][light:065]: Color temperature: 153.8 mireds
[13:11:30][D][light:070]: Cold white: 100%, warm white: 0%
[13:11:30][C][adc:044]: Setting up ADC 'kuchnia-yeelight-ceiling adc1'...
[13:11:30][D][esp-idf:000]: I (652) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
[13:11:30]
[13:11:30][C][adc:083]: ADC 'kuchnia-yeelight-ceiling adc1' setup finished!
[13:11:30][C][adc:044]: Setting up ADC 'kuchnia-yeelight-ceiling adc2'...
[13:11:30][D][esp-idf:000]: I (672) gpio: GPIO[32]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
[13:11:30]
[13:11:30][C][adc:083]: ADC 'kuchnia-yeelight-ceiling adc2' setup finished!
[13:11:30][C][wifi:037]: Setting up WiFi...
[13:11:30][C][wifi:038]: Local MAC: 5C:E5:0C:29:24:A9
[13:11:30][D][esp-idf:000]: I (707) wifi:
[13:11:30][D][esp-idf:000]: wifi driver task: 3ffc20d0, prio:23, stack:6656, core=0
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (716) wifi:
[13:11:30][D][esp-idf:000]: wifi firmware version: eeaa27d
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (733) wifi:
[13:11:30][D][esp-idf:000]: wifi certification version: v7.0
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (744) wifi:
[13:11:30][D][esp-idf:000]: config NVS flash: enabled
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (754) wifi:
[13:11:30][D][esp-idf:000]: config nano formating: disabled
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (765) wifi:
[13:11:30][D][esp-idf:000]: Init data frame dynamic rx buffer num: 32
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (785) wifi:
[13:11:30][D][esp-idf:000]: Init management frame dynamic rx buffer num: 32
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (795) wifi:
[13:11:30][D][esp-idf:000]: Init management short buffer num: 32
[13:11:30][D][esp-idf:000]:
[13:11:30]
[13:11:30][D][esp-idf:000]: I (805) wifi:
[13:11:31][D][esp-idf:000]: Init dynamic tx buffer num: 32
[13:11:31][D][esp-idf:000]:
[13:11:31]
[13:11:31][D][esp-idf:000]: I (816) wifi:
[13:11:31][D][esp-idf:000]: Init static rx buffer size: 1600
[13:11:31][D][esp-idf:000]:
[13:11:31]
[13:11:31][D][esp-idf:000]: I (826) wifi:
[13:11:31][D][esp-idf:000]: Init static rx buffer num: 10
[13:11:31][D][esp-idf:000]:
[13:11:31]
[13:11:31][D][esp-idf:000]: I (836) wifi:
[13:11:31][D][esp-idf:000]: Init dynamic rx buffer num: 32
[13:11:31][D][esp-idf:000]:
[13:11:31]
[13:11:31][D][esp-idf:000]: I (847) wifi_init: rx ba win: 6
[13:11:31]
[13:11:31][D][esp-idf:000]: I (856) wifi_init: tcpip mbox: 32
[13:11:31]
[13:11:31][D][esp-idf:000]: I (857) wifi_init: udp mbox: 6
[13:11:31]
[13:11:31][D][esp-idf:000]: I (867) wifi_init: tcp mbox: 6
[13:11:31]
[13:11:31][D][esp-idf:000]: I (867) wifi_init: tcp tx win: 5744
[13:11:31]
[13:11:31][D][esp-idf:000]: I (877) wifi_init: tcp rx win: 5744
[13:11:31]
[13:11:31][D][esp-idf:000]: I (887) wifi_init: tcp mss: 1440
[13:11:31]
[13:11:31][D][esp-idf:000]: I (897) wifi_init: WiFi IRAM OP enabled
[13:11:31]
[13:11:31][D][esp-idf:000]: I (897) wifi_init: WiFi RX IRAM OP enabled
[13:11:31]
[13:11:31][D][esp-idf:000]: I (909) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
[13:11:31]
[13:11:31][D][esp-idf:000]: W (918) phy_init: failed to load RF calibration dat
[13:11:31]abort() was called at PC 0x400ecfdb on core 0
[13:11:31]
[13:11:31]
[13:11:31]Backtrace:0x40082036:0x3ffc1e900x40088399:0x3ffc1eb0 0x4008e3e6:0x3ffc1ed0 0x400ecfdb:0x3ffc1f40 0x40141324:0x3ffc1f80 0x401413e9:0x3ffc1fb0 0x40120d56:0x3ffc1fd0 0x401214c9:0x3ffc1ff0 0x4011fdac:0x3ffc2010 0x4008fd61:0x3ffc2030
WARNING Found stack trace! Trying to decode it
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
[13:11:31]
[13:11:31]
[13:11:31]
[13:11:31]
[13:11:31]ELF file SHA256: 67087a46284a5974
[13:11:31]
[13:11:31]Rebooting...
[13:11:31]ets Jun 8 2016 00:22:57
[13:11:31]
[13:11:31]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[13:11:31]configsip: 0, SPIWP:0xee
[13:11:31]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[13:11:31]mode:DIO, clock div:2
[13:11:31]load:0x3fff0018,len:4
[13:11:31]load:0x3fff001c,len:1044
[13:11:31]load:0x40078000,len:8896
[13:11:31]load:0x40080400,len:5828
[13:11:31]entry 0x400806ac
[13:11:31]I (308) cpu_start: Pro cpu up.
[13:11:31]I (308) cpu_start: Single core mode
[13:11:31]I (316) cpu_start: Pro cpu start user code
[13:11:31]I (316) cpu_start: cpu freq: 160000000
[13:11:31]I (316) cpu_start: Application information:
[13:11:31]I (321) cpu_start: Project name: kuchnia-yeelight-ceiling
[13:11:31]I (327) cpu_start: App version: 2022.12.1
[13:11:31]I (332) cpu_start: Compile time: Dec 18 2022 13:39:57
[13:11:31]I (338) cpu_start: ELF file SHA256: 67087a46284a5974...
[13:11:31]I (344) cpu_start: ESP-IDF: 4.4.2
[13:11:31]I (349) heap_init: Initializing. RAM available for dynamic allocation:
[13:11:31]I (356) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
[13:11:31]I (362) heap_init: At 3FFB7300 len 00028D00 (163 KiB): DRAM
[13:11:31]I (369) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
[13:11:31]I (375) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
[13:11:31]I (381) heap_init: At 40093754 len 0000C8AC (50 KiB): IRAM
[13:11:31]I (387) heap_init: At 3FF80000 len 00002000 (8 KiB): RTCRAM
[13:11:31]I (395) spi_flash: detected chip: generic
[13:11:31]I (399) spi_flash: flash io: dio[I][logger:258]: Log initialized
[13:11:31][C][ota:469]: There have been 7 suspected unsuccessful boot attempts.
[13:11:31][D][esp32.preferences:113]: Saving 1 preferences to flash...
[13:11:31][D][esp32.preferences:142]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[13:11:31][I][app:029]: Running through setup()...
[13:11:31][D][ledc.output:041]: Calculating resolution bit-depth for frequency 4882.000000
[13:11:31][D][ledc.output:046]: Resolution calculated as 14
[13:11:31][D][ledc.output:041]: Calculating resolution bit-depth for frequency 4882.000000
[13:11:31][D][ledc.output:046]: Resolution calculated as 14
[13:11:31][D][ledc.output:041]: Calculating resolution bit-depth for frequency 19531.000000
[13:11:31][D][ledc.output:046]: Resolution calculated as 12
[13:11:31][C][light:036]: Setting up light 'kuchnia-yeelight-ceiling-nightlight'...
[13:11:31][D][light:035]: 'kuchnia-yeelight-ceiling-nightlight' Setting:
[13:11:31][D][light:040]: Color mode:
[13:11:31][D][light:050]: Brightness: 70%
[13:11:31][C][light:036]: Setting up light 'kuchnia-yeelight-ceiling'...
[13:11:31][D][light:348]: 'kuchnia-yeelight-ceiling' - Setting cold/warm white channels using white/color temperature values.
[13:11:31][D][light:035]: 'kuchnia-yeelight-ceiling' Setting:
[13:11:31][D][light:040]: Color mode: Cold/warm white
[13:11:31][D][light:050]: Brightness: 100%
[13:11:31][D][light:065]: Color temperature: 153.8 mireds
[13:11:31][D][light:070]: Cold white: 100%, warm white: 0%
[13:11:31][C][adc:044]: Setting up ADC 'kuchnia-yeelight-ceiling adc1'...
[13:11:31][D][esp-idf:000]: I (652) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
[13:11:31]
[13:11:31][C][adc:083]: ADC 'kuchnia-yeelight-ceiling adc1' setup finished!
[13:11:31][C][adc:044]: Setting up ADC 'kuchnia-yeelight-ceiling adc2'...
[13:11:31][D][esp-idf:000]: I (672) gpio: GPIO[32]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
[13:11:31]
[13:11:31][C][adc:083]: ADC 'kuchnia-yeelight-ceiling adc2' setup finished!
[13:11:31][C][wifi:037]: Setting up WiFi...
[13:11:31][C][wifi:038]: Local MAC: 5C:E5:0C:29:24:A9
[13:11:31][D][esp-idf:000]: I (707) wifi:
[13:11:31][D][esp-idf:000]: wifi driver task: 3ffc20d0, prio:23, stack:6656, core=0
[13:11:31][D][esp-idf:000]:
[13:11:31]
[13:11:31][D][esp-idf:000]: I (716) wifi:
[13:11:31][D][esp-idf:000]: wifi firmware version: eeaa27d
[13:11:31][D][esp-idf:000]:
[13:11:31]
[13:11:31][D][esp-idf:000]: I (733) wifi:
[13:11:31][D][esp-idf:000]: wifi certification version: v7.0
[13:11:31][D][esp-idf:000]:
[13:11:31]
[13:11:31][D][esp-idf:000]: I (744) wifi:
[13:11:31][D][esp-idf:000]: config NVS flash: enabled
[13:11:31][D][esp-idf:000]:
[13:11:31]
[13:11:31][D][esp-idf:000]: I (754) wifi:
[13:11:31][D][esp-idf:000]: config nano formating: disabled
[13:11:31][D][esp-idf:000]:
[13:11:31]
[13:11:31][D][esp-idf:000]: I (765) wifi:
[13:11:31][D][esp-idf:000]: Init data frame dynamic rx buffer num: 32
[13:11:31][D][esp-idf:000]:
[13:11:31]
[13:11:31][D][esp-idf:000]: I (785) wifi:
[13:11:31][D][esp-idf:000]: Init management frame dynamic rx buffer num: 32
[13:11:31][D][esp-idf:000]:
[13:11:31]
[13:11:31][D][esp-idf:000]: I (795) wifi:
[13:11:31][D][esp-idf:000]: Init management short buffer num: 32
[13:11:31][D][esp-idf:000]:
[13:11:31]
[13:11:31][D][esp-idf:000]: I (805) wifi:
[13:11:31][D][esp-idf:000]: Init dynamic tx buffer num: 32
[13:11:31][D][esp-idf:000]:
[13:11:31]
[13:11:31][D][esp-idf:000]: I (816) wifi:
[13:11:31][D][esp-idf:000]: Init static rx buffer size: 1600
[13:11:31][D][esp-idf:000]:
[13:11:31]
[13:11:31][D][esp-idf:000]: I (826) wifi:
[13:11:31][D][esp-idf:000]: Init static rx buffer num: 10
[13:11:31][D][esp-idf:000]:
[13:11:31]
[13:11:31][D][esp-idf:000]: I (836) wifi:
[13:11:31][D][esp-idf:000]: Init dynamic rx buffer num: 32
[13:11:31][D][esp-idf:000]:
[13:11:31]
[13:11:31][D][esp-idf:000]: I (847) wifi_init: rx ba win: 6
[13:11:31]
[13:11:31][D][esp-idf:000]: I (856) wifi_init: tcpip mbox: 32
[13:11:31]
[13:11:31][D][esp-idf:000]: I (857) wifi_init: udp mbox: 6
[13:11:31]
[13:11:31][D][esp-idf:000]: I (867) wifi_init: tcp mbox: 6
[13:11:31]
[13:11:31][D][esp-idf:000]: I (867) wifi_init: tcp tx win: 5744
[13:11:31]
[13:11:31][D][esp-idf:000]: I (877) wifi_init: tcp rx win: 5744
[13:11:31]
[13:11:31][D][esp-idf:000]: I (887) wifi_init: tcp mss: 1440
[13:11:31]
[13:11:31][D][esp-idf:000]: I (897) wifi_init: WiFi IRAM OP enabled
[13:11:31]
[13:11:31][D][esp-idf:000]: I (897) wifi_init: WiFi RX IRAM OP enabled
[13:11:31]
[13:11:31][D][esp-idf:000]: I (909) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
[13:11:31]
[13:11:31][D][esp-idf:000]: W (918) phy_init: failed to load RF calibration dat
[13:11:31]abort() was called at PC 0x400ecfdb on core 0
[13:11:31]
[13:11:31]
[13:11:32]Backtrace:0x40082036:0x3ffc1e900x40088399:0x3ffc1eb0 0x4008e3e6:0x3ffc1ed0 0x400ecfdb:0x3ffc1f40 0x40141324:0x3ffc1f80 0x401413e9:0x3ffc1fb0 0x40120d56:0x3ffc1fd0 0x401214c9:0x3ffc1ff0 0x4011fdac:0x3ffc2010 0x4008fd61:0x3ffc2030
WARNING Found stack trace! Trying to decode it
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
[13:11:32]
[13:11:32]
[13:11:32]
[13:11:32]
[13:11:32]ELF file SHA256: 67087a46284a5974
[13:11:32]
[13:11:32]Rebooting...
[13:11:32]ets Jun 8 2016 00:22:57
[13:11:32]
[13:11:32]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[13:11:32]configsip: 0, SPIWP:0xee
[13:11:32]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[13:11:32]mode:DIO, clock div:2
[13:11:32]load:0x3fff0018,len:4
[13:11:32]load:0x3fff001c,len:1044
[13:11:32]load:0x40078000,len:8896
[13:11:32]load:0x40080400,len:5828
[13:11:32]entry 0x400806ac[13:11:31][D][esp-idf:000]: W (918) phy_init: failed to load RF calibration dat
[13:11:31]abort() was called at PC 0x400ecfdb on core 0
[13:11:31]
[13:11:31]
[13:11:32]Backtrace:0x40082036:0x3ffc1e900x40088399:0x3ffc1eb0 0x4008e3e6:0x3ffc1ed0 0x400ecfdb:0x3ffc1f40 0x40141324:0x3ffc1f80 0x401413e9:0x3ffc1fb0 0x40120d56:0x3ffc1fd0 0x401214c9:0x3ffc1ff0 0x4011fdac:0x3ffc2010 0x4008fd61:0x3ffc2030
WARNING Found stack trace! Trying to decode it
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
/root/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-addr2line: '/config/.esphome/build/kuchnia-yeelight-ceiling/.pioenvs/kuchnia-yeelight-ceiling/firmware.elf': No such file
[13:11:32]I (308) cpu_start: Pro cpu up.
[13:11:32]I (308) cpu_start: Single core mode
[13:11:32]I (316) cpu_start: Pro cpu start user code
[13:11:32]I (316) cpu_start: cpu freq: 160000000
[13:11:32]I (316) cpu_start: Application information:
[13:11:32]I (321) cpu_start: Project name: kuchnia-yeelight-ceiling
[13:11:32]I (327) cpu_start: App version: 2022.12.1
[13:11:32]I (332) cpu_start: Compile time: Dec 18 2022 13:39:57
[13:11:32]I (338) cpu_start: ELF file SHA256: 67087a46284a5974...
[13:11:32]I (344) cpu_start: ESP-IDF: 4.4.2
[13:11:32]I (349) heap_init: Initializing. RAM available for dynamic allocation:
[13:11:32]I (356) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
logs_cli_esphome.txt logs_uart.txt
My other ESP32s work after updating to 2022.12 without a problem (esp32-wroom).
Looking at these cli logs.. I compiled the firmware on a separate instance on docker and install fw via uart. The lamp works! So this is my problem with the HA addon
Still having this issue when ota'ing from HA addon, even after cleaning all related files... Well, here we go again opening and flashing
You can find some details about the root cause here: https://github.com/mmakaay/esphome-xiaomi_bslamp2/issues/104
I've updated the example configurations of the project accordingly to avoid this issue. With the next ESPHome release the issue should be fixed without touching the config YAML.
My recommendation: Don't update your Yeelights to ESPHome 2022.12 if possible and wait for 2023.1.
I can confirm that it is not a good idea to update now. my mi desklamp pro has the same behavior. I flashed the file with the fix via esphome web flasher and I am in a constant bootloop no matter what. (the same without the fix) esphome 12.8
Additional Note: I had no brick before, I have immediately flashed from a working firmware to a brick with a yaml file that already had the fix already applied. For anyone in the same boat: https://github.com/mmakaay/esphome-xiaomi_bslamp2/issues/104#issuecomment-1356182034 This revived my lamp. Only after doing like described in this comment got the yaml file with the fix working.
Fixed in 2023.2.x! You can remove the workaround. Flashed it with dev without workaround from bootloop state, then ota'd it to 2023.2.1 via my main esphome (dashboard), still working!
Don't forget to clean build files up front!
Thanks! I will give it a try this weekend on an easily accessible/recoverable lamp. :-)
My lamp updated without a fix to 2023.2 without any problems.
Hi, I have a problem with the lamp after updating to esphome version 2022.12 it goes into bootloop. Anyone else noticed problems? The config and serial logs are attached. Unfortunately, I had to disassemble the lamp and flash the 2022.11.5 version. serial_logs_reboot.txt