Comments (7)
the Readme files says
WiFi connection
I've implemented a way to turn ESP8266 into AP mode so I can set WiFi config when prior WiFi is not available. It is done by setting IO pin 4 to high status during boot. This pin is configurable by a #define. in FSWebServerlib.h. You must ensure it is connected to GND to allow it to connect to a router.
from fsbrowserng.
I saw that, too. Although I'm not sure it speaks to the scenario I wrote. Stating turn ESP8266 into AP mode so I can set WiFi config when prior WiFi is not available leaves out the indication it would also ignore any existing config.json. So as long as pushing pin 4 high (maybe via a jumper?) does indeed ignore existing config.json then that would work. But I didn't glean that from the readme.
from fsbrowserng.
AFAIK it would resolve you scenario , i certainly manage to use it
from fsbrowserng.
I have found that when config.json exists and I go into AP mode with the jumper, I reset with an exception (9) reset. Does anyone get this?
from fsbrowserng.
Hi, config.json should be overwritten after entering AP mode and configure settings. Meanwhile, you can always edit your config.json on your computer and flash it using Arduino IDE.
from fsbrowserng.
I really like this implementation but the WiFi on-board process could be improved.
Implement mDNS to access device without knowing the IP-Address on the local network.
https://github.com/esp8266/Arduino/tree/master/libraries/ESP8266mDNS
This would ease up the WiFi-boarding process for users that are uncomfortable in accessing their Router to find the IP or use Serial debug to find it out...
Change the "pin-4 reset" like the "Espruna" project.
https://github.com/xoseperez/espurna
They provide a provide a double click on the "Program button" in runtime to access the wifi configuration regardless if the device is attached or not to the wifi.
Br
Michael Stjerna
from fsbrowserng.
from fsbrowserng.
Related Issues (20)
- Not connecting to WIFI correctly HOT 1
- Can't get STA to work with "StartHere" example HOT 14
- Why ESPHTTPServer.begin is blocking till wifi connected? HOT 5
- Can't enter AP mode HOT 6
- Force Download from ESP8266
- NTP doesn't work? HOT 3
- SSL support
- Has FSBrowserNG been tested with the new ver 2.4.1 board manager? HOT 10
- IP address is 0.0.0.0 on serial output on Starthere HOT 2
- callback_example upload is fine but it gets a reset after GotIp address HOT 11
- AP fallback if SSID timeout? HOT 2
- Still no connection on first start and show IP 0.0.0.0 on Serial port
- Crashes on saving config new
- Been trying to put this on a ESP32
- Arduino Json V6 library issue 'DynamicJsonBuffer' was not declared in this scope HOT 3
- starthere.ino compiled and uploaded along with the SPIFFS data but not AP is started HOT 1
- change the way to enter AP mode
- Switch to AP Mode without Reset HOT 1
- Unable to edit index.html HOT 2
- List of available networks showing empty if some SSID has an unprintable character
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 fsbrowserng.