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 Tue, 22 Apr 2025 15:52:06 +0000 hourly 1 https://wordpress.org/?v=6.8.1 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.

]]>
By: Elian da rocha Pinheiro https://randomnerdtutorials.com/esp8266-nodemcu-firebase-realtime-database/#comment-824714 Sat, 11 Mar 2023 14:39:28 +0000 https://randomnerdtutorials.com/?p=106618#comment-824714 In reply to Bob Knipper.

probably you put a variable before the “if” in the loop. I added my variable inside the first if and it solved:
“if (Firebase.ready() && signupOK && (millis() – sendDataPrevMillis > 15000 || sendDataPrevMillis == 0)){
sendDataPrevMillis = millis();

variable = (analogRead(A0)*3.3/1023);

// Write an Int number on the database path test/int
if..."

]]>
By: Ashman https://randomnerdtutorials.com/esp8266-nodemcu-firebase-realtime-database/#comment-816800 Thu, 09 Feb 2023 11:52:11 +0000 https://randomnerdtutorials.com/?p=106618#comment-816800 In reply to Ashman.

I tried downgrading the library to 2.3.7 and now it only shows the line
Connected to IP: (and the address)_and thats it. Can you help?

]]>
By: Ashman https://randomnerdtutorials.com/esp8266-nodemcu-firebase-realtime-database/#comment-816791 Thu, 09 Feb 2023 11:35:07 +0000 https://randomnerdtutorials.com/?p=106618#comment-816791 Hi, I am getting the error:
FAILED
REASON: send request failed

Can you please help me with this. It is really urgent for me. I’d be really thankful.

Thanks.

]]>
By: Joschen https://randomnerdtutorials.com/esp8266-nodemcu-firebase-realtime-database/#comment-812635 Tue, 24 Jan 2023 08:56:25 +0000 https://randomnerdtutorials.com/?p=106618#comment-812635 In reply to Sara Santos.

Thank you Sara, now login is ok!
Have a nice day.

]]>