Open Levenale opened 2 years ago
Summary: I looked at release notes for similar changes, and then walked backward on releases until I was successfully able to load and execute the basic yaml on 1.18.0.
Did some looking around in the release notes and noticed:
which went into the 2021.10.4 release.
I reverted esphome==2021.9.3
Tagged a clean build and attempted a build / install.
Got the following error:
"Library Manager: Installing Hash
Warning! Could not find the package with 'Hash' requirements for your system 'linux_x86_64'
Result was to still have the panic, but did not get the ESP8266WiFi error.
Hard resetting via RTS pin...
========================= [SUCCESS] Took 58.08 seconds =========================
INFO Successfully uploaded program.
INFO Starting log output from /dev/ttyUSB0 with baud rate 115200
[19:02:43][I][logger:174]: Log initialized
[19:02:43][C][ota:379]: There have been 0 suspected unsuccessful boot attempts.
[19:02:43][I][app:029]: Running through setup()...
[19:02:43][C][wifi:037]: Setting up WiFi...
[19:02:43][D][wifi:382]: Starting scan...
[19:02:44]Guru Meditation Error: Core panic'ed (Interrupt wdt timeout on CPU1)
[19:02:44]Core 1 register dump:
[19:02:44]PC 0x4000c71 PS 0x00060034 A0 0x8008ac A1 0x3fbb0
[19:02:44]A2 0x3fb058 A3 0x3f17fc A4 0x00000014 A5 0x3fbe0
[19:02:44]A6 0x3fbe8 A7 0x00000001 A8 0x00000001 A9 0x3f17fd
[19:02:44]A10 0x000000a A11 0x00000000 A12 0x8008b77 A13 0x3fbe0
[19:02:44]A14 0x00000008 A15 0x00000001 SAR 0x0000001e EXCCAUSE 0x00000006
[19:02:44]EXCVADDR 0x00000000 LBEG 0x4000ce LEND 0x4000cf LCOUNT 0xffff
[19:02:44]
[19:02:44]ELF file SHA256: 000000000000000
[19:02:44]
[19:02:44]Backtrace:0x4000c71:0x3fbb00x4008ab:0x3fbb00x4008c68:0x3fbb00x4008c1e0x000004a
[19:02:44]
[19:02:44]ore 0 register dump:
[19:02:44]PC 0x40086f6 PS 0x00060d4 A0 0x80089c9 A1 0x3fbf0
[19:02:44]A2 0x3fbc8 A3 0x3fb208 A4 0x00000000 A5 0x0000001a
[19:02:44]A6 0x40083f8 A7 0x3fc45c A8 0x3f0cc A9 0x3fbf0
[19:02:44]A10 0x00000017 A11 0x00000000 A12 0x3fbf4 A13 0x00000040
[19:02:44]A14 0x00000000 A15 0x3fb204 SAR 0x0000001e EXCCAUSE 0x00000006
[19:02:44]EXCVADDR 0x00000000 LBEG 0x4000ce LEND 0x4000cf LCOUNT 0xffff
[19:02:44]
[19:02:44]ELF file SHA256: 000000000000000
[19:02:44]
[19:02:44]Backtrace:0x40086f6:0x3fbf00x40089c6:0x3fbf0
[19:02:44]
[19:02:44]Rebooting...
Next, reverted esphome==2021.8.2
received same package error and panic.
Next reverted esphome==1.20.4
same library error for Hash, same panic.
Next reverted to esphome==1.19.4
same library error for hash, same panic, but better output:
Library Manager: Installing Hash
Library Manager: Warning! Could not install dependency {'name': 'Hash', 'platforms': ['espressif8266']} for package 'ESPAsyncWebServer-esphome'
Library Manager: Installing Hash
Warning! Could not find the package with 'Hash' requirements for your system 'linux_x86_64'
And crash output:
Hard resetting via RTS pin...
========================= [SUCCESS] Took 50.44 seconds =========================
INFO Successfully uploaded program.
INFO Starting log output from /dev/ttyUSB0 with baud rate 115200
[19:27:14][I][logger:170]: Log initialized
[19:27:14][C][ota:366]: There have been 4 suspected unsuccessful boot attempts.
[19:27:14][I][app:029]: Running through setup()...
[19:27:14][C][wifi:037]: Setting up WiFi...
[19:27:14][D][wifi:365]: S\xccf\x86\xf8~\x86\x9e\xf8\x9e~\x81scan...
[19:27:15]\xe0|\xf0\xf8\xf0\xf0\xf0\xe0 Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
[19:27:15]Memory dump at 0x4008aa9c: 08e0d73d 00f01d00 56004136
[19:27:15]Core 1 register dump:
[19:27:15]PC : 0x4008aaa1 PS : 0x00060c33 A0 : 0x4008c437 A1 : 0x3ffb1d60
INFO Need to fetch platformio IDE-data, please stand by
INFO Running: platformio run -d /home/xxxx/ESPhome/config/powermon1 -t idedata
WARNING Decoded 0x4008aaa1: vTaskSwitchContext at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/tasks.c:3507
[19:27:16]A2 : 0x00050c23 A3 : 0x3ffb8058 A4 : 0x3ffc7878 A5 : 0x00000000
[19:27:16]A6 : 0x3ffb8778 A7 : 0x00000449 A8 : 0x8008aaa1 A9 : 0x3ffb1d50
[19:27:16]A10 : 0x00000003 A11 : 0x00060c23 A12 : 0x00060c23 A13 : 0x3ffb8058
[19:27:16]A14 : 0x00000000 A15 : 0x00000000 SAR : 0x0000001b EXCCAUSE: 0x00000000
[19:27:16]EXCVADDR: 0x00000000 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
[19:27:16]
[19:27:16]ELF file SHA256: 0000000000000000
[19:27:16]
[19:27:16]Backtrace: 0x4008aaa1:0x3ffb1d60 0x4008c434:0x3ffb1d80 0x4008c4c5:0x3ffb1da0 0x400da6a1:0x3ffb1dc0 0x400dbac2:0x3ffb1e10 0x400e6522:0x3ffb1fb0 0x40089c82:0x3ffb1fd0
WARNING Found stack trace! Trying to decode it
WARNING Decoded 0x4008aaa1: vTaskSwitchContext at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/tasks.c:3507
WARNING Decoded 0x4008c434: _frxt_dispatch at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/portasm.S:406
WARNING Decoded 0x4008c4c5: vPortYield at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/portasm.S:555
WARNING Decoded 0x400da6a1: esphome::Application::setup() at /home/xxxx/ESPhome/config/powermon1/src/esphome/core/application.cpp:55
WARNING Decoded 0x400dbac2: setup() at /home/xxxx/ESPhome/config/powermon1/src/main.cpp:106
WARNING Decoded 0x400e6522: loopTask(void*) at /home/xxxx/.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:18
WARNING Decoded 0x40089c82: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)
[19:27:16]
[19:27:16]Rebooting...
[19:27:16]ets Jun 8 2016 00:22:57
[19:27:16]
[19:27:16]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[19:27:16]configsip: 0, SPIWP:0xee
[19:27:16]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[19:27:16]mode:DIO, clock div:2
[19:27:16]load:0x3fff0018,len:4
[19:27:16]load:0x3fff001c,len:1044
[19:27:16]load:0x40078000,len:10124
[19:27:16]load:0x40080400,len:5828
[19:27:16]entry 0x400806a8
[19:27:16][I][logger:170]: Log initialized
[19:27:16][C][ota:366]: There have been 5 suspected unsuccessful boot attempts.
[19:27:16][I][app:029]: Running through setup()...
[19:27:16][C][wifi:037]: Setting up WiFi...
[19:27:16][D][wifi:365]: Starting scan...
[19:27:18][D][wifi:380]: Found networks:
[19:27:18][I][wifi:426]: - 'xxx' [redacted]▂▄▆█
[19:27:18][D][wifi:427]: Channel: 1
[19:27:18]x8d\xe0\xe0\xfc 28]: RSSI: -66 dB
[19:27:18][I][wifi:235]: WiFi Connecting to 'xxxx'...
[19:27:19]Guru Meditation Error: Core panic'ed (Interrupt wdt timeout on CPU0)
[19:27:19]Core 0 register dump:
[19:27:19]PC 0x400833b PS 0x00060b4 A0 0x80083d4 A1 0x3fbf0
[19:27:19]A2 0x000908f A3 0x00060b3 A4 0x00060b0 A5 0x00000001
[19:27:19]A6 0x00060f0 A7 0x00000000 A8 0x40145cc A9 0x00060b3
[19:27:19]A10 0x00000001 A11 0x3fb0b A12 0x00000001 A13 0x00000001
[19:27:19]A14 0x00060b0 A15 0x00000000 SAR 0x0000001d EXCCAUSE 0x00000005
[19:27:19]EXCVADDR 0x00000000 LBEG 0x4000ce LEND 0x4000cf LCOUNT 0xffff
[19:27:19]
[19:27:19]ELF file SHA256: 000000000000000
[19:27:19]
[19:27:19]Backtrace:0x400833b:0x3fbf00x40083d1:0x3fbf0 0x4011253a0x3fbf0 0x40116d7:0x3fbf0 0x40089c2:0x3fb020
[19:27:19]
[19:27:19]ore 1 register dump:
[19:27:19]PC 0x4000c71 PS 0x00060034 A0 0x8008a8c A1 0x3fbc0
[19:27:19]A2 0x3fb058 A3 0x3f18b4 A4 0x00000014 A5 0x3fbe0
[19:27:19]A6 0x3fbe8 A7 0x00000001 A8 0x00000001 A9 0x3f18b5
[19:27:19]A10 0x000000a A11 0x00000000 A12 0x8008b43 A13 0x3fbe0
[19:27:19]A14 0x00000008 A15 0x00000001 SAR 0x0000001e EXCCAUSE 0x00000005
[19:27:19]EXCVADDR 0x00000000 LBEG 0x4000ce LEND 0x4000cf LCOUNT 0xffff
[19:27:19]
[19:27:19]ELF file SHA256: 000000000000000
[19:27:19]
[19:27:19]Backtrace:0x4000c71:0x3fbc00x4008a89:0x3fbc00x4008c34:0x3fbc00x4008ce:0x00000020
[19:27:19]
[19:27:19]Rebooting...
Next reverted to esphome==1.18.0. Got the same 'Hash' library error, however this time I was able to successfully load and run.
This is the full log file of that load:
INFO Reading configuration /home/xxxx/ESPhome/config/powermon1.yaml...
INFO Generating C++ source...
INFO Core config or version changed, cleaning build files...
INFO Compiling app...
INFO Running: platformio run -d /home/xxxx/ESPhome/config/powermon1
********************************************************************************
Obsolete PIO Core v5.1.1 is used (previous was 5.2.3)
Please remove multiple PIO Cores from a system:
https://docs.platformio.org/page/faq.html#multiple-platformio-cores-in-a-system
********************************************************************************
Processing powermon1 (board: nodemcu-32s; framework: arduino; platform: platformio/espressif32@3.0.0)
--------------------------------------------------------------------------------
Platform Manager: Installing platformio/espressif32 @ 3.0.0
Downloading [####################################] 100%
Platform Manager: espressif32 @ 3.0.0 has been installed!
The platform 'platformio/espressif32@3.0.0' has been successfully installed!
The rest of the packages will be installed later depending on your build environment.
Tool Manager: Installing platformio/framework-arduinoespressif32 @ ~3.10004.191002
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: framework-arduinoespressif32 @ 3.10004.210126 has been installed!
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
PACKAGES:
- framework-arduinoespressif32 3.10004.210126 (1.0.4)
- tool-esptoolpy 1.30000.201119 (3.0.0)
- toolchain-xtensa32 2.50200.97 (5.2.0)
Library Manager: Installing esphome/AsyncTCP-esphome @ 1.2.2
Library Manager: AsyncTCP-esphome @ 1.2.2 has been installed!
Library Manager: Installing ESPAsyncWebServer-esphome @ 1.2.7
Library Manager: Warning! More than one package has been found by ESPAsyncWebServer-esphome @ 1.2.7 requirements:
- esphome/ESPAsyncWebServer-esphome @ 2.1.0
- ottowinter/ESPAsyncWebServer-esphome @ 2.1.0
Library Manager: Please specify detailed REQUIREMENTS using package owner and version (showed above) to avoid name conflicts
Library Manager: ESPAsyncWebServer-esphome @ 1.2.7 has been installed!
Library Manager: Installing dependencies...
Library Manager: Installing ESPAsyncTCP-esphome
Library Manager: ESPAsyncTCP-esphome @ 1.2.3 has been installed!
Library Manager: Installing Hash
Library Manager: Warning! Could not install dependency {'name': 'Hash', 'platforms': ['espressif8266']} for package 'ESPAsyncWebServer-esphome'
Library Manager: Installing Hash
Warning! Could not find the package with 'Hash' requirements for your system 'linux_x86_64'
Dependency Graph
|-- <AsyncTCP-esphome> 1.2.2
|-- <FS> 1.0
|-- <ESPAsyncWebServer-esphome> 1.2.7
| |-- <AsyncTCP-esphome> 1.2.2
| |-- <FS> 1.0
| |-- <WiFi> 1.0
|-- <ESPmDNS> 1.0
| |-- <WiFi> 1.0
|-- <DNSServer> 1.1.0
| |-- <WiFi> 1.0
|-- <Update> 1.0
|-- <WiFi> 1.0
Compiling .pioenvs/powermon1/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/powermon1/src/esphome/components/api/api_pb2.cpp.o
Compiling .pioenvs/powermon1/src/esphome/components/api/api_pb2_service.cpp.o
Compiling .pioenvs/powermon1/src/esphome/components/api/api_server.cpp.o
Compiling .pioenvs/powermon1/src/esphome/components/api/list_entities.cpp.o
Compiling .pioenvs/powermon1/src/esphome/components/api/proto.cpp.o
Compiling .pioenvs/powermon1/src/esphome/components/api/subscribe_state.cpp.o
Compiling .pioenvs/powermon1/src/esphome/components/api/user_services.cpp.o
Compiling .pioenvs/powermon1/src/esphome/components/api/util.cpp.o
Compiling .pioenvs/powermon1/src/esphome/components/captive_portal/captive_portal.cpp.o
Compiling .pioenvs/powermon1/src/esphome/components/logger/logger.cpp.o
Compiling .pioenvs/powermon1/src/esphome/components/ota/ota_component.cpp.o
Compiling .pioenvs/powermon1/src/esphome/components/web_server_base/web_server_base.cpp.o
Compiling .pioenvs/powermon1/src/esphome/components/wifi/wifi_component.cpp.o
Compiling .pioenvs/powermon1/src/esphome/components/wifi/wifi_component_esp32.cpp.o
Compiling .pioenvs/powermon1/src/esphome/components/wifi/wifi_component_esp8266.cpp.o
Compiling .pioenvs/powermon1/src/esphome/core/application.cpp.o
Compiling .pioenvs/powermon1/src/esphome/core/component.cpp.o
Compiling .pioenvs/powermon1/src/esphome/core/controller.cpp.o
Compiling .pioenvs/powermon1/src/esphome/core/esphal.cpp.o
Compiling .pioenvs/powermon1/src/esphome/core/helpers.cpp.o
Compiling .pioenvs/powermon1/src/esphome/core/log.cpp.o
Compiling .pioenvs/powermon1/src/esphome/core/preferences.cpp.o
Compiling .pioenvs/powermon1/src/esphome/core/scheduler.cpp.o
Compiling .pioenvs/powermon1/src/esphome/core/util.cpp.o
Compiling .pioenvs/powermon1/src/main.cpp.o
Generating partitions .pioenvs/powermon1/partitions.bin
Compiling .pioenvs/powermon1/libbcf/AsyncTCP-esphome/AsyncTCP.cpp.o
Compiling .pioenvs/powermon1/lib243/FS/FS.cpp.o
Compiling .pioenvs/powermon1/lib243/FS/vfs_api.cpp.o
Compiling .pioenvs/powermon1/libf6f/WiFi/ETH.cpp.o
Archiving .pioenvs/powermon1/libbcf/libAsyncTCP-esphome.a
Compiling .pioenvs/powermon1/libf6f/WiFi/WiFi.cpp.o
Indexing .pioenvs/powermon1/libbcf/libAsyncTCP-esphome.a
Compiling .pioenvs/powermon1/libf6f/WiFi/WiFiAP.cpp.o
Archiving .pioenvs/powermon1/lib243/libFS.a
Indexing .pioenvs/powermon1/lib243/libFS.a
Compiling .pioenvs/powermon1/libf6f/WiFi/WiFiClient.cpp.o
Compiling .pioenvs/powermon1/libf6f/WiFi/WiFiGeneric.cpp.o
Compiling .pioenvs/powermon1/libf6f/WiFi/WiFiMulti.cpp.o
Compiling .pioenvs/powermon1/libf6f/WiFi/WiFiSTA.cpp.o
Compiling .pioenvs/powermon1/libf6f/WiFi/WiFiScan.cpp.o
Compiling .pioenvs/powermon1/libf6f/WiFi/WiFiServer.cpp.o
Compiling .pioenvs/powermon1/libf6f/WiFi/WiFiUdp.cpp.o
Compiling .pioenvs/powermon1/libd48/ESPAsyncWebServer-esphome/AsyncEventSource.cpp.o
Compiling .pioenvs/powermon1/libd48/ESPAsyncWebServer-esphome/AsyncWebSocket.cpp.o
Compiling .pioenvs/powermon1/libd48/ESPAsyncWebServer-esphome/SPIFFSEditor.cpp.o
Archiving .pioenvs/powermon1/libf6f/libWiFi.a
Indexing .pioenvs/powermon1/libf6f/libWiFi.a
Compiling .pioenvs/powermon1/libd48/ESPAsyncWebServer-esphome/WebAuthentication.cpp.o
Compiling .pioenvs/powermon1/libd48/ESPAsyncWebServer-esphome/WebHandlers.cpp.o
Compiling .pioenvs/powermon1/libd48/ESPAsyncWebServer-esphome/WebRequest.cpp.o
Compiling .pioenvs/powermon1/libd48/ESPAsyncWebServer-esphome/WebResponses.cpp.o
Compiling .pioenvs/powermon1/libd48/ESPAsyncWebServer-esphome/WebServer.cpp.o
Compiling .pioenvs/powermon1/lib0c7/ESPmDNS/ESPmDNS.cpp.o
Compiling .pioenvs/powermon1/libbf7/DNSServer/DNSServer.cpp.o
Archiving .pioenvs/powermon1/lib0c7/libESPmDNS.a
Indexing .pioenvs/powermon1/lib0c7/libESPmDNS.a
Compiling .pioenvs/powermon1/libe0b/Update/Updater.cpp.o
Archiving .pioenvs/powermon1/libFrameworkArduinoVariant.a
Indexing .pioenvs/powermon1/libFrameworkArduinoVariant.a
Archiving .pioenvs/powermon1/libd48/libESPAsyncWebServer-esphome.a
Indexing .pioenvs/powermon1/libd48/libESPAsyncWebServer-esphome.a
Compiling .pioenvs/powermon1/FrameworkArduino/Esp.cpp.o
Compiling .pioenvs/powermon1/FrameworkArduino/FunctionalInterrupt.cpp.o
Archiving .pioenvs/powermon1/libbf7/libDNSServer.a
Indexing .pioenvs/powermon1/libbf7/libDNSServer.a
Compiling .pioenvs/powermon1/FrameworkArduino/HardwareSerial.cpp.o
Archiving .pioenvs/powermon1/libe0b/libUpdate.a
Compiling .pioenvs/powermon1/FrameworkArduino/IPAddress.cpp.o
Indexing .pioenvs/powermon1/libe0b/libUpdate.a
Compiling .pioenvs/powermon1/FrameworkArduino/IPv6Address.cpp.o
Compiling .pioenvs/powermon1/FrameworkArduino/MD5Builder.cpp.o
Compiling .pioenvs/powermon1/FrameworkArduino/Print.cpp.o
Compiling .pioenvs/powermon1/FrameworkArduino/Stream.cpp.o
Compiling .pioenvs/powermon1/FrameworkArduino/StreamString.cpp.o
Compiling .pioenvs/powermon1/FrameworkArduino/WMath.cpp.o
Compiling .pioenvs/powermon1/FrameworkArduino/WString.cpp.o
Compiling .pioenvs/powermon1/FrameworkArduino/base64.cpp.o
Compiling .pioenvs/powermon1/FrameworkArduino/cbuf.cpp.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-adc.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-bt.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-cpu.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-dac.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-gpio.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-i2c.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-ledc.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-matrix.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-misc.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-psram.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-rmt.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-sigmadelta.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-spi.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-time.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-timer.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-touch.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/esp32-hal-uart.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/libb64/cdecode.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/libb64/cencode.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/main.cpp.o
Compiling .pioenvs/powermon1/FrameworkArduino/stdlib_noniso.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/wiring_pulse.c.o
Compiling .pioenvs/powermon1/FrameworkArduino/wiring_shift.c.o
Archiving .pioenvs/powermon1/libFrameworkArduino.a
Indexing .pioenvs/powermon1/libFrameworkArduino.a
Linking .pioenvs/powermon1/firmware.elf
Building .pioenvs/powermon1/firmware.bin
Retrieving maximum program size .pioenvs/powermon1/firmware.elf
Checking size .pioenvs/powermon1/firmware.elf
RAM: [= ] 12.9% (used 42304 bytes from 327680 bytes)
Flash: [===== ] 47.5% (used 872394 bytes from 1835008 bytes)
======================== [SUCCESS] Took 102.12 seconds ========================
INFO Successfully compiled program.
INFO Running: platformio run -d /home/xxxx/ESPhome/config/powermon1 -t upload --upload-port /dev/ttyUSB0
********************************************************************************
Obsolete PIO Core v5.1.1 is used (previous was 5.2.3)
Please remove multiple PIO Cores from a system:
https://docs.platformio.org/page/faq.html#multiple-platformio-cores-in-a-system
********************************************************************************
Processing powermon1 (board: nodemcu-32s; framework: arduino; platform: platformio/espressif32@3.0.0)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
PACKAGES:
- framework-arduinoespressif32 3.10004.210126 (1.0.4)
- tool-esptoolpy 1.30000.201119 (3.0.0)
- tool-mkspiffs 2.230.0 (2.30)
- toolchain-xtensa32 2.50200.97 (5.2.0)
Library Manager: Installing Hash
Warning! Could not find the package with 'Hash' requirements for your system 'linux_x86_64'
Dependency Graph
|-- <AsyncTCP-esphome> 1.2.2
|-- <FS> 1.0
|-- <ESPAsyncWebServer-esphome> 1.2.7
| |-- <AsyncTCP-esphome> 1.2.2
| |-- <FS> 1.0
| |-- <WiFi> 1.0
|-- <ESPmDNS> 1.0
| |-- <WiFi> 1.0
|-- <DNSServer> 1.1.0
| |-- <WiFi> 1.0
|-- <Update> 1.0
|-- <WiFi> 1.0
Retrieving maximum program size .pioenvs/powermon1/firmware.elf
Checking size .pioenvs/powermon1/firmware.elf
RAM: [= ] 12.9% (used 42304 bytes from 327680 bytes)
Flash: [===== ] 47.5% (used 872394 bytes from 1835008 bytes)
Configuring upload protocol...
AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esptool
Looking for upload port...
Use manually specified: /dev/ttyUSB0
Uploading .pioenvs/powermon1/firmware.bin
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 94:b9:7e:e9:4f:b8
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 15872 bytes to 10319...
Writing at 0x00001000... (100 %)
Wrote 15872 bytes (10319 compressed) at 0x00001000 in 0.9 seconds (effective 139.3 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 144...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (144 compressed) at 0x00008000 in 0.0 seconds (effective 1467.7 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 7967.2 kbit/s)...
Hash of data verified.
Compressed 872512 bytes to 487065...
Writing at 0x00010000... (3 %)
Writing at 0x00014000... (6 %)
Writing at 0x00018000... (10 %)
Writing at 0x0001c000... (13 %)
Writing at 0x00020000... (16 %)
Writing at 0x00024000... (20 %)
Writing at 0x00028000... (23 %)
Writing at 0x0002c000... (26 %)
Writing at 0x00030000... (30 %)
Writing at 0x00034000... (33 %)
Writing at 0x00038000... (36 %)
Writing at 0x0003c000... (40 %)
Writing at 0x00040000... (43 %)
Writing at 0x00044000... (46 %)
Writing at 0x00048000... (50 %)
Writing at 0x0004c000... (53 %)
Writing at 0x00050000... (56 %)
Writing at 0x00054000... (60 %)
Writing at 0x00058000... (63 %)
Writing at 0x0005c000... (66 %)
Writing at 0x00060000... (70 %)
Writing at 0x00064000... (73 %)
Writing at 0x00068000... (76 %)
Writing at 0x0006c000... (80 %)
Writing at 0x00070000... (83 %)
Writing at 0x00074000... (86 %)
Writing at 0x00078000... (90 %)
Writing at 0x0007c000... (93 %)
Writing at 0x00080000... (96 %)
Writing at 0x00084000... (100 %)
Wrote 872512 bytes (487065 compressed) at 0x00010000 in 42.9 seconds (effective 162.6 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
========================= [SUCCESS] Took 48.49 seconds =========================
INFO Successfully uploaded program.
INFO Starting log output from /dev/ttyUSB0 with baud rate 115200
[19:45:46][I][logger:170]: Log initialized
[19:45:46][C][ota:366]: There have been 6 suspected unsuccessful boot attempts.
[19:45:46][I][app:029]: Running through setup()...
[19:45:46][C][wifi:033]: Setting up WiFi...
[19:45:48][D][wifi:324]: Starting scan...x98\x9ef\x80\x98\x80[D][wifi:339]: Found networks:
[19:45:48][I][wifi:385]: - 'xxx' [redacted]▂▄▆█
[19:45:48][D][wifi:386]: Channel: 1
[19:45:48]xf3\x98xx\x98\x9e\xe6\x9e`\xe6f\xaeW˥\xe9387]: RSSI: -68 dB
[19:45:48][I][wifi:194]: WiFi Connecting to 'xxx'...
[19:45:50][W][wifi_esp32:409]: Event: Disconnected ssid='xxx' bssid=
[redacted] reason='Auth Expired'
[19:45:50][W][wifi:485]: Error while connecting to network.
[19:45:50][W][wifi:522]: Restarting WiFi adapter...
[19:45:50][I][wifi:194]: WiFi Connecting to 'xxx'...
I'm experiencing the same issue with the same hardware. Thank you for sharing your research.
The problem
I'm a new user to esphome, doing a fresh install and trying to get a basic environment on a Nodemcu-32s board so I can continue building a sensor.
I setup the basic config (see below), built and downloaded with esphome dashboard, and it fails.
Specifics
Specific callouts that I saw in the logs that may be concerning:
Which version of ESPHome has the issue?
2021.11.4
What type of installation are you using?
pip
Which version of Home Assistant has the issue?
n/a
What platform are you using?
ESP32
Board
nodemcu esp32s v1.1
Component causing the issue
appears to be the wifi component as fault occurs immediately after.
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
This does not appear to be the same as issues #1276 or #2302 since they are different boards.