adafruit / circuitpython

CircuitPython - a Python implementation for teaching coding with microcontrollers
https://circuitpython.org
Other
4.05k stars 1.2k forks source link

Web workflow problem with Lolin C3 Mini #9058

Open ldrolez opened 6 months ago

ldrolez commented 6 months ago

CircuitPython version

Adafruit CircuitPython 8.2.10 on 2024-02-14; Wemos Lolin C3 Mini with ESP32-C3FH4

Code/REPL

none

Behavior

The board does not connect to the AP, and web workflow is not started

Description

Additional information

No response

dhalbert commented 6 months ago

Please try 9.0.0-rc.1, and please show us your settings.toml, with the SSID and password redacted.

ldrolez commented 6 months ago
CIRCUITPY_WIFI_SSID = "Myssid-ABCDEF"
CIRCUITPY_WIFI_PASSWORD = "pass with spaces"
CIRCUITPY_WEB_API_PASSWORD = "qwerqwer"
CIRCUITPY_WEB_API_PORT = 80

Ok I'll try the 9.0

ldrolez commented 6 months ago

Adafruit CircuitPython 9.0.0 on 2024-03-19; Wemos Lolin C3 Mini with ESP32-C3FH4

Same problem, manual wifi.radio.connect() works

ldrolez commented 4 months ago

Things seem to be worse with 9.0.4: if I have a settings.toml, Thonny cannot connect to the ESP.

ldrolez commented 4 months ago

Ok with the proper boot.py, the web workflow starts:

import wifi
wifi.radio.tx_power=8.5