Gianbacchio / ESP8266-TelegramBot

Telegram Bot Library for ESP8266 on Arduino IDE
GNU General Public License v2.0
187 stars 71 forks source link

Connecting wifi....... #28

Open konig87nikkinakki opened 4 years ago

konig87nikkinakki commented 4 years ago

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 commented 4 years ago

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?