IotAutoHome icon

IotAutoHome

kim jin tae
Free
5+ downloads

About IotAutoHome

Connect arduino esp32, esp8266 and firebase database,
This is a test of how to link the firebase database and the app, and eventually link the firebase database, arduino esp32, esp8266, and the app.
Made for simple testing.
The shape was fixed in three ways.
String Led1Fire="led1"; //type bool
String Led2Fire="led2"; //type bool
String lcdStr="lcdStr"; //type String maxlength 16

It is a method of linking eps8266 or eps32 with the firebase database program.
The application works by linking with the firebase database.
The YouTube bug has been fixed.
The route has 10 locations fixed.
String firePath="/fireId0"; /// fireId0,fireId1,fireId2 ... fireId9

I can't upload all the Arduino programs at once.
I only upload part of it.

///arduino version 1.8.13
///https://arduino.esp8266.com/stable/package_esp8266com_index.json
///https://dl.espressif.com/dl/package_esp32_index.json
//firebase esp32 client
//firebase esp8266 client



#if defined(ESP32)
#include
#include
//;;int LED_BUILTIN = 2; //nodeMCU-32S skip.. Skip
#elif defined(ESP8266) //esp12e
#include
#include
#endif

#include


#define FIREBASE_HOST "iotautohome-acdf3-default-rtdb.firebaseio.com"
#define FIREBASE_AUTH "F1Ji8qR6MUr6arY4Dn58nb3DEEl92XQihpgDB1w5"

#define WIFI_SSID "YOUR_WIFI_AP" /// "YOUR_WIFI_AP"
#define WIFI_PASSWORD "YOUR_WIFI_PASSWORD" /// "YOUR_WIFI_PASSWORD"

//Define Firebase Data objects

FirebaseData firebaseLed1; //
FirebaseData firebaseLed2;
FirebaseData firebaseStr;


const int ledR = 15; //GPIO15
const int ledG = 12; //GPIO12
const int ledB = 13; //GPIO13



String firePath="/fireId0"; /// fireId0,fireId1,fireId2 ... fireId9

String Led1Fire="led1"; //type bool
String Led2Fire="led2"; //type bool
String lcdStr="lcdStr"; //type String maxlength 16

IotAutoHome Screenshots