Comments on: ESP32 Data Logging to Firebase Realtime Database https://randomnerdtutorials.com/esp32-data-logging-firebase-realtime-database/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Wed, 02 Jul 2025 10:44:09 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/esp32-data-logging-firebase-realtime-database/#comment-1053423 Mon, 02 Jun 2025 09:26:01 +0000 https://randomnerdtutorials.com/?p=108623#comment-1053423 In reply to Nicolas.

Hi.
Thanks for sharing that fix.
Regards,
Sara

]]>
By: Nicolas https://randomnerdtutorials.com/esp32-data-logging-firebase-realtime-database/#comment-1053158 Sun, 01 Jun 2025 21:40:39 +0000 https://randomnerdtutorials.com/?p=108623#comment-1053158 Hi! In case anyone is trying to do the SSL verification when connecting an ESP32 to a Firebase RTDB. Instead of using client.setInsecure(), you have to search for the root certificate (in the case of Firebase DB is GlobalSign Root R1) in Base64 format, and set it with client.setCACert() in form of a string, respecting each break line.
I had a bad moment trying to do this until I figured it out, hope this helps haha.

]]>
By: selestial https://randomnerdtutorials.com/esp32-data-logging-firebase-realtime-database/#comment-1013456 Wed, 05 Mar 2025 06:33:19 +0000 https://randomnerdtutorials.com/?p=108623#comment-1013456 How to get these timestamps on another esp32?

]]>
By: Hansie https://randomnerdtutorials.com/esp32-data-logging-firebase-realtime-database/#comment-972640 Wed, 16 Oct 2024 16:42:20 +0000 https://randomnerdtutorials.com/?p=108623#comment-972640 Good day everything works great. What I need now is to read data from the Firebase database with the authentication added please help

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-data-logging-firebase-realtime-database/#comment-901973 Fri, 29 Mar 2024 16:30:00 +0000 https://randomnerdtutorials.com/?p=108623#comment-901973 In reply to Stein.

Hi.
Yes. You can do that.
Just make sure you initialize Firebase after deep sleep.
You can check our deep sleep tutorial here: https://randomnerdtutorials.com/esp32-deep-sleep-arduino-ide-wake-up-sources/
Regards,
Sara

]]>
By: Stein https://randomnerdtutorials.com/esp32-data-logging-firebase-realtime-database/#comment-901835 Fri, 29 Mar 2024 03:36:02 +0000 https://randomnerdtutorials.com/?p=108623#comment-901835 Hello Sara,
I do find your content to be quite amazing as I intend to use this concept on a project I am working on but I however do have some worries.
I wish to ask if it will be possible to set the ESP32 to sleep mode when data is not being sent to the real time database so as to minimize power consumption in a scenario where the ESP32 is being powered by an external source such a battery etc..

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-data-logging-firebase-realtime-database/#comment-896861 Thu, 07 Mar 2024 09:23:42 +0000 https://randomnerdtutorials.com/?p=108623#comment-896861 In reply to Kélton Severo.

Hi.
Do you have more information about the error?
Regards,
Sara

]]>
By: Kélton Severo https://randomnerdtutorials.com/esp32-data-logging-firebase-realtime-database/#comment-896788 Wed, 06 Mar 2024 22:17:48 +0000 https://randomnerdtutorials.com/?p=108623#comment-896788 Hi! Your content its so good that i acutally bought the Firebase WEB APP ebook! But tesing my database i always run a error after 10-20minutes sending data to the Real Time Database. The code works great then all of sudden it starts reporting “connection lost” when appending the JSON file. I thought that maybe the token expired after sometime, but testing with assigning a bool variable to the function “Firebase.isTokenExpired()” it informs me that actually was never expired to begin with, increasing the time between connections also didnt solved it. Im using ESP32 1.0.4(but in newer versions the problem also persists), anyway thanks for you excellent content and heres my code:
(…)

]]>
By: Julio https://randomnerdtutorials.com/esp32-data-logging-firebase-realtime-database/#comment-893181 Wed, 21 Feb 2024 15:53:15 +0000 https://randomnerdtutorials.com/?p=108623#comment-893181 Hi, every 100 hundreds write i have this message Set Json… response payload read timed out, what coud it be? I am writing every 10ms perfectly until the 101th write when this happens, and then after 1-2 seconds the program continues with the 102th write and then repeats again the problem at the 201th.

]]>
By: Robert JO https://randomnerdtutorials.com/esp32-data-logging-firebase-realtime-database/#comment-874777 Wed, 29 Nov 2023 00:38:17 +0000 https://randomnerdtutorials.com/?p=108623#comment-874777 Hello, if for example I have two different users. User1 and User2. Will user1 have different readings than user2 or will they have the same data in the “View all data” section.

]]>