A remote display controlled with ESP82666
Click on the images to see a n HQ demo
Boot | Demo |
---|---|
This is how me and my wife communicate these days 😁🤷.
My friend Uri Shaked introduced me to esp8266 and it's been almost 10 years since I've written C/C++/Embeddedd. so why not?
- download firebase-arduino
- Arduino Studio > Sketch > Include Library > Add .ZIP Library
- create new project (change the name of the project in all the following)
- navigate to project settings
- grab the database secrets
warning : "database secrets" are currently deprecated and use a legacy Firebase token generator. Update your source code with the Firebase Admin SDK. - make sure you have firebase-cli (
npm install -g firebase-tools
)
- rename
src/wemos/config.sample.h
tosrc/wemos/config.h
and add your values - change "wemos-d1-firebase-display" in
src/web/.firebaserc
to be your firebase project name
- if you're getting
Firebase.h:26:25: fatal error: ArduinoJson.h: No such file or directory
"FirebaseObject.h:109:21: error: 'StaticJsonBuffer' was not declared in this scope
- Arduino Studio > Sketch > Include Library > make sure ArduinoJson is version 5.13.2
- upload
src/wemos/main.display.firebase.ino
to your ESP8266 - deploy the firebase admin webpage
$ src/web> firebase deploy
- open the web interface (https://wemos-d1-firebase-display.firebaseapp.com/)