From 909453263714e5832d5c35cb2a0c415cf25b907a Mon Sep 17 00:00:00 2001 From: Johan Euphrosine Date: Tue, 18 Oct 2016 12:09:12 -0700 Subject: [PATCH 1/2] README: update to new firebase console --- examples/FirebaseRoom_ESP8266/README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/examples/FirebaseRoom_ESP8266/README.md b/examples/FirebaseRoom_ESP8266/README.md index e5a649c2..375d366f 100644 --- a/examples/FirebaseRoom_ESP8266/README.md +++ b/examples/FirebaseRoom_ESP8266/README.md @@ -25,16 +25,17 @@ 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. Go to https://firebase.google.com/ and create a new Firebase +1. Go to `Database` +1. Copy the `Database hostname` (Database URL without `https://` and trailing `/`) +1. Go to `⚙ > Project Settings > Database > Database secrets` 1. Click `Firebase Secrets > Show` -1. Copy the `Firebase Secret` +1. Copy the `Database Secret` 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 `Database Hostname` from step `2.` +1. Replace `FIREBASE_AUTH` with `Database Secret` 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` From a35b90609b163ee5e5a44d736ff208e2bc58e56c Mon Sep 17 00:00:00 2001 From: Johan Euphrosine Date: Tue, 18 Oct 2016 16:46:46 -0700 Subject: [PATCH 2/2] README: fix step ordering --- examples/FirebaseRoom_ESP8266/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/FirebaseRoom_ESP8266/README.md b/examples/FirebaseRoom_ESP8266/README.md index 375d366f..7f1620db 100644 --- a/examples/FirebaseRoom_ESP8266/README.md +++ b/examples/FirebaseRoom_ESP8266/README.md @@ -25,17 +25,17 @@ sensor data to Firebase, and trigger actuators from Firebase. ## Configuration -1. Go to https://firebase.google.com/ and create a new Firebase +1. Start Arduino +1. Open `File > Examples > FirebaseArduino > FirebaseRoom_ESP8266` +1. In `FirebaseRoom_ESP8266`: Replace `WIFI_SSID` and `WIFI_PASSWORD` with WiFi credentials +1. Go to https://firebase.google.com/console/ and create a new Firebase Project 1. Go to `Database` 1. Copy the `Database hostname` (Database URL without `https://` and trailing `/`) +1. In `FirebaseRoom_ESP8266`: replace `FIREBASE_HOST` with the `Database Hostname` 1. Go to `⚙ > Project Settings > Database > Database secrets` 1. Click `Firebase Secrets > Show` 1. Copy the `Database Secret` -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 `Database Hostname` from step `2.` -1. Replace `FIREBASE_AUTH` with `Database Secret` from step `5.` +1. In `FirebaseRoom_ESP8266`: Replace `FIREBASE_AUTH` with `Database Secret` 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`