Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArduinoOTA makes WiFiConnect fail to remember WiFi settings #6

Open
4 tasks
idea--list opened this issue Apr 12, 2022 · 0 comments
Open
4 tasks

ArduinoOTA makes WiFiConnect fail to remember WiFi settings #6

idea--list opened this issue Apr 12, 2022 · 0 comments

Comments

@idea--list
Copy link

Prerequisites

  • Can you reproduce the problem in safe mode?
  • [x ] Are you running the latest version?
  • Did a recent dependancy update cause the problem?
  • Are you reporting to the correct repository?
  • Did you perform a cursory search?

For more information, see the CONTRIBUTING guide.

Description

Have tried the ArduinoOTA >> BasicOTA example that comes with the ESP8266 arduino core. The OTA function works as expected, however after trying to revert to normal USB cable based flashing of a sketch utilizing WiFiConnectLite the ESP8266 always boots up in AP mode where one can select the Access point and store the password. Serial monitor tells those data get stored but then the ESP8266 reboots and can not connect to the AP, and falls back to STA mode again.
(WifiConnectLite repo does not have its own issue tracking)

After running a sketch utilizing WiFiManager to configure the AP credentials, we can revert back to the sketch utilizing WiFiConnectLite and the ESP8266 will boot in STA as expected.

Steps to Reproduce

  1. Upload the ArduinoOTA >> BasicOTA example to your ESP8266 via USB
  2. Upload the ArduinoOTA >> BasicOTA example to your ESP8266 via WiFi
  3. Upload a previously working sketch utilizing WiFiConnectLite via USB
  4. ESP8266 will always end up in STA mode and will not connect to the AP even after saving the credentials
  5. Upload a sketch using WiFiManager via USB, configure AP credentials
  6. After reboot ESP8266 will now connect to the AP
  7. Upload the sketch utilizing WiFiConnectLite via USB. Will work again this time

Versions

ArduinoIDE 1.8.19
ESP8266 Arduino core 3.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant