Comments on: ESP32: Getting Started with Firebase (Realtime Database) https://randomnerdtutorials.com/esp32-firebase-realtime-database/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Fri, 16 May 2025 12:43:35 +0000 hourly 1 https://wordpress.org/?v=6.8.1 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.

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

Storing files in a database id the.bad.idea.of.the.year. Store the complete path to the file in the database. Save the file itself to storage.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1028097 Thu, 17 Apr 2025 09:12:06 +0000 https://randomnerdtutorials.com/?p=105693#comment-1028097 In reply to Renato Soares Bigio.

Hi.
The newest library works in a different way.
We’re currently working to update our Firebase tutorials.
Next, week, we’ll post an updated version of this article.
Regards,
Sara

]]>
By: Renato Soares Bigio https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1027923 Wed, 16 Apr 2025 18:20:13 +0000 https://randomnerdtutorials.com/?p=105693#comment-1027923 Sara, good afternoon!. I’m Brazilian, sorry for my English… testing the first example (ESP32 Store Data to Firebase Database) and using the “Firebaseclient.h” library, I got the error: “Compilation error: addons/TokenHelper.h: No such file or directory”; I then changed to the “FirebaseESP32.h” library; the error above no longer appeared, but it started to display the error: “‘FB_RTDB FirebaseESP32::RTDB’ is private within this context”; this error refers to the commands “Firebase.RTDB.setInt” and “Firebase.RTDB.setFloat”; after removing these commands the sketch compiled and ran OK. What can be done then?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1025163 Wed, 09 Apr 2025 09:36:36 +0000 https://randomnerdtutorials.com/?p=105693#comment-1025163 In reply to Jude.

Hi.
That’s great.
Thanks for letting me know.
Regards,
Sara

]]>
By: Jude https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1025056 Wed, 09 Apr 2025 04:39:05 +0000 https://randomnerdtutorials.com/?p=105693#comment-1025056 Hi Sara,
I used the same code in above example and updated the library. After updating the library there was bad request error reading and writing to the database. The code was working before and my database path had two words with space in between and then i used new path for database with out space and now it is working perfectly fine.

Regards
Jude

]]>