-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persistent = false #275
base: master
Are you sure you want to change the base?
Persistent = false #275
Commits on Mar 14, 2016
-
Added ability to call StartConfigPortal() so that access point name c…
…an be unique and automatically generated from the ESP8266 Chip Id. Tries to reconnect in station mode with whatever credentials have been saved when StartConfigPortal times out otherwise device will be without WiFi after exiting StartConfigPortal.
Configuration menu - View commit details
-
Copy full SHA for 8f5171c - Browse repository at this point
Copy the full SHA 8f5171cView commit details
Commits on Mar 25, 2016
-
There has been an assumption that device has to be told to connect bu…
…t Wifi already does it's best to connect in the background. Calling WiFi.begin while device is already trying to connect will occasionally cause WiFi to lock up. Only call WiFi.begin after calling WiFi.disconnect. These changes are aimed at stopping WiFi.begin from being called at the wrong time. The concept of autoconnect is also deprecated because it is trying to do what the device is already doing. Calling this method will now block until WiFi connects. It has been changed to wait for 10 seconds then go into setup mode if connection fails. Sketch can avoid blocking call then use (WiFi.status()==WL_CONNECTED) test to see if connected yet. Removed - Tries to reconnect in station mode with whatever credentials have been saved when StartConfigPortal times out otherwise device will be without WiFi after exiting StartConfigPortal. - because it was wrong.
Configuration menu - View commit details
-
Copy full SHA for 3bb5fad - Browse repository at this point
Copy the full SHA 3bb5fadView commit details -
Configure on switch example. If there is no SSID in memory set up a c…
…onfiguration portal otherwise connect with existing SSID data. If a button is pushed go into configuration portal mode. Stay in configuration portal mode until user closes configuration portal or 3 minutes have passed.
Configuration menu - View commit details
-
Copy full SHA for a2c9e20 - Browse repository at this point
Copy the full SHA a2c9e20View commit details -
Changes aimed at supporting the config portal remaining open until a …
…specified time has passed or user requests portal to be closed. If a successful connection is made to a network the access portal is available on the network ip address and on it's own network at two addresses. These addresses are 192.168.1.4 and the address on the other network.
Configuration menu - View commit details
-
Copy full SHA for 20c9f95 - Browse repository at this point
Copy the full SHA 20c9f95View commit details
Commits on Mar 28, 2016
-
Change example to use ESP8266 led rather than NodeMCU led as some boa…
…rds do not have this led. Force to station mode on example app because if device was switched off while in access point mode it will start up next time in access point mode. Print ip number correctly in close page Set example app to keep access point open forever. Turn off automatic scans for wifi. Add current network and IP details to root page. Removed reset button from root page as I can't think of a scenario where this is useful but url for reset functionality still works. Make device reset in example app after returning from portal because web server can only be started once. Not sure why this is and it needs further investigation. After setting credentials redirect to root page rather than serve a page. Set header responses to not cache in browser for all pages. Removed generate_204 handler. See discussion in code as to why.
Configuration menu - View commit details
-
Copy full SHA for a36362d - Browse repository at this point
Copy the full SHA a36362dView commit details -
Access point becomes flaky if set in dual mode and not sucessfully co…
…nnected to network so change to access point mode only when there is no network connection. Provide some extra information on the root page. Disabled page caching in the browser.
Configuration menu - View commit details
-
Copy full SHA for f374142 - Browse repository at this point
Copy the full SHA f374142View commit details -
Configuration menu - View commit details
-
Copy full SHA for d60dc79 - Browse repository at this point
Copy the full SHA d60dc79View commit details
Commits on Apr 2, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 2d8f0fa - Browse repository at this point
Copy the full SHA 2d8f0faView commit details
Commits on Apr 4, 2016
-
Configuration menu - View commit details
-
Copy full SHA for af9d82c - Browse repository at this point
Copy the full SHA af9d82cView commit details
Commits on Apr 9, 2016
-
Fixed json formatting error in state response - removed extra braces.
Output from url /state now parses OK at test site http://json.parser.online.fr/
Configuration menu - View commit details
-
Copy full SHA for 6108e80 - Browse repository at this point
Copy the full SHA 6108e80View commit details
Commits on Apr 11, 2016
-
Changed true and false in json formatted response to /state http requ…
…est to be of type boolean from previous type string. Moved scan for WiFi networks to a seperate function. Uses the third option from https://www.eskimo.com/~scs/cclass/int/sx5.html to return an array which is messy as it requires the use of pointers, malloc and free. The function returns the number of WiFi networks it found and changes a pointer to point to an array of indexes that is used to access the WiFi networks that were found array in signal strength order. Changed the ConfigOnSwitch example to use waitForConnectedResult method rather than poll in a loop for the WiFi status when attempting to connect to WiFi.
Configuration menu - View commit details
-
Copy full SHA for 2b6f107 - Browse repository at this point
Copy the full SHA 2b6f107View commit details
Commits on Apr 12, 2016
-
Added /scan URL that returns the results of a WiFi network scan in js…
…on format. The purpose of returning data in json format is to make it easy for apps to programatically configure the WiFi access point name and credentials. I expect users will find apps a convenient alternative to a browser to configure the device because usability testing has shown that people sometimes get confused by having to switch back and forward between WiFi networks . The URLs that return json data are now /state and /scan .
Configuration menu - View commit details
-
Copy full SHA for 0a318e1 - Browse repository at this point
Copy the full SHA 0a318e1View commit details
Commits on Apr 21, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 3a6116a - Browse repository at this point
Copy the full SHA 3a6116aView commit details
Commits on Apr 22, 2016
-
Modified Readme to describe and justify the changes made.
Removed examples that were no longer meaningful now that the autoconnect function has been deprecated.
Configuration menu - View commit details
-
Copy full SHA for f0958f9 - Browse repository at this point
Copy the full SHA f0958f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a490bc1 - Browse repository at this point
Copy the full SHA a490bc1View commit details
Commits on Apr 24, 2016
-
Added message that web server can take a minute to restart after conn…
…ecting to a network. Changed pin assignments to be numerical rather than by name as some ESP8266 devices use different pin mappings. Small modifications to librarly explanation and justification.
Configuration menu - View commit details
-
Copy full SHA for 9904f2c - Browse repository at this point
Copy the full SHA 9904f2cView commit details
Commits on Apr 29, 2016
-
- Configuration portal got new look and feel - Added a very small CSS framework based on mincss - Added the possibility of using labels. A labels will receive the text of the corresponding placeholder - Added option for label placement. 0 - label not displayed, 1 - label displayed before field (default), 2 - label displayed after field. Latter is useful for checkboxes - Scan link was moved to the top - All HTML <dl> description list elements were replaced by tables - Removed <br> before each form parameter, CSS will take care of the spacing and custom HTML injection will be more useful - Renamed Configure WiFi option to Configuration as WiFi is not the only option that can be configured - Renamed Info option to WiFi Information as the original text was too short and looked strange - Reanmed Close configuration portal option as it was too long and was displayed in two lines on smaller devices
Configuration menu - View commit details
-
Copy full SHA for 5274fd2 - Browse repository at this point
Copy the full SHA 5274fd2View commit details
Commits on Apr 30, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 32a6137 - Browse repository at this point
Copy the full SHA 32a6137View commit details
Commits on May 1, 2016
-
Configuration menu - View commit details
-
Copy full SHA for d08daf2 - Browse repository at this point
Copy the full SHA d08daf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba9e5ee - Browse repository at this point
Copy the full SHA ba9e5eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for e659d59 - Browse repository at this point
Copy the full SHA e659d59View commit details -
Added example with switch to invoke WiFi manager and custom parameter…
…s saved to the flash memory
Configuration menu - View commit details
-
Copy full SHA for 991970a - Browse repository at this point
Copy the full SHA 991970aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10d62a9 - Browse repository at this point
Copy the full SHA 10d62a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1101fc - Browse repository at this point
Copy the full SHA c1101fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30daba6 - Browse repository at this point
Copy the full SHA 30daba6View commit details
Commits on May 2, 2016
-
1. Specifying a time out on the Configuration Portal was not previous…
…ly working correctly. This did not affect the ConfigOnSwitch example. 2. Provided ConfigOnStartup example as suggested by cjamin. This provides a ConfigPortal for the first minute after startup. 3. Changed logic in ConfigOnSwitch example when there is no previously configured access point to match that in ConfigOnSwitchFS example. 4. Fixed broken link in Readme.MD.
Configuration menu - View commit details
-
Copy full SHA for 70eeec4 - Browse repository at this point
Copy the full SHA 70eeec4View commit details
Commits on May 5, 2016
-
Renamed WiFi Information menu item, removed unneeded example files, m…
…oved config file writing process
Configuration menu - View commit details
-
Copy full SHA for ab4eb79 - Browse repository at this point
Copy the full SHA ab4eb79View commit details
Commits on May 6, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 8b53883 - Browse repository at this point
Copy the full SHA 8b53883View commit details
Commits on May 7, 2016
-
Added screenshots provided by Battika to readme.md.
Added SSID and Station IP to Device Information web page at address /i
Configuration menu - View commit details
-
Copy full SHA for 0b2172e - Browse repository at this point
Copy the full SHA 0b2172eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d59f00b - Browse repository at this point
Copy the full SHA d59f00bView commit details
Commits on Sep 29, 2016
-
Several chages to Improve usability and implementability. Specifically:-
1. Updated explanation on first page of repository to reflect many changes that have been made since the earlier version. 2. Page requests to root redirect to a fixed url which also resolves to an information page on the internet. 3. Changed password field to an ordinary input to make password visible while typing. 4. Added link to associated Android app, connection status report and reference of available pages to information page. 5. Corrected explanation in comments of why dual mode can become flaky. 6. Removed all references to generate_204 which is no longer used.
Configuration menu - View commit details
-
Copy full SHA for 91d73c9 - Browse repository at this point
Copy the full SHA 91d73c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 167afc0 - Browse repository at this point
Copy the full SHA 167afc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for aec9716 - Browse repository at this point
Copy the full SHA aec9716View commit details
Commits on Sep 30, 2016
-
Configuration menu - View commit details
-
Copy full SHA for a6982af - Browse repository at this point
Copy the full SHA a6982afView commit details
Commits on Oct 15, 2016
-
Added an example of starting the configuration portal when a double r…
…eset is detected.
Configuration menu - View commit details
-
Copy full SHA for d371e54 - Browse repository at this point
Copy the full SHA d371e54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d735e5 - Browse repository at this point
Copy the full SHA 6d735e5View commit details
Commits on Oct 28, 2016
-
Merge pull request #3 from datacute/kentaylors
Added an example of starting the configuration portal when a double reset is detected.
Configuration menu - View commit details
-
Copy full SHA for 2fcd4ed - Browse repository at this point
Copy the full SHA 2fcd4edView commit details
Commits on Oct 30, 2016
-
Documentation changes associated with inclusion of ConfigOnDoubleRese…
…t example. Also web wifisave page changed to show actual access point name rather than a constructed name that may be wrong.
Configuration menu - View commit details
-
Copy full SHA for a215dfa - Browse repository at this point
Copy the full SHA a215dfaView commit details -
Wifi scan now done in the WiFiManager constructor so that it is prior…
… to creating a WiFi network. This removes the risk of the browsing device that is using the html interface changing WiFi networks during a scan but means WiFiManager must be restarted to update the scan results at /wifi. The /scan URL still does a fresh scan on each request and these scan results are exclusive for the JSON interface.
Configuration menu - View commit details
-
Copy full SHA for ad3daec - Browse repository at this point
Copy the full SHA ad3daecView commit details
Commits on Nov 1, 2016
-
Added reference to Configurator service in documentation as a better …
…way to load parameters other than WiFi parameters. Removed unused WlFiManager status conditions. Fixed broken hyperlinks.
Configuration menu - View commit details
-
Copy full SHA for ec1a4a4 - Browse repository at this point
Copy the full SHA ec1a4a4View commit details