How to fix errors with the ESP32 / ESP8266 and Firebase.

preview_player
Показать описание
#errors #esp8266 #fixed #ESP32 #firebase

The ESP Devices are most popular devices for IoT(Internet of Things). So having a realtime database is a challenge. In this video, you will see some most common mistakes done by the users. If you have any more errors, do not hesistate to mention it in the comment section. The entire video has the procedure to get started with firebase too.

Error List
1. Using the wrong version of the library (incompatibilty issue solved)
2. Connecting to WiFi (reboot / EN)
3. Entering wrong password for the authentication (App Password is to be generated from the google account.)
4. Editing the code without establishing the connection with the database
5. Email account (Use a new account for safety)

Code for Anonymous Data Logging :

Code for Email Authentication :

Library for Firebase ESP Client :

Link to Firebase:

(Please use your own Web API Keys and URLs. I have not hidden the information for education purpose only.)

Timeline
0:00 Introduction
0:17 Connect your device
0:36 Create your Firebase Project
1:33 Setting up Authentication (Anonymous)
2:23 Setting up Realtime Database
4:03 Setting up Programming Environment
4:40 Adding the Firebase ESP Client Library (Version Compatible with Firebase in 2023) (Error 1)
8:09 Setting up your device for upload
11:21 Connecting to the WiFi (Error 2)
13:13 Email Authentication Method (Do not do it. Watch the Full Video)
15:15 Incorrect Method of Email ID and Passwords
20:49 Creating an App Password for the ESP Devices
26:05 Setting up a new account and adding the details
26:40 Connection with the Realtime Database and fetching the UUID

Please Like || Share || Subscribe
Рекомендации по теме
Комментарии
Автор

I have done lot of coding but it's not working.. How to fix it

bhargvvlogs
Автор

Great video! Downloaded your anonymous data logging sketch. Unfortunately after compiling and uploading I get this error "FAILED REASON: not found". What am I doing wrong?

bubbaganoosh
Автор

Thank you for your excellent content.
It takes too long to verify the code or to upload it to the ESP32, is there a solution for this issue?

abdullaheid
Автор

Hi there...!, I found this video very helpful and everything works fine and now the question is how to fetch or send the data to the firebase. Could you please help me to come over that?

shreyassy
Автор

hey, great video, I was wondering if there's any code that doesnt use the anonymous data loggin?, im trying to use the code provided with MIT app inventor and I believe I cant get de values due to the anonymous loggin.

SantiagoMartinez-nvcu
Автор

Hello, so my code is working but the database doesn't update. can you help to figure it out?

israkf
Автор

Good video. I have an issue, if I want to set the sendDataPrevMillis below 4 seconds, the data fails and it didn't show in firebase. Any solution?

elputincamo
Автор

PLEASE help me.
After 60-120 seconds it stops to work and update data..
Like it's frozen
But in first seconds it works well, I did a simple Set bool in loop()

mychannelmarco
Автор

FAILED
REASON: token is not ready (revoked or expired)

sirthug
Автор

Token info: type = id token (GITKit token), status = error
Token error: code: 400, message: bad request
Token info: type = id token (GITKit token), status = on request
Token info: type = id token (GITKit token), status = error
Token error: code: 400, message: INVALID_EMAIL

Thanks a lot, but i face this issue

breomhs