Comments on: Firebase: Control ESP8266 NodeMCU GPIOs from Anywhere https://randomnerdtutorials.com/firebase-control-esp8266-nodemcu-gpios/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Fri, 08 May 2026 20:42:57 +0000 hourly 1 https://wordpress.org/?v=6.8.5 By: Sara Santos https://randomnerdtutorials.com/firebase-control-esp8266-nodemcu-gpios/#comment-1124232 Sat, 15 Nov 2025 18:51:39 +0000 https://randomnerdtutorials.com/?p=110533#comment-1124232 In reply to John.

You’re right.
I didn’t notice it.
I already fixed it in the code.
Regards,~
Sara

]]>
By: John https://randomnerdtutorials.com/firebase-control-esp8266-nodemcu-gpios/#comment-1124135 Sat, 15 Nov 2025 12:33:14 +0000 https://randomnerdtutorials.com/?p=110533#comment-1124135 In reply to John.

yes. that was the issue. tnx
oh the intro into yr program still points to the HelperFunction being in the deprecated Firebase-ESP-Client library:
“Based in the RTDB Basic Example by Firebase-ESP-Client library by mobizt
https://github.com/mobizt/Firebase-ESP-Client/blob/main/examples/RTDB/Basic/Basic.ino

hence my initial confusion

]]>
By: John https://randomnerdtutorials.com/firebase-control-esp8266-nodemcu-gpios/#comment-1124134 Sat, 15 Nov 2025 12:25:15 +0000 https://randomnerdtutorials.com/?p=110533#comment-1124134 Yes I was considering that. I have 1.4.9 while there is 2.2.4
Usually I am a bit reluctant to update libraries when I have working code as not seldomly libraries are not backward compatible.
Will give it a try. Tnx

]]>
By: Sara Santos https://randomnerdtutorials.com/firebase-control-esp8266-nodemcu-gpios/#comment-1123450 Thu, 13 Nov 2025 16:26:26 +0000 https://randomnerdtutorials.com/?p=110533#comment-1123450 In reply to John.

We’re currently using the latest version of the FirebaseClient library which has different methods than the older version.
However, after having installed the correct library, as mentioned in the tutorial, the code should run without issues.

Which version of the library are you using?

Regards.
Sara

]]>
By: John https://randomnerdtutorials.com/firebase-control-esp8266-nodemcu-gpios/#comment-1123009 Wed, 12 Nov 2025 15:18:04 +0000 https://randomnerdtutorials.com/?p=110533#comment-1123009 In reply to Sara Santos.

Great Tnx a lot I never would have found that.
Yet, to my surprise I got another error: class AsyncResult’ has no member named ‘eventLog’
I am surprised as a few years back the code would run immediately without problems and I also can’t remember having to look for ExampleFunctions.h
has the code changed/been updated?

]]>
By: Sara Santos https://randomnerdtutorials.com/firebase-control-esp8266-nodemcu-gpios/#comment-1121932 Mon, 10 Nov 2025 15:20:28 +0000 https://randomnerdtutorials.com/?p=110533#comment-1121932 In reply to John.

Hi.
The ExamplesFunctions.h is a file in the library folder. Check it our here: https://github.com/mobizt/FirebaseClient/blob/main/src/ExampleFunctions.h
Regards,
Sara

]]>
By: John https://randomnerdtutorials.com/firebase-control-esp8266-nodemcu-gpios/#comment-1121411 Sun, 09 Nov 2025 16:14:14 +0000 https://randomnerdtutorials.com/?p=110533#comment-1121411 Have a question about the
“#include “ExampleFunctions.h” // Provides the functions used in the examples.”
is that to be found somewhere?? Not in Mobitz library
The text did not give any further explanation.
So I tried leaving it out and then I get: “SSL_Client does not name a type”
Was that supposed to be somewhere in that mysterious “ExampleFunctions.h” file

]]>
By: Sara Santos https://randomnerdtutorials.com/firebase-control-esp8266-nodemcu-gpios/#comment-1051764 Wed, 28 May 2025 15:08:10 +0000 https://randomnerdtutorials.com/?p=110533#comment-1051764 In reply to Hitesh.

Hi.
It’s because those pins are active LOW.
They work with inverted logic.
For more info, you can check the ESP8266 pinout:https://randomnerdtutorials.com/esp8266-pinout-reference-gpios/
Regards,
Sara

]]>
By: Hitesh https://randomnerdtutorials.com/firebase-control-esp8266-nodemcu-gpios/#comment-1051194 Tue, 27 May 2025 15:44:34 +0000 https://randomnerdtutorials.com/?p=110533#comment-1051194 When I use the Built-in LEDs ( @pin 2 and pin 16) there is some anomaly. When the state input is given/ sent as 1 from firebas the default LEDs turn off and when state is sent as 0 the LEDs turn on. Why does this happen??

]]>
By: Mariana https://randomnerdtutorials.com/firebase-control-esp8266-nodemcu-gpios/#comment-996789 Fri, 03 Jan 2025 12:33:21 +0000 https://randomnerdtutorials.com/?p=110533#comment-996789 Hola Sara!
Soy Mariana y probé el ejemplo y es fantástico, incluso manejo reglas desde realtime database, es más puedo conectar varios esp8266 con 2 salidas cada una de ella Los datos secretos son apikey y base_url, alguna forma de enviar desde una aplicación web el usuario y contraseña? desde ya gracias!

]]>