This project utilizes an ESP32 microcontroller connected to a home WiFi network to send environmental data (indoor and outdoor temperature, humidity, rain detection, and window status) to a custom website. The website stores the data in a MySQL database, providing daily, weekly, and monthly statistical comparisons of indoor and outdoor data. The ESP32 employs a deep sleep mode for optimized power consumption, sending data every 10 minutes.
The project website is published and accessible at the following URL:
π https://gardenmonitor.eu
-
ESP32 Functionalities:
- π Periodic data collection every 10 minutes.
- π Low-power deep sleep functionality.
- π‘οΈ Sensors for temperature, humidity, rain, and window status.
-
Website Functionalities:
- π Securely receives data from the ESP32.
- πΎ Saves data in a MySQL database.
- π Displays:
- Daily, weekly, and monthly statistics.
- Comparisons between indoor and outdoor conditions.
- π₯οΈ User-friendly, responsive web interface.
- Arduino IDE
- Deep sleep optimization
- WiFi connectivity
- Frontend:
- HTML, CSS, JavaScript
- Backend:
- PHP
- MySQL Database
- ** Data Collection:**
- ESP32 collects temperature, humidity, rain status, and window status.
- ** Data Transmission:**
- The data is sent to a website endpoint every 10 minutes.
- ** Deep Sleep Mode:**
- ESP32 enters deep sleep to save power.
- ** Data Storage:**
- The website receives and stores data in a MySQL database.
- ** Data Analysis & Display:**
- The website calculates and displays statistics in daily, weekly, and monthly formats.
