A modern home automation solution combining Flutter's beautiful UI with ESP32's powerful capabilities and Adafruit IO's reliable cloud infrastructure.
- 🏠 Control multiple home appliances remotely
- 💡 RGB light control with color picker
- 📊 Real-time device status monitoring
- 🌡️ Temperature and humidity sensing
- 🔐 Secure communication with Adafruit IO
- 📱 Beautiful, responsive Flutter UI
- ⚡ Low-latency ESP32 control
Mobile App (Flutter) <-> Adafruit IO Cloud <-> ESP32 Device <-> Home Appliances
- Flutter App: Handles user interface and cloud communication
- Adafruit IO: Manages device state and real-time data
- ESP32: Controls physical devices and sensors
- Flutter SDK (2.0 or higher)
- Arduino IDE
- ESP32 Development Board
- Adafruit IO Account
- Basic electronic components (relays, RGB LED, sensors)
-
Clone the repository
git clone https://github.com/yourusername/home-fi.git cd home-fi
-
Set up Flutter app
flutter pub get
-
Configure Adafruit IO
- Create an Adafruit IO account
- Set up required feeds (switches, RGB values, sensor data)
- Copy your AIO Key
-
ESP32 Setup
- Install required libraries in Arduino IDE
- Update credentials in ESP32 code
#define IO_USERNAME "your_username" #define IO_KEY "your_aio_key"
-
Run the app
flutter run
- ESP32 Development Board
- Relay Module (for appliance control)
- RGB LED Strip
- DHT11/DHT22 Sensor (optional)
- Power Supply
- Connecting Wires
The system uses MQTT protocol for communication:
- Topics: Organized by device type (switches/rgb/sensors)
- Message Format: JSON payloads for complex data
- Update Frequency: Real-time for switches, 1s for sensor data
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Flutter team for the amazing framework
- Adafruit for their reliable IoT platform
- ESP32 community for their extensive documentation