@@ -25,16 +25,17 @@ sensor data to Firebase, and trigger actuators from Firebase.
25
25
26
26
##Configuration
27
27
28
- 1 . Go tohttps://www.firebase.com/ and create a new Firebase
29
- 1 . Copy the` Firebase Hostname `
30
- 1 . Go to` Secrets `
31
- 1 . Click` Firebase Secrets > Show `
32
- 1 . Copy the` Firebase Secret `
33
28
1 . Start Arduino
34
29
1 . Open` File > Examples > FirebaseArduino > FirebaseRoom_ESP8266 `
35
- 1 . Replace` WIFI_SSID ` and` WIFI_PASSWORD ` with WiFi credentials
36
- 1 . Replace` FIREBASE_HOST ` with the` Firebase Hostname ` from step` 2. `
37
- 1 . Replace` FIREBASE_AUTH ` with` Firebase Secret ` from step` 5. `
30
+ 1 . In` FirebaseRoom_ESP8266 ` : Replace` WIFI_SSID ` and` WIFI_PASSWORD ` with WiFi credentials
31
+ 1 . Go tohttps://firebase.google.com/console/ and create a new Firebase Project
32
+ 1 . Go to` Database `
33
+ 1 . Copy the` Database hostname ` (Database URL without` https:// ` and trailing` / ` )
34
+ 1 . In` FirebaseRoom_ESP8266 ` : replace` FIREBASE_HOST ` with the` Database Hostname `
35
+ 1 . Go to` ⚙ > Project Settings > Database > Database secrets `
36
+ 1 . Click` Firebase Secrets > Show `
37
+ 1 . Copy the` Database Secret `
38
+ 1 . In` FirebaseRoom_ESP8266 ` : Replace` FIREBASE_AUTH ` with` Database Secret `
38
39
1 . Select the board` Board > ESP8266 Modules > NodeMCU 1.0 `
39
40
1 . Select the serial port` Port > /dev/tty... `
40
41
1 . Select the upload speed` Upload Speed > 115200 `