Це відео не доступне.
Перепрошуємо.
How to fix errors with the ESP32 / ESP8266 and Firebase.
Вставка
- Опубліковано 15 сер 2024
- #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)
Uploading errors fixed on this video : • How to fix errors whil...
Code for Anonymous Data Logging :
www.electronic...
Code for Email Authentication :
www.electronic...
Library for Firebase ESP Client :
github.com/rol...
Link to Firebase:
console.fireba...
(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
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?
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?
ua-cam.com/video/B10HWeXouIg/v-deo.html
Please refer to this video for a deeper understanding. Make sure you follow the steps alongside the video
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?
It's not an issue. It's just that the compilation time is high for most of the upload since the Arduino C program gets converted to a lot of different types and finally gets uploaded. So be patient my friend. It's not a problem.😄
@@ElectronicsSimplified7 Ok, I will be patient😂. Thank you for your concern.
I have done lot of coding but it's not working.. How to fix it
thanks
it's really helpful
Glad to hear that
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()
Please send me the code to electronicsengineering3@gmail.com
me too :(( , so can you help me???
@@ElectronicsSimplified7 help me :((
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.
ua-cam.com/video/B10HWeXouIg/v-deo.html
Very helpful, thank you
It's working, thank you😊😊
You are welcome
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?
It all depends on how your connectivity is ... If you set it to 1000 also. It works fine for me.
@@ElectronicsSimplified7 So it all depends of the WiFi connection between the esp32 and the firebase, right?
Hey man, I got another issue. On the count example, if I set the time to 0.5s, there are 8s of disconnection and 8s of connection, and if I set it to 1s, there are 8s of disconnection and 16s of connection. That means there will be always a disconnection time, unless if you put very long times. Is there any way to keep the connection stable? Or it depends on my connectivity too?
If you could provide me more details or code... I could help you more... email the code to electronicsengineering3@gmail.com
@@ElectronicsSimplified7 I did it a few days ago, but I will send you another mail. Thanks!
Hello, so my code is working but the database doesn't update. can you help to figure it out?
So you will have to change the time.
FAILED
REASON: token is not ready (revoked or expired)
Generate your own token buddy. Check your code. I recommend you to watch the whole video.
Do not just copy paste it. Since there are a lot of elements that need to be taken care of.
How do i generate token@@ElectronicsSimplified7
If you create a firebase account. The tokens are generated in the firebase config.
3:52
SHARE YOUR UPI
rolanpereira3@okicici
@@ElectronicsSimplified7 i did a small contribution
Thank you for your appreciation
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
Hi, I receive the same error. Please share if you have found solution to this. Tried with anonymous, 'username and password' and with legacy. All with Arduino UNO R4 WiFi.
hey , i got the same problem did u find any solutions ?