家庭網路
使用 Flutter、Adafruit IO 與 Esp32 開發板的智慧家居應用程式。
- 星標
- 173
- 分支
- 66
- 最近推送(UTC)
- 2024年11月5日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
Home-Fi: Smart Home Automation System
A modern home automation solution combining Flutter's beautiful UI with ESP32's powerful capabilities and Adafruit IO's reliable cloud infrastructure.
✨ Features
- 🏠 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
🎯 System Architecture
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
🚀 Getting Started
Prerequisites
- Flutter SDK (2.0 or higher)
- Arduino IDE
- ESP32 Development Board
- Adafruit IO Account
- Basic electronic components (relays, RGB LED, sensors)
Installation
-
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
📱 User Interface
![]() |
![]() |
![]() |
| Splash Screen | Dashboard | RGB Control |
🛠️ Hardware Setup
Components Required
- ESP32 Development Board
- Relay Module (for appliance control)
- RGB LED Strip
- DHT11/DHT22 Sensor (optional)
- Power Supply
- Connecting Wires
📡 Communication Protocol
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
🤝 Contributing
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
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Flutter team for the amazing framework
- Adafruit for their reliable IoT platform
- ESP32 community for their extensive documentation
☕ Support
語言DartC++SwiftKotlinObjective-C
分類
使用的依賴
依賴清單 13 項
- flutter
{"sdk":"flutter"} - cupertino_icons
^1.0.3 - flutter_circle_color_picker
^0.3.0 - flutter_dotenv
^5.0.0 - flutter_svg
^0.22.0 - font_awesome_flutter
^9.1.0 - get
^4.1.4 - get_storage
^2.0.2 - google_fonts
^2.1.0 - http
^0.13.3 - lottie
^1.0.1 - mqtt_client
^9.3.1 - flutter_test開發依賴
{"sdk":"flutter"}
所在榜單
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗


