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.
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.
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.
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…