Adafruit_IO_Arduino icon indicating copy to clipboard operation
Adafruit_IO_Arduino copied to clipboard

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

Open dimitrioschatzinikolis opened this issue 3 years ago • 1 comments

  • 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?

dimitrioschatzinikolis avatar Apr 21 '22 18:04 dimitrioschatzinikolis

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.

bradrblack avatar Aug 31 '22 13:08 bradrblack