Hi,
i would like to ask you. I’ve bought this ESP module
and when i try connect to HA via ESPHome, after step “prepare for first use” everythink is ok, installation was completed, but after that when ESP will try to connect to Wifi, I’ve got “An error occurred. Improv Wi-Fi Serial not detected.”
I’ve tried it many times but still same.
I’ve checked serial monitor and there is log -
22:29:21.908 -> 3fffffb0: 3fffdad0 00000000 3ffefeac 40221be4
22:29:21.938 -> 3fffffc0: feefeffe feefeffe 3fffdab0 40100481
22:29:21.938 -> <<<stack<<<
22:29:21.938 ->
22:29:21.938 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
22:29:21.938 ->
22:29:21.938 -> ets Jan 8 2013,rst cause:4, boot mode:(3,7)
22:29:21.938 ->
22:29:21.938 -> wdt reset
22:29:21.938 -> load 0x4010f000, len 3424, room 16
22:29:21.978 -> tail 0
22:29:21.978 -> chksum 0x2e
22:29:21.978 -> load 0x3fff20b8, len 40, room 8
22:29:21.978 -> tail 0
22:29:21.978 -> chksum 0x2b
22:29:21.978 -> csum 0x2b
22:29:21.978 -> v00068ee0
22:29:21.978 -> ~ld
22:29:22.011 -> n r n| l rlb |r l n n l` r l l e[0;32m[I][logger:034]: Log initializede[0m
22:29:22.075 -> e[0;35m[C][ota:483]: There have been 8 suspected unsuccessful boot attempts.e[0m
22:29:22.075 -> e[0;32m[I][app:029]: Running through setup()...e[0m
22:29:22.075 -> e[0;35m[C][wifi:038]: Setting up WiFi...e[0m
22:29:22.075 -> e[0;35m[C][wifi:051]: Starting WiFi...e[0m
22:29:22.075 -> e[0;35m[C][wifi:052]: Local MAC: 80:64:6F:9F:8D:CBe[0m
22:29:22.075 -> e[0;35m[C][wifi:253]: Setting up AP...e[0m
22:29:22.075 -> e[0;35m[C][wifi:255]: AP SSID: 'esphome-web-9f8dcb'e[0m
22:29:22.075 -> e[0;35m[C][wifi:256]: AP Password: ''e[0m
22:29:22.075 -> e[0;35m[C][wifi:265]: IP Address: 192.168.4.1e[0m
22:29:22.075 -> e[0;36m[D][wifi:462]: Starting scan...e[0m
22:29:22.075 -> e[0;35m[C][web_server:128]: Setting up web server...e[0m
22:29:22.075 -> e
22:29:22.075 -> --------------- CUT HERE FOR EXCEPTION DECODER ---------------
22:29:22.108 -> Exception (9):
22:29:22.108 -> epc1=0x40002ffe epc2=0x00000000 epc3=0x00000000 excvaddr=0x402220b6 depc=0x00000000
22:29:22.108 ->
22:29:22.108 -> >>>stack>>>
22:29:22.108 ->
22:29:22.108 -> ctx: sys
22:29:22.108 -> sp: 3fffebd0 end: 3fffffb6 offset: 0150
22:29:22.108 -> 3fffed20: 000000c0 4023c11a 3fffed90 40221ec0
22:29:22.108 -> 3fffed30: 40252ffc 3ffed6c8 3ffede50 3fff3b3c
22:29:22.143 -> 3fffed40: 00000002 0000001c 40230a3a 00000000
22:29:22.143 -> 3fffed50: 00000000 00000000 00000000 00000000
22:29:22.143 -> 3fffed60: 00000000 40105c4b 3fff2518 3fff01c4
22:29:22.143 -> 3fffed70: 4025d6e0 40230a3a 00000000 00000000
22:29:22.143 -> 3fffed80: 00000000 00000000 00000000 402567ff
22:29:22.143 -> 3fffed90: 00000002 0000001c 40230a3a 00000000
Do you know what is wrong?
Thank you so much.
WallyR
(Wally)
May 23, 2024, 8:06am
2
Post your YAML code too.
I could be you have chosen a board type with too little memory.
It’s without yaml. I’ve just click in HA to ESPHome -
and after that i’ve jsut click to Prepare for first use
Installation was completed and then i’ve got thsi message.
Interesting is that when i tried it first, it worked. I think i have to delete internal memory of ESP, bu i dont know how i can do it.
I have this ESP Universal e-Paper Driver Board with WiFi SoC ESP8266 onboard, supports various Waveshare SPI e-Paper raw panels
Upload a empty file to the esp and start again.
Connect to the server/computer click “edit” delete the lines and click upload.
ok i will try it. Thank you
poudenes
(Poudenes)
May 23, 2024, 8:02pm
9
There is a issue with esphome:
opened 09:31AM - 15 May 24 UTC
### The problem
The issue starts to happen after upgrading to ESPHome 2024.5.… 0.
My LD2410 presence sensors are working fine with version 2024.4.2.
The firmware compilation log is attached: [logs_bedroom-presence-sensor_run.txt](https://github.com/esphome/issues/files/15319373/logs_bedroom-presence-sensor_run.txt)
I will try to rollback now and see if i will be able to recover the sensors.
### Which version of ESPHome has the issue?
2024.5.0
### What type of installation are you using?
Home Assistant Add-on
### Which version of Home Assistant has the issue?
2024.5.3
### What platform are you using?
ESP8266
### Board
D1 Mini (https://www.amazon.de/-/en/gp/product/B0754W6Z2F/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1)
### Component causing the issue
_No response_
### Example YAML snippet
```yaml
esphome:
name: kitchen-presence-sensor
friendly_name: Kitchen Presence Sensor
esp8266:
board: esp01_1m
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "key"
ota:
password: "password"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
power_save_mode: none
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Kitchen-Presence-Sensor"
password: "password"
captive_portal:
uart:
id: uart_bus
tx_pin: GPIO01
rx_pin: GPIO03
baud_rate: 256000
parity: NONE
stop_bits: 1
ld2410:
binary_sensor:
- platform: ld2410
has_target:
name: Presence
has_moving_target:
name: Moving Target
has_still_target:
name: Still Target
sensor:
- platform: wifi_signal
name: "WiFi Signal"
id: wifi_signal_sensor
update_interval: 60s
- platform: ld2410
moving_distance:
name : Moving Distance
still_distance:
name: Still Distance
moving_energy:
name: Move Energy
still_energy:
name: Still Energy
detection_distance:
name: Detection Distance
g0:
move_energy:
name: g0 move energy
still_energy:
name: g0 still energy
g1:
move_energy:
name: g1 move energy
still_energy:
name: g1 still energy
g2:
move_energy:
name: g2 move energy
still_energy:
name: g2 still energy
g3:
move_energy:
name: g3 move energy
still_energy:
name: g3 still energy
g4:
move_energy:
name: g4 move energy
still_energy:
name: g4 still energy
g5:
move_energy:
name: g5 move energy
still_energy:
name: g5 still energy
g6:
move_energy:
name: g6 move energy
still_energy:
name: g6 still energy
g7:
move_energy:
name: g7 move energy
still_energy:
name: g7 still energy
g8:
move_energy:
name: g8 move energy
still_energy:
name: g8 still energy
switch:
- platform: ld2410
engineering_mode:
name: "engineering mode"
number:
- platform: ld2410
timeout:
name: timeout
max_move_distance_gate:
name: max move distance gate
max_still_distance_gate:
name: max still distance gate
g0:
move_threshold:
name: g0 move threshold
still_threshold:
name: g0 still threshold
g1:
move_threshold:
name: g1 move threshold
still_threshold:
name: g1 still threshold
g2:
move_threshold:
name: g2 move threshold
still_threshold:
name: g2 still threshold
g3:
move_threshold:
name: g3 move threshold
still_threshold:
name: g3 still threshold
g4:
move_threshold:
name: g4 move threshold
still_threshold:
name: g4 still threshold
g5:
move_threshold:
name: g5 move threshold
still_threshold:
name: g5 still threshold
g6:
move_threshold:
name: g6 move threshold
still_threshold:
name: g6 still threshold
g7:
move_threshold:
name: g7 move threshold
still_threshold:
name: g7 still threshold
g8:
move_threshold:
name: g8 move threshold
still_threshold:
name: g8 still threshold
button:
- platform: ld2410
factory_reset:
name: "factory reset"
restart:
name: "restart"
query_params:
name: query params
- platform: restart
name: "Restart"
text_sensor:
- platform: ld2410
version:
name: "firmware version"
select:
- platform: ld2410
distance_resolution:
name: "distance resolution"
baud_rate:
name: "baud rate"
```
### Anything in the logs that might be useful for us?
```txt
INFO ESPHome 2024.5.0
INFO Reading configuration /config/esphome/kitchen-presence-sensor.yaml...
INFO Starting log output from 10.10.10.154 using esphome API
INFO Successfully connected to kitchen-presence-sensor @ 10.10.10.154 in 0.003s
WARNING kitchen-presence-sensor @ 10.10.10.154: Connection error occurred: kitchen-presence-sensor @ 10.10.10.154: The connection dropped immediately after encrypted hello; Try enabling encryption on the device or turning off encryption on the client (ESPHome Logs 2024.5.0).
WARNING Can't connect to ESPHome API for kitchen-presence-sensor @ 10.10.10.154: kitchen-presence-sensor @ 10.10.10.154: The connection dropped immediately after encrypted hello; Try enabling encryption on the device or turning off encryption on the client (ESPHome Logs 2024.5.0). (HandshakeAPIError)
INFO Trying to connect to kitchen-presence-sensor @ 10.10.10.154 in the background
INFO Successfully connected to kitchen-presence-sensor @ 10.10.10.154 in 0.003s
WARNING kitchen-presence-sensor @ 10.10.10.154: Connection error occurred: kitchen-presence-sensor @ 10.10.10.154: The connection dropped immediately after encrypted hello; Try enabling encryption on the device or turning off encryption on the client (ESPHome Logs 2024.5.0).
INFO Successfully connected to kitchen-presence-sensor @ 10.10.10.154 in 0.005s
WARNING kitchen-presence-sensor @ 10.10.10.154: Connection error occurred: kitchen-presence-sensor @ 10.10.10.154: The connection dropped immediately after encrypted hello; Try enabling encryption on the device or turning off encryption on the client (ESPHome Logs 2024.5.0).
INFO Successfully connected to kitchen-presence-sensor @ 10.10.10.154 in 0.004s
WARNING kitchen-presence-sensor @ 10.10.10.154: Connection error occurred: kitchen-presence-sensor @ 10.10.10.154: The connection dropped immediately after encrypted hello; Try enabling encryption on the device or turning off encryption on the client (ESPHome Logs 2024.5.0).
INFO Successfully connected to kitchen-presence-sensor @ 10.10.10.154 in 0.004s
WARNING kitchen-presence-sensor @ 10.10.10.154: Connection error occurred: kitchen-presence-sensor @ 10.10.10.154: The connection dropped immediately after encrypted hello; Try enabling encryption on the device or turning off encryption on the client (ESPHome Logs 2024.5.0).
INFO Successfully connected to kitchen-presence-sensor @ 10.10.10.154 in 0.007s
WARNING kitchen-presence-sensor @ 10.10.10.154: Connection error occurred: kitchen-presence-sensor @ 10.10.10.154: The connection dropped immediately after encrypted hello; Try enabling encryption on the device or turning off encryption on the client (ESPHome Logs 2024.5.0).
INFO Successfully connected to kitchen-presence-sensor @ 10.10.10.154 in 0.005s
WARNING kitchen-presence-sensor @ 10.10.10.154: Connection error occurred: kitchen-presence-sensor @ 10.10.10.154: The connection dropped immediately after encrypted hello; Try enabling encryption on the device or turning off encryption on the client (ESPHome Logs 2024.5.0).
INFO Successfully connected to kitchen-presence-sensor @ 10.10.10.154 in 0.004s
WARNING kitchen-presence-sensor @ 10.10.10.154: Connection error occurred: kitchen-presence-sensor @ 10.10.10.154: The connection dropped immediately after encrypted hello; Try enabling encryption on the device or turning off encryption on the client (ESPHome Logs 2024.5.0).
INFO Successfully connected to kitchen-presence-sensor @ 10.10.10.154 in 0.003s
WARNING kitchen-presence-sensor @ 10.10.10.154: Connection error occurred: kitchen-presence-sensor @ 10.10.10.154: The connection dropped immediately after encrypted hello; Try enabling encryption on the device or turning off encryption on the client (ESPHome Logs 2024.5.0).
INFO Successfully connected to kitchen-presence-sensor @ 10.10.10.154 in 0.005s
WARNING kitchen-presence-sensor @ 10.10.10.154: Connection error occurred: kitchen-presence-sensor @ 10.10.10.154: The connection dropped immediately after encrypted hello; Try enabling encryption on the device or turning off encryption on the client (ESPHome Logs 2024.5.0).
INFO Successfully connected to kitchen-presence-sensor @ 10.10.10.154 in 0.004s
WARNING kitchen-presence-sensor @ 10.10.10.154: Connection error occurred: kitchen-presence-sensor @ 10.10.10.154: The connection dropped immediately after encrypted hello; Try enabling encryption on the device or turning off encryption on the client (ESPHome Logs 2024.5.0).
INFO Successfully connected to kitchen-presence-sensor @ 10.10.10.154 in 0.004s
```
### Additional information
_No response_