firebase-arduino
firebase-arduino copied to clipboard
Reconnect to firebase not working while in loop
In setup() firebase gets connected but after it gets disconnected reconnect function doesnt work.
try to add Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH) in failed like that:
if(Firebase.failed())
{
Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);
}
it will reconnect if the internet lost until the internet back again.
Yes tried that one but it never connects and results in failed... I noticed that firebase begin works only in setup section
I've been having the same problem! Firebase setup seems to work. Serial monitor accuses sending variables once (which doesn't happen in fact) then the connection to Firebase fails.
@saiof95 @cayamic
Try this library by @mobizt to solve this connection issue:- https://github.com/mobizt/Firebase-ESP8266/
For more info, checkout this tutorial:- https://youtu.be/nLzC0-VaqDs
Thanks
Thank you... checked, seems good...will surely try it out...
@saiof95 Welcome 😊
Thank you so much!!!! It's finally working!
I guess the problem was that the Secret Keys are deprecated and the Fingerprint keeps changing all the time. Firebase is suggesting users to set up Firebase Admin SDK. I still don't have any idea how to do that.
Thanks again TrickSumo!
On Fri, Jul 17, 2020 at 8:06 AM TrickSumo [email protected] wrote:
@saiof95 https://github.com/saiof95 Welcome 😊
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/FirebaseExtended/firebase-arduino/issues/472#issuecomment-660045118, or unsubscribe https://github.com/notifications/unsubscribe-auth/APKVEVFVRARALZXQT4PAXSTR4AWBPANCNFSM4KL6JDRA .
You're Welcome @cayamic 😊