Skip to content
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

OWP ESPWebServer library updated #23

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

MrDornback
Copy link

Due to an HTTP_HEAD redeclaration error I was receiving, which was resulting in a reset loop whenever I would connect to the AP, I traced it back to ESP8266WebServer library.
There is an updated library (ESPWebServer), what was not fully completed with the name changes, so I completed that and included it.

I have also forked and published the changes directly with ESP8266 for that library.

Modification to use ESPWebServer, in place of ESP8266WebServer.
ESPWebServer is an updated version, released on the gitHub ESP8266 repository, which is related to a redeclaration of HTTP_HEAD issue, when using new ESP8266 core.

**  Unknown if/when my updates to the library will be merged.
https://github.com/esp8266/ESPWebServer
Updated code to use HTTP_HEADER_START and HTTP_HEADER_END.

HTTP_HEAD results in a conflict with ESP8266WebServer.
Included updated ESPWebServer library files.
When including this library, this code compiles.
* HTTP_HEAD-Fix:
  HTTP_HEAD Fix
@MrDornback MrDornback changed the title Owp ahd OWP ESPWebServer library updated Apr 30, 2020
@MrDornback MrDornback mentioned this pull request Apr 30, 2020
Added WiFiManager.statusStr(int status) to WiFiManager.h .cpp, in order to display the WiFi.status() as a string output with the "[status#] short name"

Also updated WiFiManager::connectWifi() and WiFiManager::waitForConnectResult() to display the full status in the WM_DEBUG output.

**  These updates can be merged directly with the master brance, but are also compatible with my OWP_AHD and HTTP_HEAD-Fix forks.
* master:
  WiFiManager.statusStr(int status) add
  Set theme jekyll-theme-slate
Updated teh variable name for AM2315 values from dewpoint to AM2315_Dewpoint.
Updated variable name from dewpoint to AM2315_Dewpoint to be consistent with the other AM2315 sensor value variables AM2315_Temperature and AM2315_Humidity.
Found errors in code and eroneous comments that needed to be removed, which I believe were entered into my code by gitHub Desktop.

Also, fixed an error with HTTP_HEAD conflict in wifiManager.h .cpp by changing reference from ESP8266Webserver.h to ESPWebServer.h.
Included ESPWebServer library in Essentials folder in the root of the OurWeatherPlus code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant