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

update the doc since the firebase UX changed #170

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions examples/FirebaseDemo_ESP8266/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ FirebaseDemo is a sample that shows basic usage of the `FirebaseArduino` API.
## Configuration

1. Go to https://www.firebase.com/ and create a new Firebase
1. Copy the `Firebase Hostname`
1. Go to `Secrets`
1. Click `Firebase Secrets > Show`
1. Copy the `Firebase Secret`
1. Go to `Auth`
1. Scroll to the bottom and click `Add firebase to a web app`
1. Copy the `authDomain`
1. Copy the `apiKey`
1. Start Arduino
1. Open `File > Examples > FirebaseArduino > FirebaseDemo_ESP8266`
1. Open `File > Examples > FirebaseArduino > FirebaseRoom_ESP8266`
1. Replace `WIFI_SSID` and `WIFI_PASSWORD` with WiFi credentials
1. Replace `FIREBASE_HOST` with the `Firebase Hostname` from step `2.`
1. Replace `FIREBASE_AUTH` with `Firebase Secret` from step `5.`
1. Replace `FIREBASE_HOST` with the `authDomain` from step `4.`
1. Replace `FIREBASE_AUTH` with `apiKey` from step `5.`
1. Select the board `Board > ESP8266 Modules > NodeMCU 1.0`
1. Select the serial port `Port > /dev/tty...`
1. Select the upload speed `Upload Speed > 115200`
Expand Down
18 changes: 9 additions & 9 deletions examples/FirebaseNeoPixel_ESP8266/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@ FirebaseNeoPixel is a sample that shows how to set pixel data from Firebase web
## Configuration

1. Go to https://www.firebase.com/ and create a new Firebase
1. Copy the `Firebase Hostname`
1. Go to `Secrets`
1. Click `Firebase Secrets > Show`
1. Copy the `Firebase Secret`
1. Go to `Auth`
1. Scroll to the bottom and click `Add firebase to a web app`
1. Copy the `authDomain`
1. Copy the `apiKey`
1. Start Arduino
1. Click `File > Examples > FirebaseArduino > FirebaseRoom_ESP8266`
1. Open `File > Examples > FirebaseArduino > FirebaseRoom_ESP8266`
1. Replace `WIFI_SSID` and `WIFI_PASSWORD` with WiFi credentials
1. Replace `FIREBASE_HOST` with the `Firebase Hostname` from step `2.`
1. Replace `FIREBASE_AUTH` with `Firebase Secret` from step `5.`
1. Replace `FIREBASE_HOST` with the `authDomain` from step `4.`
1. Replace `FIREBASE_AUTH` with `apiKey` from step `5.`
1. Select the board `Board > ESP8266 Modules > NodeMCU 1.0`
1. Select the serial port `Port > /dev/tty...`
1. Select the upload speed `Upload Speed > 115200`
1. Click `Sketch > Upload`
1. Open `public/index.html` with a text editor
1. Replace `example.firebaseio.com` with the `Firebase Hostname` from step `2.`
1. Replace `secret_or_token` with `Firebase Secret` from step `5.`
1. Replace `example.firebaseio.com` with the `authDomain` from step `4.`
1. Replace `secret_or_token` with `apiKey` from step `5.`
1. Deploy the `public` directory to Firebase hosting
```
npm install -g firebase-tools bower
Expand Down
12 changes: 6 additions & 6 deletions examples/FirebaseRoom_ESP8266/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ sensor data to Firebase, and trigger actuators from Firebase.
## Configuration

1. Go to https://www.firebase.com/ and create a new Firebase
1. Copy the `Firebase Hostname`
1. Go to `Secrets`
1. Click `Firebase Secrets > Show`
1. Copy the `Firebase Secret`
1. Go to `Auth`
1. Scroll to the bottom and click `Add firebase to a web app`
1. Copy the `authDomain`
1. Copy the `apiKey`
1. Start Arduino
1. Open `File > Examples > FirebaseArduino > FirebaseRoom_ESP8266`
1. Replace `WIFI_SSID` and `WIFI_PASSWORD` with WiFi credentials
1. Replace `FIREBASE_HOST` with the `Firebase Hostname` from step `2.`
1. Replace `FIREBASE_AUTH` with `Firebase Secret` from step `5.`
1. Replace `FIREBASE_HOST` with the `authDomain` from step `4.`
1. Replace `FIREBASE_AUTH` with `apiKey` from step `5.`
1. Select the board `Board > ESP8266 Modules > NodeMCU 1.0`
1. Select the serial port `Port > /dev/tty...`
1. Select the upload speed `Upload Speed > 115200`
Expand Down