static ip speeds things up a bit, but i suspect most of the time is finding the ap
static ip speeds things up a bit, but i suspect most of the time is finding the ap
Explore... Chat... Share...
Moderator: igrr
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
ESP8266WiFiMulti wifiMulti;
void setup()
{
Serial.begin(115200);
WiFi.mode(WIFI_STA);
wifiMulti.addAP("AP_ONE", "password1");
wifiMulti.addAP("AP_TWO", "password2");
unsigned long start_time = millis();
while (wifiMulti.run() != WL_CONNECTED)
{
delay(50);
}
unsigned long end_time = millis();
unsigned long elapsed_time = end_time - start_time;
Serial.println();
Serial.print("start: "); Serial.println(start_time);
Serial.print("end: "); Serial.println(end_time);
Serial.print("elapsed: "); Serial.println(elapsed_time);
Serial.println();
Serial.print("Connection status: "); Serial.println(WiFi.status());
Serial.println();
WiFi.printDiag(Serial);
}
void loop()
{
}
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]