ESP8266-TelegramBot icon indicating copy to clipboard operation
ESP8266-TelegramBot copied to clipboard

Connecting wifi.......

Open konig87nikkinakki opened this issue 5 years ago • 1 comments

Good evening, thank you for your library, it seems to be powerful. I m using Arduino ide and NodeMCU v3 board, i installed ESP8266 v. 2.3.0 and update sketch EchoBot. Of course i filled the requested fields like SSID and PASSWORD with my wireless credentials, but on Serial it writes: Connecting Wifi: [mySSID] ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ and never connect. with other libraries it does, but it crashes later on sketch for other issues. With your library, it doesnt connect so i cannot see if it works with my BOT. Where am i wrong? Thanks PS i tried with another wifi, because i ve differents on my home, with different keys (wpa2, wpa, wep): none of these works. Any help is apprieciated.

konig87nikkinakki avatar Dec 27 '19 18:12 konig87nikkinakki

Sorry for boring you: as i read in another topic i ve changed:

while (WiFi.begin(ssid, password) != WL_CONNECTED) { to this

WiFi.begin(ssid,password); while ( WiFi.status() != WL_CONNECTED) {

and it works but why if i push Reset Button, it doesnt connecty anymore? i have to leave DC power (or usb) to reset it and make it connect again. Why does it happens?

konig87nikkinakki avatar Dec 27 '19 18:12 konig87nikkinakki