Skip to content

meilily/Smart-Home-Demo-Project

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ  Maker Faire Smart Home Demo Project

๐ŸŽช A complete smart home demo system built for Maker Faire!

A full-featured smart home solution built with Seeed Studio XIAO ESP32 series development boards + ESPHome + Home Assistant.


โœจ Project Highlights

  • ๐ŸŽฏ Plug and Play - All configurations ready to use, easy to flash
  • ๐ŸŒˆ Feature Rich - Covers smart lighting, environmental monitoring, health monitoring, and more
  • ๐Ÿ“Š Visual Dashboard - Beautiful e-paper data center + Home Assistant control panel
  • ๐ŸŒ Bilingual Support - Chinese and English Dashboard configurations included
  • ๐Ÿ”ง Highly Customizable - Modular design for easy secondary development

๐ŸŽ Device List

Device Chip Function File
๐Ÿ“ท XIAO ESP32-S3 Sense Camera ESP32-S3 Bedroom real-time monitoring xiao-esp32s3-camera.yaml
๐Ÿ›๏ธ MR60BHA2 mmWave Radar Kit ESP32-C6 Human presence detection, heart rate & breathing monitoring mr60bha2.yaml
๐Ÿ”˜ Seeed IoT Button ESP32-C6 Three-function wireless button (single/double/long press) seeed-iot-button.yaml
๐Ÿ’จ XIAO Gas Sensor ESP32-C3 VOC, CO, NOโ‚‚, Ethanol detection xiao-esp32-c3-gas-sensor.yaml
๐ŸŒˆ XIAO LED Strip Controller ESP32-C3 WS2812 addressable LED strip (48 LEDs) xiao-esp32-c3-led-strip.yaml
๐ŸŽต XIAO MP3 Player ESP32-C3 WT2605C module, supports SD card playback xiao-esp32-c3-mp3.yaml
๐ŸŒ€ XIAO Smart Fan ESP32-C6 PWM speed-controlled motor xiao-esp32-c6-fan.yaml
๐Ÿ’ก XIAO LED Lighted Button ESP32-C6 3-channel illuminated button control xiao-esp32-c6-led-button.yaml
๐ŸŒฑ XIAO Soil Moisture Sensor ESP32-C6 Plant watering reminder with calibration xiao-soil-moisture.yaml
๐Ÿ“บ reTerminal E1002 ESP32-S3 7.3-inch color e-paper dashboard reterminal-e1002.yaml

๐Ÿš€ Quick Start

๐Ÿ“‹ Prerequisites

  • โœ… ESPHome installed (Home Assistant add-on version recommended)
  • โœ… Home Assistant running
  • โœ… WiFi network environment
  • โœ… Hardware devices listed above

๐Ÿ”ง Installation Steps

1๏ธโƒฃ Clone the Project

git clone https://github.com/your-repo/maker_faire_demo.git
cd maker_faire_demo

2๏ธโƒฃ Create WiFi Configuration File

Create a secrets.yaml file in the project directory:

# secrets.yaml
wifi_ssid: "Your_WiFi_Name"
wifi_password: "Your_WiFi_Password"

3๏ธโƒฃ Compile and Flash

Using ESPHome command line tool:

# Compile firmware
esphome compile xiao-esp32-c3-led-strip.yaml

# Flash to device (USB connection required for first time)
esphome upload xiao-esp32-c3-led-strip.yaml

# Or all-in-one: run = compile + upload + logs
esphome run xiao-esp32-c3-led-strip.yaml

4๏ธโƒฃ Add to Home Assistant

After the device comes online, Home Assistant will automatically discover new devices. Navigate to:

Settings โ†’ Devices & Services โ†’ Integrations โ†’ Click Configure for ESPHome device


๐Ÿ“ฑ Detailed Device Descriptions

๐Ÿ“ท XIAO ESP32-S3 Sense Camera

Ultra-compact WiFi camera solution!

# Key Features
- PSRAM support (OCTAL mode, 80MHz)
- Automatic image flip
- Real-time video streaming to Home Assistant

๐Ÿ”Œ Wiring: No additional wiring needed, uses onboard OV2640 camera


๐Ÿ›๏ธ MR60BHA2 mmWave Radar

60GHz mmWave radar, contactless health monitoring technology!

# Detection Capabilities
- ๐Ÿ‘ค Human presence detection
- ๐Ÿ“ Target distance measurement
- โค๏ธ Real-time heart rate monitoring
- ๐ŸŒฌ๏ธ Real-time respiratory rate monitoring
- ๐Ÿ’ก Ambient illuminance (BH1750)
- ๐ŸŒˆ RGB indicator light

๐Ÿ”Œ Wiring:

MR60BHA2 ESP32-C6
RX GPIO17
TX GPIO16
SDA GPIO22
SCL GPIO23

๐Ÿ”˜ Seeed IoT Button

One button, three ways to play! Super cool RGB light feedback!

# Operation Methods
- Single click: Trigger switch 1 + Blink effect
- Double click: Trigger switch 2 + Flicker effect
- Long press (1-2 sec): Trigger switch 3 + Rainbow effect

๐Ÿ’ก RGB Light Effects:

  • Blink
  • Rainbow
  • Subtle Flicker
  • Random Color

๐Ÿ’จ XIAO Gas Sensor

Guard your air quality! Supports multiple gas detection.

# Detection Metrics
- ๐Ÿงช VOC (Volatile Organic Compounds)
- ๐Ÿ’€ CO (Carbon Monoxide)
- โš ๏ธ NOโ‚‚ (Nitrogen Dioxide)
- ๐Ÿบ Ethanol

๐Ÿ”Œ Wiring:

Grove Gas Sensor ESP32-C3
SDA GPIO6
SCL GPIO7

๐ŸŒˆ XIAO LED Strip Controller

48 WS2812 LEDs to create dreamy ambient lighting!

# Built-in Light Effects (One-click Switch)
๐Ÿ”ด Pulse
๐Ÿ”ต Strobe
๐ŸŸฃ Strobe Red and Blue (Police lights)
๐ŸŸข Random
๐ŸŸก Slow Random Transition
๐ŸŸ  Flicker (Candle effect)
๐ŸŒˆ Rainbow / Fast Rainbow
๐ŸŽจ Color Wipe
โœจ Twinkle / Random Twinkle
๐ŸŽ† Fireworks
๐Ÿ”„ Automation RGB Cycle

๐Ÿ”Œ Wiring: LED data line connects to GPIO2


๐ŸŽต XIAO MP3 Player

Smart music player based on WT2605C module!

# Features
โ–ถ๏ธ Play/Pause/Stop
โฎ๏ธโญ๏ธ Previous/Next track
๐Ÿ”Š Volume control (0-31 levels)
๐Ÿ” Play modes: Sequential/Single loop/Folder loop/Random/Single shot

# Home Assistant Services
- play_track: Play specific track
- play_file: Play by filename
- set_volume: Set volume
- send_command: Send custom AT command

๐Ÿ”Œ Wiring:

WT2605C ESP32-C3
RX GPIO21
TX GPIO20

๐Ÿ“ SD Card Format: Name songs as 0001.mp3, 0002.mp3...


๐ŸŒ€ XIAO Smart Fan

PWM speed-controlled motor, forward and reverse rotation with ease!

# Control Functions
๐Ÿ”„ Forward (Open)
๐Ÿ”ƒ Reverse (Close)
โน๏ธ Stop
๐Ÿ“Š Speed slider control (0-100%)

๐Ÿ”Œ Wiring:

Motor Driver ESP32-C6
IA (Forward) GPIO1
IB (Reverse) GPIO0

๐Ÿ’ก XIAO LED Lighted Button

3-channel illuminated buttons, press to light up with clear feedback!

# Features
- Auto-on LEDs at boot
- 2x blink feedback when pressed
- Independent control for each button
- Bindable to Home Assistant automations

๐Ÿ”Œ Wiring:

Button LED(SIG1) BTN(SIG2)
Button 1 GPIO0 GPIO1
Button 2 GPIO19 GPIO20
Button 3 GPIO2 GPIO21

๐ŸŒฑ XIAO Soil Moisture Sensor

Smart plant nanny, never forget to water again!

# Features
- ๐Ÿ”ด Red light: Soil dry, needs watering
- ๐ŸŸก Yellow light: Soil slightly dry, can water
- ๐ŸŸข Green light: Moisture normal

# Operation
- Single button press: Check once and flash LED indicator
- 3 consecutive button presses: Enter calibration mode

๐Ÿ“Š Calibration Process:

  1. Red LED flashes for 10 sec โ†’ Place sensor in dry soil
  2. Green LED flashes for 10 sec โ†’ Place sensor in moist soil
  3. Fast green flash = Calibration success โœ… / Fast red flash = Calibration failed โŒ

๐Ÿ“บ reTerminal E1002 E-Paper Display

7.3-inch color e-paper display, create your smart home data center!

# Display Pages
๐Ÿ“„ Page 1: Sensor Data Overview
  - Bedroom status (illuminance, distance, heart rate, respiratory)
  - Balcony plants (soil moisture, battery level)
  - Whole house power (voltage, power, current, total energy)

๐Ÿ“„ Page 2: Switch Control
  - MP3 playback control (play/pause, previous, next)
  - LED strip control
  - Fan control
  - Living room air quality (CO, NOโ‚‚, Ethanol, VOC)

๐Ÿ“„ Page 3: Sensor Data (Yellow Theme)
  - Bedroom status card
  - Balcony plants card
  - Whole house power large card
  - Device power consumption card

๐ŸŽ›๏ธ Button Operations:

Button Function
Green key Refresh screen (double beep feedback)
Right white key Next page
Left white key Previous page

๐ŸŽจ Home Assistant Dashboard

The project includes two carefully designed Dashboard configurations:

File Language Description
chinese-dashboard.yaml ๐Ÿ‡จ๐Ÿ‡ณ Chinese Complete Chinese interface
english-dashboard.yaml ๐Ÿ‡บ๐Ÿ‡ธ English Complete English interface

๐Ÿ“ฅ Import Method

  1. Open Home Assistant
  2. Go to Settings โ†’ Dashboards
  3. Click Add Dashboard
  4. Select Create from YAML
  5. Copy and paste the corresponding file content

๐Ÿ”— Purchase Links

Product Link
XIAO ESP32-C3 Seeed Studio
XIAO ESP32-C6 Seeed Studio
XIAO ESP32-S3 Sense Seeed Studio
MR60BHA2 Kit Seeed Studio
reTerminal E1002 Seeed Studio
Grove Gas Sensor V2 Seeed Studio
Home Assistant Green Seeed Studio
2-Channel Wi-Fi AC Energy Meter Seeed Studio
IoT Button Coming Soon
XIAO Soil Moisture Sensor Seeed Studio
XIAO 2-Channel WiFi AC Relay Seeed Studio
Grove RED LED Button Seeed Studio
Grove Yellow LED Button Seeed Studio
LED Driver Board Seeed Studio
Grove - MP3 Module V4.0 Seeed Studio
Grove Base for XIAO Seeed Studio

๐Ÿ“š Reference Resources


๐Ÿค Contributing

Issues and Pull Requests are welcome!

If this project helps you, please give it a โญ Star!


๐Ÿ“„ License

MIT License - Use freely, just give credit ๐Ÿ˜Š


๐ŸŽช Made with โค๏ธ for Maker Faire
Making smart home accessible to everyone!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published