[GH-ISSUE #440] Power Off #371

Closed
opened 2026-02-28 01:24:59 +03:00 by kerem · 3 comments
Owner

Originally created by @shahinesi on GitHub (Oct 15, 2017).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/440

I'm turning off when I turn off the module, it's no longer a problem in the WiFi list
`#include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino

//needed for library
#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include <WiFiManager.h> //https://github.com/tzapu/WiFiManager

void setup() {
// put your setup code here, to run once:
Serial.begin(115200);

//WiFiManager
//Local intialization. Once its business is done, there is no need to keep it around
WiFiManager wifiManager;
//reset saved settings

// wifiManager.resetSettings();

//set custom ip for portal
//wifiManager.setAPStaticIPConfig(IPAddress(10,0,1,1), IPAddress(10,0,1,1), IPAddress(255,255,255,0));

//fetches ssid and pass from eeprom and tries to connect
//if it does not connect it starts an access point with the specified name
//here  "AutoConnectAP"
//and goes into a blocking loop awaiting configuration
wifiManager.autoConnect("Shahin Repiter ESP", "shahin123456789");
//or use this for auto generated name ESP + ChipID
//wifiManager.autoConnect();


//if you get here you have connected to the WiFi
Serial.println("connected...yeey :)");

}

void loop() {
// put your main code here, to run repeatedly:

}`

Also, the name konfig will come out of the wifi list

Originally created by @shahinesi on GitHub (Oct 15, 2017). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/440 I'm turning off when I turn off the module, it's no longer a problem in the WiFi list `#include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino //needed for library #include <DNSServer.h> #include <ESP8266WebServer.h> #include <WiFiManager.h> //https://github.com/tzapu/WiFiManager void setup() { // put your setup code here, to run once: Serial.begin(115200); //WiFiManager //Local intialization. Once its business is done, there is no need to keep it around WiFiManager wifiManager; //reset saved settings // wifiManager.resetSettings(); //set custom ip for portal //wifiManager.setAPStaticIPConfig(IPAddress(10,0,1,1), IPAddress(10,0,1,1), IPAddress(255,255,255,0)); //fetches ssid and pass from eeprom and tries to connect //if it does not connect it starts an access point with the specified name //here "AutoConnectAP" //and goes into a blocking loop awaiting configuration wifiManager.autoConnect("Shahin Repiter ESP", "shahin123456789"); //or use this for auto generated name ESP + ChipID //wifiManager.autoConnect(); //if you get here you have connected to the WiFi Serial.println("connected...yeey :)"); } void loop() { // put your main code here, to run repeatedly: }` Also, the name konfig will come out of the wifi list
kerem closed this issue 2026-02-28 01:24:59 +03:00
Author
Owner

@shahinesi commented on GitHub (Oct 19, 2017):

help Me

<!-- gh-comment-id:337878931 --> @shahinesi commented on GitHub (Oct 19, 2017): help Me
Author
Owner

@tablatronix commented on GitHub (Oct 19, 2017):

Not really sure what you are trying to explain or do

<!-- gh-comment-id:337949128 --> @tablatronix commented on GitHub (Oct 19, 2017): Not really sure what you are trying to explain or do
Author
Owner

@shahinesi commented on GitHub (Oct 20, 2017):

@tablatronix I run this code, but I do not answer and I'm having trouble

<!-- gh-comment-id:338194617 --> @shahinesi commented on GitHub (Oct 20, 2017): @tablatronix I run this code, but I do not answer and I'm having trouble
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#371
No description provided.