Comments on: ESP8266 NodeMCU: Getting Started with Firebase (Realtime Database) https://randomnerdtutorials.com/esp8266-nodemcu-firebase-realtime-database/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Fri, 04 Jul 2025 09:24:21 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/esp8266-nodemcu-firebase-realtime-database/#comment-1064576 Fri, 04 Jul 2025 09:24:21 +0000 https://randomnerdtutorials.com/?p=106618#comment-1064576 In reply to Minhtaw.

Hi.
It’s the complete database URL.

Regards,
Sara

]]>
By: Minhtaw https://randomnerdtutorials.com/esp8266-nodemcu-firebase-realtime-database/#comment-1064519 Fri, 04 Jul 2025 04:41:45 +0000 https://randomnerdtutorials.com/?p=106618#comment-1064519 In reply to Sara Santos.

https://iotpro-3248a-default-rtdb.asia-southeast1.firebasedatabase.app/
This is my url do I need https// in url
It stuck in ready after Authentication is success.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-nodemcu-firebase-realtime-database/#comment-1063519 Wed, 02 Jul 2025 09:45:45 +0000 https://randomnerdtutorials.com/?p=106618#comment-1063519 In reply to min htaw.

Hi.
Double-check that the user you created and corresponding password is the same you’re using in your code.
Also, double-check the database URL.

Regards,
Sara

]]>
By: min htaw https://randomnerdtutorials.com/esp8266-nodemcu-firebase-realtime-database/#comment-1063109 Tue, 01 Jul 2025 13:16:52 +0000 https://randomnerdtutorials.com/?p=106618#comment-1063109 authTask, msg: authenticating, code: 7 Debug task: 🔐 authTask, msg: Connecting to server... Event task: 🔐 authTask, msg: auth request sent, code: 8 Event task: 🔐 authTask, msg: auth response received, code: 9 Debug task: 🔐 authTask, msg: Terminating the server connection... Event task: 🔐 authTask, msg: ready, code: 10 /i am stuck in this,database do not change,someone please help.]]> ……….
Event task: 🔐 authTask, msg: authenticating, code: 7
Debug task: 🔐 authTask, msg: Connecting to server…
Event task: 🔐 authTask, msg: auth request sent, code: 8
Event task: 🔐 authTask, msg: auth response received, code: 9
Debug task: 🔐 authTask, msg: Terminating the server connection…
Event task: 🔐 authTask, msg: ready, code: 10
/i am stuck in this,database do not change,someone please help.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-nodemcu-firebase-realtime-database/#comment-987518 Fri, 29 Nov 2024 11:08:59 +0000 https://randomnerdtutorials.com/?p=106618#comment-987518 In reply to Rui.

Hi.
It still works using the deprecated library on VS Code.
The interface on Firebase console has changed the colors, but the menus are the same.

Are you stuck at some point in the process?

Regards,
Sara

]]>
By: Rui https://randomnerdtutorials.com/esp8266-nodemcu-firebase-realtime-database/#comment-987293 Thu, 28 Nov 2024 16:33:02 +0000 https://randomnerdtutorials.com/?p=106618#comment-987293 I really like and use your tutorials. Congratulations on your work.

Now I can’t use more Firebase.
The firebase access has changed and the library is Deprecated.

See msg at GitHub.
https://github.com/mobizt/Firebase-ESP-Client.

Are you tinking about update Firebase tutorial ?

Tks
Rui

]]>
By: Chris https://randomnerdtutorials.com/esp8266-nodemcu-firebase-realtime-database/#comment-968362 Tue, 08 Oct 2024 12:47:57 +0000 https://randomnerdtutorials.com/?p=106618#comment-968362 hello i did your tutorial but i keep getting this error:

Token info: type = id token (GITKit token), status = on request
Token info: type = id token (GITKit token), status = error
Token error: code: -4, message: connection lost

]]>
By: Renzo https://randomnerdtutorials.com/esp8266-nodemcu-firebase-realtime-database/#comment-956402 Thu, 12 Sep 2024 08:32:44 +0000 https://randomnerdtutorials.com/?p=106618#comment-956402 Hi Sara,
I try to compile for Wemos mini ESP8266 , but the compilation in not successful.
Probably the error is here;
In file included from C:\Users\Renzo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\SD\src/SD.h:25,
from c:\users\renzo\documents\arduino\libraries\firebase_arduino_client_library_for_esp8266_and_esp32\src\firebasefs.h:162,
from C:\Users\Renzo\Documents\Arduino\libraries\Firebase_Arduino_Client_Library_for_ESP8266_and_ESP32\src/Firebase.h:36,
from C:\Users\Renzo\Documents\Arduino\libraries\Firebase_Arduino_Client_Library_for_ESP8266_and_ESP32\src/Firebase_ESP_Client.h:34,
from C:\Users\Renzo\AppData\Local\Temp\arduino_modified_sketch_190486\sketch_sep12b.ino:18:
C:\Users\Renzo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\SDFS\src/SDFS.h: In member function ‘virtual int sdfs::SDFSFileImpl::availableForWrite()’:
C:\Users\Renzo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\libraries\SDFS\src/SDFS.h:279:31: error: ‘using element_type = class File32’ {aka ‘class File32’} has no member named ‘availableSpaceForWrite’; did you mean ‘availableForWrite’?
279 | return _opened ? _fd->availableSpaceForWrite() : 0;
| ^~~~~~~~~~~~~~~~~~~~~~
| availableForWrite
Pi

Can you help me?
Tanks
Renzo Giurini

]]>
By: Georgio https://randomnerdtutorials.com/esp8266-nodemcu-firebase-realtime-database/#comment-890429 Mon, 12 Feb 2024 15:17:14 +0000 https://randomnerdtutorials.com/?p=106618#comment-890429 I successfully logged into the firebase. But in the loop() part, the error “connection lost” keeps comming. I am using v 2.3.7. The newest version gave me error “connection failed”

]]>
By: jawad https://randomnerdtutorials.com/esp8266-nodemcu-firebase-realtime-database/#comment-865946 Mon, 16 Oct 2023 06:39:31 +0000 https://randomnerdtutorials.com/?p=106618#comment-865946 Hello,

I have followed this tutorial and successfully build a project using Esp8266 and Firebase Realtime Database. Everything works fine except that when my project is kept idle for like an hour or something it gives me this error:

Token info: type = id token, status = on request
Token info: type = id token, status = error
Token error: code: 400, message: INVALID_EMAIL

Please Note that my Token and Database URL are totally fine. As far as the Email is concerned, im using the anonymous authentication of firebase so that the ESP can connect directly without any human interaction.

Thank you.

]]>