Skip to content

Commit a35b906

Browse files
authored
README: fix step ordering
1 parent 9094532 commit a35b906

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/FirebaseRoom_ESP8266/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ sensor data to Firebase, and trigger actuators from Firebase.
2525

2626
## Configuration
2727

28-
1. Go to https://firebase.google.com/ and create a new Firebase
28+
1. Start Arduino
29+
1. Open `File > Examples > FirebaseArduino > FirebaseRoom_ESP8266`
30+
1. In `FirebaseRoom_ESP8266`: Replace `WIFI_SSID` and `WIFI_PASSWORD` with WiFi credentials
31+
1. Go to https://firebase.google.com/console/ and create a new Firebase Project
2932
1. Go to `Database`
3033
1. Copy the `Database hostname` (Database URL without `https://` and trailing `/`)
34+
1. In `FirebaseRoom_ESP8266`: replace `FIREBASE_HOST` with the `Database Hostname`
3135
1. Go to `⚙ > Project Settings > Database > Database secrets`
3236
1. Click `Firebase Secrets > Show`
3337
1. Copy the `Database Secret`
34-
1. Start Arduino
35-
1. Open `File > Examples > FirebaseArduino > FirebaseRoom_ESP8266`
36-
1. Replace `WIFI_SSID` and `WIFI_PASSWORD` with WiFi credentials
37-
1. Replace `FIREBASE_HOST` with the `Database Hostname` from step `2.`
38-
1. Replace `FIREBASE_AUTH` with `Database Secret` from step `5.`
38+
1. In `FirebaseRoom_ESP8266`: Replace `FIREBASE_AUTH` with `Database Secret`
3939
1. Select the board `Board > ESP8266 Modules > NodeMCU 1.0`
4040
1. Select the serial port `Port > /dev/tty...`
4141
1. Select the upload speed `Upload Speed > 115200`

0 commit comments

Comments
 (0)