Device Automation System for Homes (DASH) code using Micropython libraries.
Steps for setting up Micropython in your ESP32 device:
- Connect your esp32 with your computer using a USB cable
- Install Thonny Python IDE (https://thonny.org/)
- Go to Tools > Options > Interpreter
- In the top drop-down menu, select MicroPython (esp32), and in the port select the esp32-connected port
- Click Install or Update MicroPython (esptool) option at the bottom right
- Follow the instructions and click finish
- The esp should have micropython installed
Next, upload the ufirebase.py file to the esp32 Steps (Make sure esp32 is connected to your computer during this process):
- Download or copy the ufirebase.py file in Thonny IDE
- Select File > Save (or Save As)
- Select the esp32 option