Comments (3)
Setting the access point provision mode to "never" will prevent the access point from coming up in the event of WiFi connection failure. Disable it if you like, but you won't be able to re-configure the device if you change your WiFi password (without re-flashing via serial).
The back-off retry approach might give you better luck. I've not had any issues with connecting to WiFi first time personally so this issue I suspect it's related to WiFi channel switching. I'm planning on implementing the exponential back-off retry approach, which might help in your situation.
from esp8266-react.
There is a deliberate delay if there is a failure to connect to the WiFi. See the code in WiFiSettingsService.cpp to see how this works. The delay is fixed to 60 seconds.
The delay is required to prevent the device continually channel switching when in auto-reconnect mode - this causes the access point stability issues.
There might be an improved solution to this with a back-off retry approach which would allow for more frequent retries without crippling the access point.
I'll look at implementing this soon.
from esp8266-react.
from esp8266-react.
Related Issues (20)
- Error npm start or build Error: ...API schema. - options.allowedHosts[0] should be a non-empty string. HOT 3
- Support to show user defined build version infomation in the about screen x.x.x. Also nice to expose an api that can return this infomation. This can be handy if you want to mass update devices that meet a version criteria.
- Help me understand why "We want the device to come up in opmode=0 (WIFI_OFF)" (WiFiSettingsService.cpp)
- ESP32 light sleep mode and WiFi on/off
- websocket (WS_EVT_DATA) event from client does not update state on esp8266 only HOT 1
- Add netBIOS name
- On Mobile after clicking on menu item it does not close drawer HOT 7
- Firebase Integration HOT 1
- [Question] Add a websocket based STOMP implementation
- How to use MQTT function
- How to buy a coffee? HOT 2
- Retain flag on MQTT topic & Last will & Testament message HOT 1
- Possibility to use a JsonArray instead of JsonObject in read/update method
- Using PreactJS instead of ReactJS to reduce bundle size HOT 8
- Merging 2 websockets into a single one
- esp32 bootloop with platform=espressif32 HOT 5
- Manual Set Time not accounting for DST Properly (Fix attached) HOT 1
- web interface
- Slider Issue
- Working Platformio packages versions HOT 1
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 esp8266-react.