We wanted a smart home setup that’s cheap, takes no coding to set up, and lets you add pieces as you need them. So we built a kit of small sensor and actuator nodes that all report to a single gateway.
Architecture
Gateway: Seeed XIAO ESP32-S3 on a custom PCB with a Hi-Link 5V supply. We took the pins from a 3-pin plug top, so the gateway plugs straight into a wall socket. It sits in a 3D-printed PLA enclosure.
Nodes: each node is a Seeed XIAO ESP32-C3 on a custom PCB (designed in EasyEDA, fabbed by PCBWay). They talk to the gateway over BLE.
Gateway → cloud: Wi-Fi + MQTT. Data lands in Firebase.
The nodes
Environment: BME680 over I2C (temp, humidity, pressure). It wakes every 10 minutes, sends a reading, then goes back to deep sleep.
Motion: a mini PIR sensor on an interrupt. It stays in deep sleep until motion wakes it.
Door: a reed switch (normally open, pull-down) with neodymium magnets. It also deep-sleeps and wakes when the door opens.
Smart plug: Hi-Link supply + relay + AC socket.…