Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By btidey
#80529 192.168.4.1 is just the default.

If setting up softAp yourself then see https://arduino-esp8266.readthedocs.io/ ... class.html for how to control it including the IP address.

If using the AP used by wifimanager to initialise networking then use wifiManager.setSTAStaticIPConfig to control what AP IP it uses to listen for. https://github.com/tzapu/WiFiManager#cu ... figuration
User avatar
By josephchrzempiec
#80945 hello i did try the example with changing in access point but i can not figure out how to add a password i tried to look on the site and it told me how i can do it. but i tried and failed can you please help me this is the example.

Code: Select all
#include <ESP8266WiFi.h>

IPAddress local_IP(192,168,4,22);
IPAddress gateway(192,168,4,9);
IPAddress subnet(255,255,255,0);

void setup()
{
  Serial.begin(115200);
  Serial.println();

  Serial.print("Setting soft-AP configuration ... ");
  Serial.println(WiFi.softAPConfig(local_IP, gateway, subnet) ? "Ready" : "Failed!");

  Serial.print("Setting soft-AP ... ");
  Serial.println(WiFi.softAP("ESPsoftAP_01") ? "Ready" : "Failed!");

  Serial.print("Soft-AP IP address = ");
  Serial.println(WiFi.softAPIP());
}

void loop() {}



from this address that you gave me. https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/soft-access-point-class.html