Skip to content

My ESP8266 is not Working as it Should #599

Answered by mobizt
JawadAhmadAnsari asked this question in Q&A
Discussion options

You must be logged in to vote

At least you should call Firebase.ready() to check the authentication status before processing the Firebase request.

In all examples, it is recommended that the Firebase.ready() should be executed repeatedly in main loop() for authentication handling.

// Firebase.ready() should be called repeatedly to handle authentication tasks.
if (Firebase.ready() && (millis() - sendDataPrevMillis > 15000 || sendDataPrevMillis == 0))

The function Firebase.ready() is importance in this library to maintain the authentication process and it also gives the authentication status.

The authentication toke…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JawadAhmadAnsari
Comment options

Answer selected by JawadAhmadAnsari
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants