FirebaseExtended / firebase-arduino

Arduino samples for Firebase.
Apache License 2.0
945 stars 494 forks source link

I install firebase-arduino-master already but arduino can't work (compiling error) #409

Open RDOK123 opened 5 years ago

RDOK123 commented 5 years ago

I install firebase-arduino-master already ,and I can call example on arduino,but when I verify it show this "C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src/FirebaseArduino.h:20:18: fatal error: string: No such file or directory

compilation terminated.

exit status 1" but I already install firebase-arduino-master and I can find FirebaseArduino.h in that directory

kingame96 commented 5 years ago

https://github.com/FirebaseExtended/firebase-arduino/blob/master/src/FirebaseArduino.h follow this link

RDOK123 commented 5 years ago

I have ckeck that link,and I already have the same file ,and then what I should to do?

phoenixxd commented 5 years ago

Go to this link https://github.com/bblanchon/ArduinoJson/tree/v5.13.1 download the zip. Open arduino ide -> sketch -> include library -> add .zip library -> select the zip you just downloaded. And it would work fine. Make sure you have uninstalled the ArduinoJson if you already had it installed. For uninstalling just remove the folder ArduinoJson from C:\Users\yourusername\Documents\Arduino\libraries

Asif54321 commented 5 years ago

I am actually having a problem with this Library with Esp32. The Firebase.getString("path"); command takes more than 1sec to run, i am using this in house automation and in my loop i need to get at least 5 variables from FireBase and the hardware takes almost 8 seconds to react to the command. Any help? Thank you anyway.

kevalshah1223 commented 5 years ago

still won't able to connect it. please help me guys my 400 marks project is totaly based on this, please

phoenixxd commented 5 years ago

I am actually having a problem with this Library with Esp32. The Firebase.getString("path"); command takes more than 1sec to run, i am using this in house automation and in my loop i need to get at least 5 variables from FireBase and the hardware takes almost 8 seconds to react to the command. Any help? Thank you anyway.

You need not query the firebase for every five variable. Rather store data such that you retrieve a path and its children contain all the five different variables that you need. In this way it will take 1sec to fetch the data and in your code you can access the different values using firebaseobject class

elishatofunmi commented 4 years ago

hello guys, am currently having issues with FirebaseArduino.h, i have it installed but it is giving me this error

Arduino: 1.8.9 (Windows 10), Board: "Arduino/Genuino Uno"

In file included from C:\Users\user\Desktop\Captain bashar\arduino codes\finger_final\finger_final.ino:18:0:

C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src/FirebaseArduino.h:20:18: fatal error: string: No such file or directory

compilation terminated.

exit status 1 Error compiling for board Arduino/Genuino Uno.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

iammechanic-dev commented 3 years ago

Hi, did you solve this problem? If you did, how did you solve? I have almost same problem.

Pritij23 commented 2 years ago

I have ckeck that link,and I already have the same file ,and then what I should to do?

Hey , Your problem got solved? CZ I am having the same issue.

Navodh1001 commented 1 year ago

Hey. Did anyone solve this?