Skip to content

WiFi (re)connection improvements #24

Closed

Description

@pete111

Hi @Aircoookie ,
I found out, if I power cycle router and Wled at the same time, Wled boots up much faster than router but after that Wled is not trying to connect to wifi once available (once router is fully booted up). It is just minot issue, so I just wanted to let you know. :)

Activity

  1. Aircoookie commented on Jun 13, 2018

    @Aircoookie
    Member

    Hi Pete,

    this is normal for now :)

    On boot, WLED tries to connect to the router. If that's unsuccessful (because the router has not yet booted up yet), after a set timeout, it will open its "WLED-AP" access point. You can set this timeout in the Wifi settings "Try connecting before opening AP for x s". A high number (like >100 seconds) will give your router enough time to boot up, but also means you'll have to wait that long for the access point to open if you want to use WLED without your home network. However, if WLED manages to connect to your router on boot and your router goes offline after that, the ESP automatically reconnects.

    I know this is not how most WiFi devices behave and it's already on my list to improve this behavior ("if WiFi is configured, but not connected, and AP is on, then try to connect every 30 seconds" or something like that)

    Thank you :)

  2. changed the title [-]connec to wifi after "global" power cycle[/-] [+]WiFi (re)connection improvements[/+] on Jun 13, 2018
  3. Aircoookie commented on Oct 25, 2019

    @Aircoookie
    Member

    This should now work in latest master! Releasing 0.8.6 today or tomorrow!

  4. added a commit that references this issue on Apr 8, 2020
  5. added a commit that references this issue on May 16, 2020
  6. added a commit that references this issue on Aug 10, 2022
  7. added a commit that references this issue on Aug 14, 2023
  8. added a commit that references this issue on Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions