搜索插件、代码仓与 APP 分类

GitHub 代码仓JobinBiju/Home-Fi

家庭网络

使用 Flutter、Adafruit IO 和 Esp32 开发板的智能家居应用程序。

家庭网络 项目封面
星标
173
复刻
66
最近推送(UTC)
2024年11月5日
项目状态
未归档

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

Home-Fi: Smart Home Automation System

Home-Fi Logo

Flutter ESP32 Adafruit IO

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
  1. Clone the repository

    git clone https://github.com/yourusername/home-fi.git
    cd home-fi
    
  2. Set up Flutter app

    flutter pub get
    
  3. Configure Adafruit IO

    • Create an Adafruit IO account
    • Set up required feeds (switches, RGB values, sensor data)
    • Copy your AIO Key
  4. ESP32 Setup

    • Install required libraries in Arduino IDE
    • Update credentials in ESP32 code
    #define IO_USERNAME  "your_username"
    #define IO_KEY       "your_aio_key"
    
  5. Run the app

    flutter run
    

📱 User Interface

Splash Screen Dashboard RGB Control
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.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. 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

Buy Me A Coffee
Jobin Biju GitHub avatar
GitHub 作者

Jobin Biju ↗

Hooman | Developer | Maker | Mentor. Love to build products. Product Engineer @hoomansco

@hoomanscoKerala, India官方网站 ↗
语言DartC++SwiftKotlinObjective-C

分类

使用的依赖

依赖清单 13 项

所在榜单

如何选择适合项目的代码仓?

先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。

  1. 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
  2. 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
  3. 使用前在 GitHub 核对 README、许可证与 Issues。

来源与维护

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗