IoT-Based-LED-control-using-Google-Firebase-and-ESP32-with-Micropython

Step1:

Step2:

Step3:

  • Copy the github files to ESP32 using Thonny IDE

Step4:

  • Open main.py and do the following changes

    1. change the ssid and pwd
    2. change the firebase link of real-time-database of your device
    ex:https://home-practice-rtdb.firebaseio.com/LED1
    

Methods Information:

To read data from firebase cloud use the following method:

  • firebase.get('paste your realtime database device link')

To update data in the firebase cloud use the following method:

  • firebase.put('paste your realtime database device link','Status -ON/OFF')