Notifications
Clear all

WiFiMnager-Integrating WebServer Code

21 Posts
3 Users
1 Likes
880 Views
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6982
 

@ronpenrose Very unusual that re-installing solves anything, but maybe. Glad to hear it is working. Remember, both Blue Tooth and WiFi are known for quirky behaviour. I don't even react to a failed esp32 or whatever fail to connect, I automatically go through the steps I know that help. They are restart the IDE, remove the USB connection and start over. I only do that when pressing the reset button 6 or 8 times doesn't work.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6982
 

@ronpenrose Let us know how it goes.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6982
 

@ronpenrose The sketch you supplied has if (res) it should be if (!res) then print failure and ESP.restart

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
ronpenrose
(@ronpenrose)
Member
Joined: 1 year ago
Posts: 25
Topic starter  

@zander 

Good catch. Obviously explains why only one attempt!.

Regarding your previous comment, great troubleshooting steps you describe. What keyed me on the WiFiManager was I got a compile error that pointed to WiFiManager.h. Before finding the issue, I changed com ports, compiled several other WiFiManager based code. Finally, I looked in  the libraries folder and WiFiManager (go figure) was not there. After downloading and reinstalling all worked well again. I checked a few minutes ago on the iPhone and the App is still working fine after 12 hours.

Next step after doing some more testing to make sure all is well, I will then move my smoker controller code in.

Thanks for all your assistance. You have been very helpful.

Ron

Ron Penrose


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6982
 

@ronpenrose Good to hear.

A couple more ways exist to determine if a library has been installed. The first is to look in your libraries tab in the IDE (see pics of installed and not installed) Another is to look under the Sketch menu and then Include Library if not installed the entry will not be there. However, if you manually enter the include in your sketch as you must have done, hover your cursor over the name, and you should see something like (see attached pic). If the Library is missing, you will NOT see the path.

Screenshot 2023 11 14 at 15.00.14
Screenshot 2023 11 14 at 14.59.57
Screenshot 2023 11 14 at 14.51.18

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
ronpenrose
(@ronpenrose)
Member
Joined: 1 year ago
Posts: 25
Topic starter  

@zander Good to know. Thanks. I have now added wifimanager to my smoker controller and it consistently works fine.

Ron Penrose


   
ReplyQuote
Page 2 / 2