Open ghost opened 3 years ago
I upload logs archive here: https://mypower.ml/s/BDykKwZbMN2WzGq If something other needed, I can reproduce (maybe, If I will not disable/reconfigure/reuse AP2 repeater)
wifi source wifi issues wifi recent changes (message by IssueLinks)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I did a workaround by buy new wifi router with wifi3, beamforming etc...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Operating environment/Installation (Hass.io/Docker/pip/etc.): pip ESP (ESP32/ESP8266, Board/Sonoff): Sonoff S20, Nodemcuv2 (esp8266)
ESPHome version (latest production, beta, dev branch) esphome 1.16.2 esptool 2.8
Affected component: https://esphome.io/components/wifi.html?highlight=wifi#wifi-networks
Description of problem:
I configure two APs - AP1 is a root AP and AP2 is an 'extender' AP. In yaml config I set 'networks:' With priority:5 to AP2 and priority:1 to AP1 Then I see a boot loop, while device cannot connect to none as AP2, AP1, and cannot support 'Fallback AP' (because it boot looping indefinitely). Loop looks like this:
[22:33:01][W][wifi_esp8266:194]: wifi_apply_hostname_(nmcu5): lwIP error -16 on interface st (index 0) [W][wifi_esp8266:444]: Event: Disconnected ssid='MikroTik-9E7991' bssid=90:F6:52:E1:41:05 reason='Association Leave' [W][wifi:485]: Error while connecting to network. [W][wifi:522]: Restarting WiFi adapter... [D][wifi:324]: Starting scan...
[wifi:457]: WiFi Connected! .. Exception (28): epc1=0x4021e680 epc2=0x00000000 epc3=0x00000000 excvaddr=0x018101ac depc=0x00000000
[C][ota:366]: There have been 2 suspected unsuccessful boot attempts. [I][app:029]: Running through setup()...
and go to 1between 1 and 2 also I can see :
But it also crash and disconnect when 3 occur (But I have some seconds to connect to 4.1 and if I choose AP1, enter PSK and press 'save' device successfully connects to AP1 and stop boot loop)
Problem-relevant YAML-configuration entries:
Logs (if applicable):
OpenWRT log for this loop:
Also I can see this 'exeption decoder'
And sometimes
[15:32:44][E][ota:371]: Boot loop detected. Proceeding to safe mode.
But this 'safe mode' do not change behaviourAdditional information and things you've tried: