-
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
Has anyone had problems with your Nodemcu and Firebase connection? #369
Comments
Yes, I cant connect.. |
firebase has new fingerprint => just edit this file, FirebaseHttpClient.h |
Works correctly !! Thank you @adamrabbani :) |
Thank you so much @adamrabbani !!!!!!!!!!!!!!!!!!!! |
@adamrabbani |
Damm!! Thank you a lot bro |
This is my own solutions to handle the fingerprint changes
to
and from line no. 46
to
This is fingerprint.php file
Solution 2 Bypass the finger print verification in WiFiClientSecure.cpp in C:\Users{YOUR NAME}\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0\libraries\ESP8266WiFi\src from line no. 630 to
|
@adamrabbani GOD BLESS!!!!!! We have a project due on monday (3 days from this post) and randomly our firebase started failing. God bless you, God bless your family, god bless your ancestors. |
@adamrabbani jesus christ god bless indeed. That was really scary. Whats the scoop on this? |
@adamrabbani |
@arkochatterjee I've the same issue...but the fingerprint for me is already correct. |
I have the same issue. I changed the fingerprint, but its still not working, It begins connection and starts streaming. Does Anyone know the solution ? |
hi @adamrabbani hope you doing well can you plz tell that where i found firebasehttp.client.h. your answer would be highly appreciated |
@hammad42 |
thankyou @santoshn547 but finger print is already same as above which is wrote by @adamrabbani |
@santoshn547 if you found any success plz share it with me i have submit my fyp project and i stuck on this my code was works fine then this shit happens.. |
@JaysArtwork did you find any success.. |
@hammad42 |
@hammad42 I did not find any solution...damn |
Ok @JaysArtworks@Santoshn547 do one thing download old library and go to firebase http client.h and edit finger print as above adamrabbani shows |
@adamrabbani @ Thank you very much my friend. You save my project. I have try many weeks ago. Now it work fine. Many many thank. |
@adamrabbani @ how can we know that firebase change that? If later firebase change again, where can we find it? |
@kimleng-ly you can check fingerprint through this site https://www.grc.com/fingerprints.htm?domain=yourdatabase.firebaseio.com For test you can use https://www.grc.com/fingerprints.htm?domain=test.firebaseio.com. If you read my post above, solution 1 (if you have PHP skill) is for automatically update fingerprint when your device start to connect to firebase. In case of you want to bypass fingerprint checking please see solution 2 of my previous post. |
@mobizt Many thank my friend. You save a lot time for me to search it. Thank. |
@AlexPivo If you want to by pass fingerprint verification, write
|
Thanks, it's working. Works 2-3 minutes, then error. Crash controller (freezes controller ) and start working again in 2-3 minutes. p.s. Error not writes: DB failed |
the library should be inside the Document/Arduino/libraries, not the program files, |
Can you confirm that was fixed with #368 ? |
@mobizt Im using your library. At first use it connects fine but is internet connection goes down (ie WiFi keeps but Internet is offline for some time) then doesnt autoconnect again when internet connection goes online again. How can I fix it? |
@alvaroaguero55 Are you use the latest version? Please update and if problem still exists, please open the issue on my GitHub and share your more information for sketch and kind of router or AP. |
@mobizt Could you send me the link of new last updated library? Thank. |
@kimleng-ly my library? please visit my GitHub, you'll see the repos. |
https://www.hackanons.com/2018/02/iot-with-firebase-connecting-arduino.html use the lower version of the arduino ide described in the link ....and use Arduinojson ver 5.13.5 use wise uninstaller for removing all files of the latest version of the arduino............click on force uninstall then restart the system.... install arduino ver 1.6.9 install 2.4.0 esp8266 board manager change firebase url,key,ssid,password in the sample code in the link upload the script all will be fine |
// connect to wifi.
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
Serial.print("connecting");
while (WiFi.status() != WL_CONNECTED) {
Serial.print(".");
delay(500);
}
Serial.println();
Serial.print("connected: ");
Serial.println(WiFi.localIP()); this code lets you connect to your
wifi..this is in the void setup() your esp8266 connect to wifi when it
starts....thinking that connection doesnt turn off if your wifi connection
down sometimess....use the above code in void loop()
…On Sat, May 18, 2019 at 4:34 PM mobizt ***@***.***> wrote:
@kimleng-ly <https://github.com/kimleng-ly> my library? please visit my
GitHub, you'll see the repos <https://github.com/mobizt/Firebase-ESP8266>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#369?email_source=notifications&email_token=AKWWWXUHTD6HASIMQ7NRVNLPV7PFBA5CNFSM4FNUF6I2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVWMQ3A#issuecomment-493668460>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKWWWXRIC4LYF7XSCBXEEW3PV7PFBANCNFSM4FNUF6IQ>
.
|
You didn't miss anything. actually your code cant make changes on firebase database due to internet connection that's why you're getting problem. |
use arduino json 5.13.5 |
bro can you please provide me the link of latest firebase arduino library? |
if you have any error, provide your code. |
actually i am trying to read data from rfid reader MFRC522 which is connected to the nodemcu esp8266 module, and then i am trying to send that data to the firebase real time database, code gets uploaded no error found, but data is not updating on the firebase real time database, i did all what you said above, arduino json 5.13.5, esp8266 board version 2.60, latest library of firebase arduino and latest arduino ide version |
try this code.......
also change database rule like this { |
change the FIREBASE_HOST with your firebase url ... without http:// |
@Alpha-1729 Thanks mate, it worked (y) thanks a lot for your help |
whats wrong with your setup |
What's wrong on my code?I am trying to read data from pulse sensor(gy max30100) and send it to firebase using Node mcu(ESP-8266) . But it doesn't function properly. Here is my code. It will be very helpful to me if anyone can fix my issue. Thanks in advance. #include <Arduino.h> #define REPORTING_PERIOD_MS 500 #define FIREBASE_HOST "" #define WIFI_SSID "" PulseOximeter pox; uint32_t tsLastReport = 0; void onBeatDetected() void setup()
} void loop()
} |
Is this the value in your firebase.
Please Note this point:
Is this printing the actual value
Covert float to string and upload to firebase. Try first with the sample code given above by me.
|
Sorry, I have filed to describe my issues in my previous comment. The following code prints actual values when no firebase credentials are included. Serial.print("Heart rate:"); But the problem arises when I add firebase setup on my code. Even It doesn't print any true value on my serial Monitor. Furthermore, the serial monitor prints a few random values on the serial monitor, and it "successfully" sends the data to the firebase. The following link also describes the same problem. Please help me if you can. |
try this code.......
also change database rule like this { |
cant
still cant connect to firebase |
Firebase.pushString("/trial/messgae", my_msg); //Chenge this line By setup path and send readings |
First of all thank you for your amazing library Mobizt. |
@mobizt |
The fingerprint verification is not secure for server verification, use Root CA certificate for server verification is secured. My library allows Root CA certificate verification only for secure mode connection using WiFiClientSecure class to make own secure TCP client then nothing is related to the fingerprint data that used in ESP8266HTTPClient class that used by other Firebase library. And library also support insecure mode (no Root CA certificate verification). |
Thank you so much for your fast reply! |
I said "nothing is related to the fingerprint data" is clear already. |
this answer in this thread was what worked for me To get the updated Fingerprint using the given links. |
Hi.
Has anyone had problems with your Nodemcu and Firebase connection? everything worked correctly until today.
Is someone having this problem?
The text was updated successfully, but these errors were encountered: