Comments on: ESP32: Getting Started with Firebase (Realtime Database) https://randomnerdtutorials.com/esp32-firebase-realtime-database/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Wed, 02 Jul 2025 10:43:25 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1062284 Sun, 29 Jun 2025 10:39:43 +0000 https://randomnerdtutorials.com/?p=105693#comment-1062284 In reply to Shannon.

It is now updated.
Regards,
Sara

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1061412 Fri, 27 Jun 2025 09:27:46 +0000 https://randomnerdtutorials.com/?p=105693#comment-1061412 In reply to Shannon.

Hi.
Thanks for letting me know.
I recently updated almost all our Firebase Projects because of breaking changes in the library.

It seems the author of the library made more breaking changes. I’ll need to revise all my codes again.

Thanks.

Regards,
Sara

]]>
By: Shannon https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1061382 Fri, 27 Jun 2025 05:41:39 +0000 https://randomnerdtutorials.com/?p=105693#comment-1061382 In reply to Shannon.

The above sketch will not compile in Arduino IDE without two defines (using FirebaseClient 2.1.5):

#define ENABLE_USER_AUTH
#define ENABLE_DATABASE

]]>
By: Shannon https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1061373 Fri, 27 Jun 2025 04:58:12 +0000 https://randomnerdtutorials.com/?p=105693#comment-1061373 In reply to Shannon.

Just realized I installed Firebase ESP32 Client by Mobizt. I’ve now installed the correct library. The new compile has been running for quite a long time but I will let it run overnight to see if it finishes

]]>
By: Shannon https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1061371 Fri, 27 Jun 2025 04:49:12 +0000 https://randomnerdtutorials.com/?p=105693#comment-1061371 Struggling with this firebase demo. First I tried to get it working in VScode/platformio/pioarduino but that entire environment is just a mystery to me. It seemed to upload ok but no activity on the terminal window. So I moved back to Arduino IDE.

After installing the FireBase Client by Mobizt. I copied the code example exactly and changed the personal data to match my Firebase project. However when I compile it gives the error

: fatal error: FirebaseClient.h: No such file or directory
9 | #include <FirebaseClient.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: FirebaseClient.h: No such file or directory

I see that the library is truly installed. I can see the new example sketches related to FireBase. I can see where the library is installed. There are quite a few .h files but none of them are named FirebaseClient.h There is one that is called just Firebase.h. Should I change the include to that file?

]]>
By: Dan Pham Le Huu https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1044869 Fri, 16 May 2025 12:43:35 +0000 https://randomnerdtutorials.com/?p=105693#comment-1044869 Dear Sara,
Thanks for your great tutorial.
I’m encountering an issue with sending and receiving data (almost simultaneously) between Firebase and my ESP32.

I’m using the latest FirebaseClient library for my project.

The callback functions for database.set and database.get work perfectly fine when called independently. However, if I call the .set function first, there’s a significant delay for the .get callback to respond after I change the datachange variable (even though the .set function has completed and the data is already on Firebase). Is this an unavoidable conflict?

I would greatly appreciate your feedback.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1031420 Sun, 27 Apr 2025 09:46:10 +0000 https://randomnerdtutorials.com/?p=105693#comment-1031420 In reply to Al Klein.

Are you referring to this tutorial https://randomnerdtutorials.com/esp32-cam-save-picture-firebase-storage/?

]]>
By: Al Klein https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1031252 Sun, 27 Apr 2025 00:47:38 +0000 https://randomnerdtutorials.com/?p=105693#comment-1031252 In reply to Sara Santos.

“shows how to upload a file to firebase”. You “upload” the file NAME and PATH to the database. You upload the file to the computer’s drive.

Some people think that you should store the file itself in the database, as a BLOB.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1031068 Sat, 26 Apr 2025 10:46:04 +0000 https://randomnerdtutorials.com/?p=105693#comment-1031068 In reply to Al Klein.

Hi.
I’m sorry, but I don’t understand your comment.
In the storage example, we’re storing the file in storage.
Regards,
Sara

]]>
By: Al Klein https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1030791 Fri, 25 Apr 2025 18:25:12 +0000 https://randomnerdtutorials.com/?p=105693#comment-1030791 In reply to Renzo.

The smartphone, when set up as a hotspot, IS the router.

]]>