-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP8266 not connecting to firebase! #373
Comments
Same for me, it fails to read and write. Although Firebase.begin gives success. I am using DB Secret. |
try this : #369 |
I'll try this solution later. |
@prj-x I've I tried to change the Firebase fingerprint, but nothing...it is working for you? |
I have tried changing the Firebase fingerprint as well as updating the library itself but no use ? |
I Changing the firebase fingerprint, nothing. I'm try get new firebase library complete, but don't work. |
@heriveltogabriel @santoshn547 @JaysArtworks try use old libary for a while.. but this library doesn't work for stream function download and edit to newest fingerprint.. (FirebaseHttpClient.h) |
Using the old library in esp8266 it is reseting. it shows the following exception : and it continuously resets . |
@santoshn547 can i see the code ? |
@adamrabbani #define firebaseURl "****" FirebaseArduino FirebaseStream; int leds[4] = {D1, D2, D3, D4}; #define BOUNCE_DURATION 20 // define an appropriate bounce time in ms for your switches #define DEBOUNCE 20 void setup() {
} void loop() { detachInterrupt(D5); if (FirebaseStream.failed()) { if (FirebaseStream.available()) {
switch (btn) } void getData() { FirebaseObject object = MyFirebase.get(path); digitalWrite(leds[0], led1); Serial.println(led1); int D1state = led1; int D2state = led2; void hello(){ } void changeState(){ |
Hi everyone
|
@santoshn547 |
@adamrabbani
Is my code right for the old library ? @kabir1995 What code are you using to begin connection as well as to get bool from firebase ? |
@kabir1995 Thank you very much man! Now the code is working, I did all the steps which you said above, and i deleted the #include <ArduinoJson.h> from the code, because when i upload the code with the Json Library included, it gives me errors, anyway all is working, so thank you again! |
@JaysArtworks |
@santoshn547 These are the lines of code which i'm using to get the value from Firebase, when the value is 1 the fan turns on and when is 0 it turns off. |
@JaysArtworks |
@santoshn547 you can see in this example=> https://github.com/firebase/firebase-arduino/blob/master/examples/FirebaseRoom_ESP8266/FirebaseRoom_ESP8266.ino |
@kabir1995 Thank you so much friend. Your solution worked and saved my project. |
HELLO PERSONAL I HAD A PROJECT WITH ESP8266, WHERE IT WORK PERFECTLY, BUT AFTER THAT CHANGE EVERYTHING WAS ONLY, I COULD CONNECT THE INVENTOR APP WITH THE DATABASE, BUT THE ESP8266 HE SHOWS CONNECTED THE WAFI, BUT IT DOES NOT CONNECT TO THE DATA BANK FROM FIREBASE |
@adamrabbani I do not understand why my copila is not what is being the mistake? |
@Wagnerviana apply @kabir1995 solution written above. I am also facing similar problem and finally kar it's solution work. |
Can you confirm that was fixed with #368 ? |
@karan13421 |
@karan13421 |
BOMM I CAN CONTAIN EVERYTHING OK, NO DATA BANK MAKES READINGS |
@Wagnerviana CAN YOU SHARE THE CODE ? |
@kabir1995 |
@prj-x I have a problem with nodemcu and firebase ......when nodemcu start working it connects to wifi then connects to the firebase then i send int and every thing is working fine ...... |
help me, i can connect to firebase 2019 |
blow line in file FirebaseHttpClient.h this file found inside you library of Arduino
|
Owh right, now firebase connected. Thank you
Pada tanggal Min, 10 Mar 2019 17.15 Jagdish05 <notifications@github.com
menulis:
… change this line in file FirebaseHttpClient.h this file found inside you
library of Arduino
static const char kFirebaseFingerprint[] = "E2 34 53 7A 1E D9 7D B8 C5 02
36 0D B2 77 9E 5E 0F 32 71 17";
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#373 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AuHMr1nTsDpiWX6s_smpvuoACLUdpefqks5vVNtNgaJpZM4VvC2s>
.
|
how do u know these changes? |
thanks ALOT @kabir1995 THAT'S WORKS |
again, firebase update 19/04/2019 can't connect to firebase again |
19/04/2019 can not conenct Firebase data base ... |
"B6 F5 80 C8 B1 DA 61 C1 07 9D 80 42 D8 A9 1F AF 9F C8 96 7D"; // 2019-04 |
Thanks, @MaiVanThanh197 Now it is working. From where did you find the new key. |
Use this site and check for Test.firebaseio.com :- |
sir can send me how to insert a data from nodemcu to firebase. |
Check out this:- |
@raghavendralg, you can check out the examples that are given in ArduinoFirebase library in Arduino IDE |
I am facing this problem from 2 weeks, Firebase is readable and writeable from my mobile app but from Node MCU it is not accessible. I did all possible work, upgraded library, applied the latest fingerprints, but nothing is working. In the demo program in examples, its showing setting number failed, Please help me as I have to submit this project. |
it is working for me , thanks man @MaiVanThanh197 you saved me. |
hey, alternate to firebase data is https://github.com/mobizt/Firebase-ESP8266 |
I followed as you explained. But it doesn't get the Firebase value. Help me #include <FirebaseArduino.h> #define FIREBASE_HOST "Host" void setup() { // connect to wifi. // put your setup code here, to run once: void loop() { delay(1000);
} delay(1000); } |
Can you screenshoot your full json?, maybe you missing your parent path. |
hi, i'm trying to get and set values on the firebase using nodemcu esp8266 module, but i'm unable to do it, there's no error but firebase doesn't get updated!, ssid, password, firebasehost, database secret all are correct and when i try to upload same code on my friend's pc it starts working, please help me! |
"but i'm unable to do it,". do it from where ? from web or android studio |
i am uploading code through arduino ide, using nodemcu esp8266 module. for the reference i am following this method |
Hi @Saadi986 Use ArduinoJson5.x library :- https://m.youtube.com/watch?v=6oWI_xhAtrY https://github.com/bblanchon/ArduinoJson/tree/5.x Checkout how to upload code to NodeMCU ESP8266 using Arduino IDE:- Thanks |
Firebase issue on esp8266
"Arduino/libraries/firebase-arduino-master/src/FirebaseHttpClient.h" |
I've a problem connecting the ESP8266 board to Firebase (sketch is correct), but the board connects to the wi-fi, I've already updated the Arduino Json Library and i reinstalled the Firebase library, but nothing (2 months ago I had no problems with the connection).
The text was updated successfully, but these errors were encountered: