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

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 มิ.ย. 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.electronicssimplified.in/...
    Code for Email Authentication :
    www.electronicssimplified.in/...
    Library for Firebase ESP Client :
    github.com/rolan37/Firebase-E...
    Link to Firebase:
    console.firebase.google.com/
    (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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 40

  • @SantiagoMartinez-nv2cu
    @SantiagoMartinez-nv2cu ปีที่แล้ว +1

    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.

  • @zahidarakemi3431
    @zahidarakemi3431 11 หลายเดือนก่อน

    Very helpful, thank you

  • @abdullaheid7120
    @abdullaheid7120 26 วันที่ผ่านมา +1

    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?

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  26 วันที่ผ่านมา

      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.😄

    • @abdullaheid7120
      @abdullaheid7120 25 วันที่ผ่านมา +1

      @@ElectronicsSimplified7 Ok, I will be patient😂. Thank you for your concern.

  • @shreyassy6709
    @shreyassy6709 2 หลายเดือนก่อน +1

    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?

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 หลายเดือนก่อน

      th-cam.com/video/B10HWeXouIg/w-d-xo.html

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 หลายเดือนก่อน

      Please refer to this video for a deeper understanding. Make sure you follow the steps alongside the video

  • @vistech1846
    @vistech1846 หลายเดือนก่อน

    It's working, thank you😊😊

  • @bhargvvlogs3698
    @bhargvvlogs3698 17 วันที่ผ่านมา

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

  • @ayariimen-pw7qo
    @ayariimen-pw7qo หลายเดือนก่อน +1

    thanks
    it's really helpful

  • @elputincamo6757
    @elputincamo6757 หลายเดือนก่อน

    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?

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  หลายเดือนก่อน

      It all depends on how your connectivity is ... If you set it to 1000 also. It works fine for me.

    • @elputincamo6757
      @elputincamo6757 หลายเดือนก่อน +1

      @@ElectronicsSimplified7 So it all depends of the WiFi connection between the esp32 and the firebase, right?

    • @elputincamo6757
      @elputincamo6757 27 วันที่ผ่านมา

      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?

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  27 วันที่ผ่านมา

      If you could provide me more details or code... I could help you more... email the code to electronicsengineering3@gmail.com

    • @elputincamo6757
      @elputincamo6757 27 วันที่ผ่านมา

      @@ElectronicsSimplified7 I did it a few days ago, but I will send you another mail. Thanks!

  • @israkf1001
    @israkf1001 2 หลายเดือนก่อน

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

  • @mychannelmarco
    @mychannelmarco หลายเดือนก่อน

    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()

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  หลายเดือนก่อน

      Please send me the code to electronicsengineering3@gmail.com

    • @namnguyenphuong5854
      @namnguyenphuong5854 21 วันที่ผ่านมา

      me too :(( , so can you help me???

    • @namnguyenphuong5854
      @namnguyenphuong5854 21 วันที่ผ่านมา

      @@ElectronicsSimplified7 help me :((

  • @sirthug1702
    @sirthug1702 หลายเดือนก่อน +1

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

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  หลายเดือนก่อน

      Generate your own token buddy. Check your code. I recommend you to watch the whole video.

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  หลายเดือนก่อน

      Do not just copy paste it. Since there are a lot of elements that need to be taken care of.

    • @sirthug1702
      @sirthug1702 หลายเดือนก่อน +1

      How do i generate token​@@ElectronicsSimplified7

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  หลายเดือนก่อน

      If you create a firebase account. The tokens are generated in the firebase config.

    • @rolanpereira7643
      @rolanpereira7643 หลายเดือนก่อน

      3:52

  • @mithunbabbira
    @mithunbabbira ปีที่แล้ว +2

    SHARE YOUR UPI

  • @user-br3eo4mh3s
    @user-br3eo4mh3s 11 หลายเดือนก่อน

    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

    • @yeppcoder
      @yeppcoder 7 หลายเดือนก่อน

      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.

    • @tahajellali1396
      @tahajellali1396 3 หลายเดือนก่อน

      hey , i got the same problem did u find any solutions ?