Firebase Connection Issue Fix with NodeMCU-Esp8266

Hello, in today’s guide, I will talk about the connection problem between NodeMCU and Firebase and its solution. If you cannot receive or write data on the Firebase screen when you try to connect NodeMCU and Firebase, you can learn the solution to this problem from our guide.

In the guide, I assume that you downloaded the NodeMCU libraries for the Arduino ide and wrote the codes correctly because those processes are another matter.

The codes for connecting to the Firebase screen for NodeMCU are as in Figure-1, but if you cannot receive any data or write any data even if it is correct, you must perform the following procedure.

NodeMCU-Wifi and Firebase Connection Codes.
Figure-1: NodeMCU-Wifi and Firebase Connection Codes.

You need to change the fingerprint of the library you installed for Firebase. First of all, go to the Website in Figure-2 by clicking here. Search by typing “test.firebaseio.com” in the search bar below and copy the entire code that comes up.

Required Website for Firebase Fingerprints.
Figure-2: Required Website for Firebase Fingerprints.


Then from our computer “C:\Users(your username)\Documents\Arduino\Libraries\firebase-arduino\src\FirebaseHttpClient.h or C:\Users\ (your username)\OneDrive\Documents\Arduino\libraries\firebase- We open the file arduino-master \src \ FirebaseHttpClient.h” (it should be opened with Notepad) and at the bottom, copy and backup the fingerprint value first, then replace it with the code you got from the fingerprints address and save it.

Firebase Fingerprints Değiştirme
Figure-3: Firebase Fingerprints Replacement.

Now you can connect to firebase and complete your projects by uploading your code to NodeMCU via arduino ide again.
See you in our other guides…

3 thoughts on “Firebase Connection Issue Fix with NodeMCU-Esp8266

  • 1 March 2022 at 01:29
    Permalink

    Is there a way that the code automatically updates the firebase? or another app like firebase that doesn’t require an update

    Reply
  • 1 March 2022 at 01:31
    Permalink

    Is there a way that the code automatically updates the fingerprints of firebase? or another app like firebase that doesn’t require an update of fingerprints

    Reply
    • 1 March 2022 at 18:09
      Permalink

      Hi, First of all, thank you for your comment.

      Unfortunately, I don’t know about automatic update. I updated it manually and the problem was solved. I know there are other apps like Firebase but I haven’t used it before.

      We wish you good and healthy days.

      Reply

Leave a Reply

Your email address will not be published.