Comments on: ESP32: Getting Started with Firebase (Realtime Database) https://randomnerdtutorials.com/esp32-firebase-realtime-database/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Fri, 08 May 2026 21:10:07 +0000 hourly 1 https://wordpress.org/?v=6.8.5 By: Sara Santos https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1169455 Mon, 16 Mar 2026 15:22:35 +0000 https://randomnerdtutorials.com/?p=105693#comment-1169455 In reply to Kenneth.

Hi.
To do that, you need to adjust your Arduino sketch so that it authenticates with no authentication.
Check this library example: https://github.com/mobizt/FirebaseClient/blob/main/examples/App/AppInitialization/NoAuth/NoAuth.ino
You need to combine the library example with our example.
Regard,s
Sara

]]>
By: Kenneth https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1166782 Fri, 06 Mar 2026 09:44:38 +0000 https://randomnerdtutorials.com/?p=105693#comment-1166782 I have a question regarding the authentication method. I want to create a Firebase web app that does not require an email and password, which is why I chose the anonymous sign-in method for Firebase Authentication.

After that, I tried to use the same code to interface my ESP32 with Firebase, but I’m getting compiler errors because I didn’t include a user email and password. When I tried passing empty strings for the email and password, the code compiled and ran, but no data was sent to the Firebase Realtime Database.

Can someone help me identify what mistakes I might be making?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1152855 Mon, 19 Jan 2026 10:53:54 +0000 https://randomnerdtutorials.com/?p=105693#comment-1152855 In reply to Edmond Kreuk.

Hi.
Yes.

Thanks for letting me know.
There was (another) update right after we updated all guides.

We need to update them all again.

Thanks.

Regards,
Sara

]]>
By: Edmond Kreuk https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1152288 Sun, 18 Jan 2026 09:16:39 +0000 https://randomnerdtutorials.com/?p=105693#comment-1152288 Hello Sara,

Thanks for another great tutorial. Although I prefer to avoid anything Google… this is a great way to get started.

I found out that to retrieve the API-key, you need to select App Check and “build” a Web App. After that, there’s a piece of code with the API-key. Maybe you can look in to this a bit more and add it to the tutorial(s).

In the second sketch (reading from the RTDB), there’s a piece of code missing just before the includes:

#define ENABLE_USER_AUTH
#define ENABLE_DATABASE

Other than that it works like a charm 🙂

Regards,

Edmond

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1127107 Mon, 24 Nov 2025 10:15:49 +0000 https://randomnerdtutorials.com/?p=105693#comment-1127107 In reply to Mike Johnson.

Hi.
The email authentication did not go away.
Where did you get that from?
I’m currently updating our Firebase eBook, and the email authentication is working fine.
Regards,
Sara

]]>
By: Mike Johnson https://randomnerdtutorials.com/esp32-firebase-realtime-database/#comment-1126952 Sun, 23 Nov 2025 19:55:44 +0000 https://randomnerdtutorials.com/?p=105693#comment-1126952 Hi Sara – I am keen to give this tutorial a try, however, I am doing this after Aug 25 and so the email authentication method has gone away so I am a bit stuck. It seems that your code still relies on that method. How should I proceed?

]]>
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

]]>