diff --git a/examples/FirebaseDemo_ESP8266/README.md b/examples/FirebaseDemo_ESP8266/README.md index abbae384..3113f6a3 100644 --- a/examples/FirebaseDemo_ESP8266/README.md +++ b/examples/FirebaseDemo_ESP8266/README.md @@ -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` diff --git a/examples/FirebaseNeoPixel_ESP8266/README.md b/examples/FirebaseNeoPixel_ESP8266/README.md index f54e8337..25c028be 100644 --- a/examples/FirebaseNeoPixel_ESP8266/README.md +++ b/examples/FirebaseNeoPixel_ESP8266/README.md @@ -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 diff --git a/examples/FirebaseRoom_ESP8266/README.md b/examples/FirebaseRoom_ESP8266/README.md index a939d1c2..8fc07860 100644 --- a/examples/FirebaseRoom_ESP8266/README.md +++ b/examples/FirebaseRoom_ESP8266/README.md @@ -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`