Sonoff basic cannot connect to wifi after upgrade

I’m upgraded to 2023_10_05 and my sonoff basic cannot connect to wifi:

[19:38:26][D][wifi:443]: Found networks:
[19:38:26][D][wifi:445]:   No network found!

my code is:

esphome:
  name: pompa-recyrkulacja

esp8266:
  board: esp01_1m

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

ota:
  password: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Pompa-Recyrkulacja"
    password: "xxxxxxxx"
    ap_timeout: 10min

# captive_portal:

binary_sensor:
  - platform: gpio
    pin:
      number: GPIO0
      mode: INPUT_PULLUP
      inverted: True
    name: "przycisk pompa recyrkulacja"
    on_press:
      - switch.toggle: przekaznik_pompa_recyrkulacja

switch:
  - platform: gpio
    name: "przekaznik pompa recyrkulacja"
    pin: GPIO12
    id: przekaznik_pompa_recyrkulacja

status_led:
  pin:
    number: GPIO13
    inverted: yes

web_server:
  port: 80

Thank for any help in advance

Maciek

I expect that you get the logs via serial? Did you also use that to install the latest update?

No. I installed previous version update by OTA.
Then I lost communication with sensor - so I disassemble module and flashed it by ESPHome Flasher (as many times before). And on ESPHome Flasher get logs.

You could try to erase the flash of the esp (esptool?) and flash the esphome binary again with the esphome flasher or esphome webtools.

after flashing to latest 2023.11.0 it started to work
thank you for your help

1 Like