Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 204eecd

Browse files
authored
examples: update READMEs
1 parent e0da9dc commit 204eecd

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

examples/FirebaseDemo_ESP8266/README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ FirebaseDemo is a sample that shows basic usage of the `FirebaseArduino` API.
1313

1414
## Configuration
1515

16-
1. Go to https://www.firebase.com/ and create a new Firebase
17-
1. Copy the `Firebase Hostname`
18-
1. Go to `Secrets`
19-
1. Click `Firebase Secrets > Show`
20-
1. Copy the `Firebase Secret`
2116
1. Start Arduino
22-
1. Open `File > Examples > FirebaseArduino > FirebaseDemo_ESP8266`
23-
1. Replace `WIFI_SSID` and `WIFI_PASSWORD` with WiFi credentials
24-
1. Replace `FIREBASE_HOST` with the `Firebase Hostname` from step `2.`
25-
1. Replace `FIREBASE_AUTH` with `Firebase Secret` from step `5.`
17+
1. Open `File > Examples > FirebaseArduino > FirebaseRoom_ESP8266`
18+
1. In `FirebaseRoom_ESP8266`: Replace `WIFI_SSID` and `WIFI_PASSWORD` with WiFi credentials
19+
1. Go to https://firebase.google.com/console/ and create a new Firebase Project
20+
1. Go to `Database`
21+
1. Copy the `Database hostname` (Database URL without `https://` and trailing `/`)
22+
1. In `FirebaseRoom_ESP8266`: replace `FIREBASE_HOST` with the `Database Hostname`
23+
1. Go to `⚙ > Project Settings > Database > Database secrets`
24+
1. Click `Firebase Secrets > Show`
25+
1. Copy the `Database Secret`
26+
1. In `FirebaseRoom_ESP8266`: Replace `FIREBASE_AUTH` with `Database Secret`
2627
1. Select the board `Board > ESP8266 Modules > NodeMCU 1.0`
2728
1. Select the serial port `Port > /dev/tty...`
2829
1. Select the upload speed `Upload Speed > 115200`

0 commit comments

Comments
 (0)