Help needed for ESP8266, GPS neo6m and Firebase
- 
					
					
					
					
 @Sara try this code. #include <WiFi.h> // esp32 library #include <IOXhop_FirebaseESP32.h> // firebase library #define FIREBASE_HOST "led-control-4631d.firebaseio.com"// the project name address from firebase id #define FIREBASE_AUTH "Your Firebase secret key" // the secret key generated from firebase #define WIFI_SSID "Your SSID" // input your home or public wifi name #define WIFI_PASSWORD "Your Passcode" //password of wifi ssid String fireStatus = ""; // led status received from firebase void setup() { Serial.begin(9600); delay(1000); WiFi.begin(WIFI_SSID, WIFI_PASSWORD); //try to connect with wifi Serial.print("Connecting to "); Serial.print(WIFI_SSID); while (WiFi.status() != WL_CONNECTED) { Serial.print("."); delay(500); } Serial.println(); Serial.print("Connected to "); Serial.println(WIFI_SSID); Serial.print("IP Address is : "); Serial.println(WiFi.localIP()); //print local IP address Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH); // connect to firebase Firebase.setString("Your feedname", "your value"); //send initial string of led status }
- 
					
					
					
					
 @kowshik1729 I received this error message Arduino: 1.8.12 (Windows Store 1.8.33.0) (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, ck, 26 MHz, 40MHz, QIO, 512K (no SPIFFS), 2, v2 Lower Memory, Serial, None, Only Sketch, 115200" sketch_mar22b:3:55: fatal error: IOXhop_FirebaseESP32.h: No such file or directory #include <IOXhop_FirebaseESP32.h> // firebase library ^compilation terminated. exit status 1 
 IOXhop_FirebaseESP32.h: No such file or directoryThis report would have more information with 
 "Show verbose output during compilation"
 option enabled in File -> Preferences.
- 
					
					
					
					
 @Sara https://github.com/ioxhop/IOXhop_FirebaseESP32 Go to this site. Download the zip file. Go to your sketch in Arduino IDE -> include .ZIP library -> browse and select your zip file. This will install your library. Then try compiling your code. 
- 
					
					
					
					
 @kowshik1729 still I'm receiving error messages. I think because the esp is different from the esp that mentioned in the code. 
- 
					
					
					
					
 Yeah, I knew that. Typically ESP8266 can compile most of the codes of ESP32. That's why I asked to compile it once. I will get back to you with one more option. 
- 
					
					
					
					
 @Sara https://www.instructables.com/id/Esp8266-Firebase-Connection/ Please try the instructions here step by step and try it. 
- 
					
					
					
					
 @kowshik1729 I already did the same steps previously with no result. 
- 
					
					
					
					
 I already did some projects on Firebase with NodeMCU (ESP8266) .I got run time errors but mine's worked fine .U should check with your libraries . also tested over more than 2 libraries . In the code above u mentioned is not declared the FIREBASE_HOST,FIREBASE_AUTH, WIFI_SSID and WIFI_PASSWORD variable values may be u removed for privacy .The serial gps is not a big deal.U should check ur firbase with the given example of the particular header file or library .I didnt used the ArduinoJson.h library at all .... 
 
			
		 
			
		 
		
	