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

[Connect to Adafruit IO from an open wifi network (no password)] #156

Open
dimitrioschatzinikolis opened this issue Apr 21, 2022 · 1 comment
Assignees

Comments

@dimitrioschatzinikolis
Copy link

dimitrioschatzinikolis commented Apr 21, 2022

  • Arduino board: Adafruit HUZZAH32 – ESP32 Feather Board

  • Arduino IDE version (found in Arduino -> About Arduino menu): 2.0.0-rc6

Hi All,

The problem that I am facing has to do with wifi connection issues. More specifically, I am in an educational institute, and I want to use the "open" network, that is the network that requires no password. Although I am able to connect to the wifi open network when I use a simple wifi_connect example, when I use the adafruit_00_publish example, I am not allowed to omit the password parameter. Do you think it is possible to include an option to the scripts to use wifi networks that require no password?

@bradrblack
Copy link
Contributor

You could try connecting to the WiFi as you do with wifi_connect and then initialize with ...

AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, "", "");

which prevents AIO from connecting to the network on its own.

There are some new examples in the 4.2.3 library about working with WiFiManager that also do this.

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

3 participants