ESP8266. How to use...
 
Notifications
Clear all

ESP8266. How to use WiFiManager library to manage WiFi connections


christophe
Posts: 251
Admin
Topic starter
(@chris)
Member
Joined: 4 years ago
wpf-cross-image

The WiFiManager library allows you to easily manage the Wi-Fi connection in your ESP8266 projects. The WiFi connection is very well supported by many libraries, for example Blynk, Cayenne, Homie, ESP Easy. For more simple projects or outside the framework of these libraries, you must manage the connection to the Wi-Fi network yourself.

 …

2 Replies
231d46ffd2b21d61959dfe1f6ce5527b?s=80&d=mm&r=g
Posts: 1
 blinds2017
Guest
(@blinds2017)
Joined: 1 month ago

Hi I'm getting these error messages I have searched the internet but cant finned ant answers
any help would be appreciated

Arduino: 1.8.14 Hourly Build 2021/01/29 11:34 (Mac OS X), Board: "WeMos D1 R1, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

sketch_mar07a:4:1: error: 'WebServer' does not name a type
WebServer server(80);
^
/Users/mickcave/Dropbox/Arduino Sketch Book/Wifi Manager/sketch_mar07a/sketch_mar07a.ino: In function 'void setup()':
sketch_mar07a:29:5: error: 'server' was not declared in this scope
server.on("/", handle_root);
^
/Users/mickcave/Dropbox/Arduino Sketch Book/Wifi Manager/sketch_mar07a/sketch_mar07a.ino: In function 'void loop()':
sketch_mar07a:35:5: error: 'server' was not declared in this scope
server.handleClient();
^
/Users/mickcave/Dropbox/Arduino Sketch Book/Wifi Manager/sketch_mar07a/sketch_mar07a.ino: In function 'void handle_root()':
sketch_mar07a:56:3: error: 'server' was not declared in this scope
server.send(200, "text/html", HTML);
^
exit status 1
'WebServer' does not name a type

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Reply
14cb261bd77c8596071bb810a6e63ef5?s=80&d=mm&r=g
Posts: 1
 chall
Guest
(@chall)
Joined: 2 weeks ago

reemplace WebServer for ESP8266WebServer

Reply
Share:
Join Us!
Recent Posts
Last Articles
DIY Projects
DIY Projects