Skip to content

no WiFi after updating from 14.4 to 15.0 xx beta (esp32-c3 supermini) #4283

Closed

Description

@oltas123

What happened?

no wlan connection after update from 14.4 to 15.0 beta over OTA. Downgrade to 14.4 with the installer also no wlan connection anymore. Only erase over esp32 downlod tool and once again flash the 14.4 solves the problem. Serial Update to 15.0 xx also no wlan AP.

To Reproduce Bug

upgrade esp32-3 supermini to 15.0 xx beta

Expected Behavior

wlan connection possible after update to 15.0 xx

Install Method

Binary from WLED.me

What version of WLED?

15.0 b7

Which microcontroller/board are you seeing the problem on?

ESP32-C3

Relevant log/trace output

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. DedeHai commented on Nov 15, 2024

    @DedeHai
    Collaborator

    some superminis have really bad wifi. did you try them very close to the router?
    if they work then: check if the wifi power on the C3 is set to maximum under wifi settings.

  2. changed the title [-]After update from 14.4 to 15.0 xx beta no wlan esp32-c3 supermini[/-] [+]no WiFi after updating from 14.4 to 15.0 xx beta (esp32-c3 supermini)[/+] on Nov 15, 2024
  3. oltas123 commented on Nov 18, 2024

    @oltas123
    Author

    Supermini is 30cm away from the router. WLED 14.4 info shows signal strength 100%(- 26 dBm). After upgrade to 15.0 b7 again no connection to ESP-C3 and not seen in the router interface. No power settings in webinterface of 14.4. No connection to the web interface of 15.0.

  4. softhack007 commented on Nov 18, 2024

    @softhack007
    Member

    0.14.4 had the LOLIN_WIFI_FIX for all c3 boards, which was limiting power output to WIFI_POWER_8_5dBm. The fix is required for boards with a tiny "crystal" radio, and for boards with an under-sized LDO. Unfortunately both are very common....

    If tx power is too high in some lolin s2 and c3 boards, as well as for "super mini" boards, wifi completely stops working.

    This commit in 0_15 changed the logic: 0af3063 allows users to increase the tx output in wifi settings.

    Unfortunately it means that - if you have a board that needs the fix - changing tx power to max permanently renders your WLED setup unusable. To recover, it's necessary to first erase flash (to remove cfg.json with the bad TX default), then re-install the firmware and start fresh. Uploading a previous cfg.json will trigger the TX power problem again, if this was changed in wifi settings.

  5. softhack007 commented on Nov 18, 2024

    @softhack007
    Member

    @DedeHai, @blazoncek I'm not sure how to solve this problem - once the new tx power setting is put above 8.5db, the cfg.json is "poisoned" and users would need to erase flash. I think that's not a good situation.

    Maybe we can:
    a) enforce a tx power limit when LOLIN_WIFI_FIX is defined, so users are not accidentally overloading their hardware, or
    b) always use limited TX power in AP mode (so user may be able to reconnect to ap)

    Plus the code in improv.cpp for finding nearby wifi networks should also use the limited power output settings.

    What do you guys think?

  6. added
    needs investigation
    on Nov 18, 2024
  7. softhack007 commented on Nov 18, 2024

    @softhack007
    Member

    Update: found this commit in arduino-esp32 espressif/arduino-esp32@c43187a

    To me this suggests that setTxPower is only working once that wifi is fully started - up to ~1 second after the call to wifi.begin(). Maybe the basic wifi class that we used in 0.14 automatically waits, while multiWifi does not wait?

  8. blazoncek commented on Nov 18, 2024

    @blazoncek
    Contributor

    I checked the build environments (for officially released binaries) and C3 does have LOLIN_WIFI_FIX included so default TX power is correct (or good).

    There is also a warning in settings that says:
    Screenshot 2024-11-18 at 21 12 58
    Perhaps it may need to be rephrased into "may become unuseable".

    My own experiments showed that some boards are capable of handling stronger TX power so that was the reason to allow overrides.

    If you take a look at use of WiFi object you can see that setTxPower() is called after begin() or softAP() in all cases (if I read the commit correctly the call fails if WiFi is not initialised). I do not know if adding a wait is possible in WLED code but never notices any issues with current implementation (except perhaps on S3 on which I have given up on as it was very unreliable for me).
    The difference of multiwifi compared to the old "wifi" is the inclusion of multiple configurations but only one is active at any time. The switch to a different configuration takes place if connection cannot be established (retried every 18 s). This was rigorously tested.

    The only way to know for sure what's happening is the inclusion of debug printouts which are not provided by @oltas123

  9. oltas123 commented on Nov 18, 2024

    @oltas123
    Author

    Sorry, i don't know how to get debug printouts.

  10. softhack007 commented on Nov 18, 2024

    @softhack007
    Member

    @oltas123 it's never too late to ask ;-)

    Debug builds are providing additional diagnostic outputs when connected to a serial monitor by USB.
    You can find a few generic debug builds here: https://github.com/srg74/WLED-wemos-shield/tree/master/resources/Firmware/%40Aircoookie/Latest/Debug_builds

    • upload a debug build for your board (OTA or via usb)
    • connect the board to a computer by USB cable
    • start a serial monitor tool (arduino IDE, VSCode, or even putty will do). 115200 baud, 8N1
    • press reset on the board to restart your esp
    • you should see lots of debug messages. Post them here so we can have a look.
  11. blazoncek commented on Nov 19, 2024

    @blazoncek
    Contributor

    I would also like to point out to this.

  12. WouterGritter commented on Nov 19, 2024

    @WouterGritter
    Contributor

    I had the same issue. WiFi would seem to connect, but I got around 20% of pings to go through but the latency was way high. HTTP did not work at all. Fix was to use the compat binary.

    I'm using an ESP8266 and I upgraded from a v14 pre-release to the newest v15 pre-release.

  13. added
    hardware
    on Nov 19, 2024
  14. blazoncek commented on Nov 19, 2024

    @blazoncek
    Contributor

    @WouterGritter please open a new issue (or update existing one for ESP8266), this one is related to newer chips like C3 and S-series that are able to set TX power and use newer libraries.

  15. 7 remaining items

  16. oltas123 commented on Nov 21, 2024

    @oltas123
    Author

    I erased the flash.
    esp-web-tools-logs (1).txt

  17. blazoncek commented on Nov 21, 2024

    @blazoncek
    Contributor

    Everything seems in order (except button allocation /cc @PaoloTK) and AP is supposed to be open.

  18. oltas123 commented on Nov 21, 2024

    @oltas123
    Author

    But no AP appears that you can connect to. Downgrade to 14.4 and all is fine.

  19. blazoncek commented on Nov 21, 2024

    @blazoncek
    Contributor

    @DedeHai you also have C3, can you check on your devices? Mine work as expected (including C3 supermini).
    If they work I would suspect HW issue combined with the newer ESP32 platform (6.3.2) used in 0.15.

  20. blazoncek commented on Nov 21, 2024

    @blazoncek
    Contributor

    @oltas123 did you check forum link?

  21. oltas123 commented on Nov 21, 2024

    @oltas123
    Author

    I checked the link. No success to manual connect over smartphone. But maybe you should close the issue. I stay at 14.4with this board. Thank you for your support.

  22. DedeHai commented on Nov 21, 2024

    @DedeHai
    Collaborator

    I use the latest beta on C3 all the time, but flashed from VScode if that makes a difference. Never noticed any issues with non-working wifi, even when set to max TX power.

  23. blazoncek commented on Nov 21, 2024

    @blazoncek
    Contributor

    @oltas123 you can try and compile 0.15 using older platform for ESP32-C3. Use version 5.3.0 which was used in 0.14.

  24. oltas123 commented on Nov 23, 2024

    @oltas123
    Author

    Thanks all for the help. oltas

  25. blazoncek commented on Nov 23, 2024

    @blazoncek
    Contributor

    You could explain what you did to alleviate your problem if you managed to resolve it.
    Someone else might benefit form it.

  26. oltas123 commented on Nov 24, 2024

    @oltas123
    Author

    Not solved so far. The esp32-c3 super mini passed away during the tests.

  27. oltas123 commented on Nov 25, 2024

    @oltas123
    Author

    Ordered a new ESP32-C3 and all is fine. Update to 15xxbeta works. The board is has a different design.
    IMG_0625

  28. blazoncek commented on Nov 25, 2024

    @blazoncek
    Contributor

    This one still looks as the one with poor antenna design. See the link above.
    Fingers crossed!

  29. added
    connectivity
    on Feb 4, 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

    Labels

    bugconnectivityhardwareneeds investigation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions