Comments (7)
the problem with that would be that then it would need to be both in STA and AP mode and it just makes the setup and possibilities all that much more complicated.
if you set a timeout, WiFiManager releases after the timeout and then you can run offline completly, there s just the small delay when you boot.
from wifimanager.
I see. Thanks for a quick reply! I'll give it a try :)
from wifimanager.
i got following error do not know how to handle
Arduino: 1.6.5 (Windows 8.1), Board: "Adafruit HUZZAH ESP8266, 80 MHz, 115200"
Build options changed, rebuilding all
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp: In member function 'String WiFiManager::getPassword()':
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:218:18: error: 'class ESP8266WiFiClass' has no member named 'psk'
_pass = WiFi.psk();//getEEPROMString(32, 64);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp: In member function 'void WiFiManager::handleRoot()':
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:332:11: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P(HTTP_SCRIPT);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:333:11: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P(HTTP_STYLE);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:334:11: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P(HTTP_HEAD_END);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:344:11: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P(HTTP_PORTAL_OPTIONS);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:345:11: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P(HTTP_END);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp: In member function 'void WiFiManager::handleWifi(bool)':
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:361:11: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P(HTTP_SCRIPT);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:362:11: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P(HTTP_STYLE);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:363:11: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P(HTTP_HEAD_END);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:377:38: error: 'FPSTR' was not declared in this scope
String item = FPSTR(HTTP_ITEM);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:395:11: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P(HTTP_FORM_START);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:403:41: error: 'FPSTR' was not declared in this scope
String pitem = FPSTR(HTTP_FORM_PARAM);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:414:13: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P("
");
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:417:11: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P(HTTP_FORM_END);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:418:11: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P(HTTP_END);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp: In member function 'void WiFiManager::handleWifiSave()':
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:454:11: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P(HTTP_SCRIPT);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:455:11: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P(HTTP_STYLE);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:456:11: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P(HTTP_HEAD_END);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:458:11: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P(HTTP_SAVED);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:460:11: error: 'class ESP8266WebServer' has no member named 'sendContent_P'
server->sendContent_P(HTTP_END);
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp: In member function 'boolean WiFiManager::captivePortal()':
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:501:21: error: 'class ESP8266WebServer' has no member named 'hostHeader'
if (!isIp(server->hostHeader()) ) {
^
C:\Users\sonu\Documents\Arduino\libraries\WiFiManager-master\WiFiManager.cpp:503:84: error: 'class WiFiClient' has no member named 'localIP'
server->sendHeader("Location", String("http://") + toStringIp(server->client().localIP()), true);
^
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
from wifimanager.
there is also error of eeprom.h
from wifimanager.
hi, you need a more up to date package of the esp8266, try either the stable or the github one
see here https://github.com/esp8266/Arduino#contents
from wifimanager.
thanx bro its worked
from wifimanager.
no probs
from wifimanager.
Related Issues (20)
- Custom page addition matching current layout and format
- If anyone wants to change the name (SSID) of the Access Point (AP) that appears (with the IP address 192.168.4.1) HOT 12
- Wifimanager and ESP Mail Client HOT 4
- Possibility to change pass for SoftAP from webui.
- Feature configurable? WiFi AP started when local WiFi is down HOT 2
- How to save and restore Ip adress from webportal ?
- Dedicated Parameter Page HOT 1
- Unable to save/retrieve custom variables in WiFiManager
- Q: ESP Reboot after successful initial connection to own wifi possible (bind issue with Async Webserver from AP to STA)
- Esp32 wroom 32 UE
- Question: Is there a way to detect if the WiFi connection is successful before the config portal closes? HOT 1
- Force remove DNS input from Captive portal
- Question: Is possible change deep link to redirect to an App instead of Captive Portal HOT 3
- Add new Release to platformio HOT 5
- Custom Param doesn't load when starting ConfigPortal on demand & WiFi has been already connected.
- Hi
- How to refresh (repaint) custom param element on setValue() HOT 2
- unable to do OTA update for esp32 s3. update failed due to error in downloading version. unable to find the where the exact issue is?
- OTA UPDATE ISSUE HOT 1
- Changing STA config's authmode causes the STA config's SSID to become empty
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wifimanager.