esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
285 stars 34 forks source link

AP not RE-starting after initial start and then STA-wifi temporarily available #5759

Open Hiekkaharju opened 2 weeks ago

Hiekkaharju commented 2 weeks ago

The problem

When both WIFI SSID aka STA-wifi and AP are defined, the sequence: -reset the device when STA-wifi is not available - AP will start after ap_timeout -make STA wifi available - device connects to STA-wifi and stops AP -make STA wifi unavailable - device starts to scan for wifi. AP is not re-started even after much longer time than ap_timeout.

Since I've not noticed this earlier, I'd suspect that this might be a regression due to recent fast connect related changes, but I'm not able to verify that.

Which version of ESPHome has the issue?

2024.4.1

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

No response

What platform are you using?

ESP32

Board

esp32dev (ATOM LITE)

Component causing the issue

wifi

Example YAML snippet

esphome:
  name: test2
  friendly_name: test2

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:
  level: VERY_VERBOSE
  logs:
    api.service: INFO
    api: INFO

# Enable Home Assistant API
api:

ota:

web_server:
   local: true

wifi:
  networks:
    - ssid: !secret wifi_ssid
      password: !secret wifi_password
  ap:
    ssid: "Test2 Fallback Hotspot"

Anything in the logs that might be useful for us?

No response

Additional information

log : 20240503 wo pr test2_logs redact.txt