Це відео не доступне.
Перепрошуємо.

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

КОМЕНТАРІ • 41

  • @bubbaganoosh1387
    @bubbaganoosh1387 Місяць тому

    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?

  • @shreyassy6709
    @shreyassy6709 5 місяців тому +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  5 місяців тому

      ua-cam.com/video/B10HWeXouIg/v-deo.html

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  5 місяців тому

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

  • @abdullaheid7120
    @abdullaheid7120 3 місяці тому +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  3 місяці тому

      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 3 місяці тому +1

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

  • @bhargvvlogs3698
    @bhargvvlogs3698 3 місяці тому

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

  • @ayariimen-pw7qo
    @ayariimen-pw7qo 3 місяці тому +1

    thanks
    it's really helpful

  • @mychannelmarco
    @mychannelmarco 3 місяці тому

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

  • @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 Рік тому

    Very helpful, thank you

  • @vistech1846
    @vistech1846 3 місяці тому

    It's working, thank you😊😊

  • @elputincamo6757
    @elputincamo6757 3 місяці тому

    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  3 місяці тому

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

    • @elputincamo6757
      @elputincamo6757 3 місяці тому +1

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

    • @elputincamo6757
      @elputincamo6757 3 місяці тому

      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  3 місяці тому

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

    • @elputincamo6757
      @elputincamo6757 3 місяці тому

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

  • @israkf1001
    @israkf1001 4 місяці тому

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

  • @sirthug1702
    @sirthug1702 4 місяці тому +1

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

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  4 місяці тому

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

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  4 місяці тому

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

    • @sirthug1702
      @sirthug1702 4 місяці тому +1

      How do i generate token​@@ElectronicsSimplified7

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  4 місяці тому

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

    • @rolanpereira7643
      @rolanpereira7643 4 місяці тому

      3:52

  • @mithunbabbira
    @mithunbabbira Рік тому +2

    SHARE YOUR UPI

  • @user-br3eo4mh3s
    @user-br3eo4mh3s Рік тому

    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 9 місяців тому

      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 6 місяців тому

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