You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 17, 2025. It is now read-only.
I connected to Firebase successfully, can read data from firebase when data changed normaly. But when I decide to unplug the network cable (in this case, wifi.status() still connecting to wifi but can not access the internet) then plug it again , I can not read data changed anymore, It can not enter the condition Firebase.available() and can not enter the condition Firebase.failed() too. Can somebody give me an idea to solve this? Without manually reseting the ESP8266. I know this issue is related to #388 but I can't sovle this problem. Thanks!
Here is my short code: Firebase.begin(address.c_str(), auth.c_str()); Firebase.stream("/Led"); } void loop() { if (Firebase.available() == true) { FirebaseObject event = Firebase.readEvent(); String path = event.getString("path"); String data = event.getString("data"); Serial.println(path); Serial.println(data); } if (Firebase.failed()) { Serial.println("streaming error"); Serial.println(Firebase.error()); }